17452 Posts in 4473 Topics by 1971 members
|Go to End|
25 July 2008 at 1:32am Last edited: 25 July 2008 2:47am
is it impossible to make in SilverStripe diffrent Link-Categories? I have my Mainmenu und then the Submenus. That's no problem. But I dont want to write the meta links and other links wich are not for mainmenu or submenus directly in the *.ss file. I would like to adminsitrate this links also in SilverStripe. Is this possible? Or can we only make normaly links (e.g Link -> Sublink -> Subsublink etc.)?
28 July 2008 at 10:29am
nobody knows an anwser?
28 July 2008 at 1:08pm
You might need to explain your answer more clearly?
I read it as you want to have a list of links which you can manage in the CMS and have them show on the site?
What you could do is create a Page called Links then under this page create subpages of Page type 'RedirectorPage' page which point to the pages you want to link to.
Then in the template you can do
<% control ChildrenOf(Links) %>
<% end_control %>
Which will output a list of all the Children Pages of your Links Page so if you want to add another link you would click Links then go Create Page of type RedirectorPage. You can then sort and edit/delete like you would normal pages
28 July 2008 at 11:37pm
The following might help you?
|Go to Top|