10375 Posts in 2190 Topics by 1707 members
| Go to End | Next > | |
| Author | Topic: | 6158 Views |
-
Re: New Module: Custom Menus

9 June 2010 at 4:46am
Just thought I would put out a request to anyone using this module. I have been having some trouble with it in SS 2.4. It generally works fine, but on some installs the tabs dont load properly (I have attached a screen shot).
I am pretty much banging my head against a wall trying to work it out, any ideas anyone?
I am guessing it is a JS error, as all the functionality works. I would really like to get this fixed, and if anyone has any thoughts, or has encountered this, your input would be handy.
Cheers,
Mo
-
Re: New Module: Custom Menus

15 November 2010 at 1:38pm
MO: I was able to resolve the "admin page render" issue by adding a line of code to the custommenus config file:
i18n::include_locale_file('custommenus', 'en_US');
Sad, I'm able to resolve the back end but I can get the menu to actually display in my template. Can someone give me a working example of what really goes in the template?
I've tried:
<% control CustomMenu(mymenu) %><a href="$Link">something</a><% end_control %>
<% control CustomMenu('mymenu') %><a href="$Link">something</a><% end_control %>The first gives me a menu without links. And, it only does one link where I have 5 pages set. The second one just gives me an error. I'm using SS 2.4.2 along with CustomMenus from the trunk
Thanks,
Jason -
Re: New Module: Custom Menus

2 December 2010 at 3:26pm Last edited: 2 December 2010 3:27pm
Hey, I'm having a problem with the Custom Menus module on my install of ss 2.4.3 - basically instead of a new menu I get a forum page instead. Is this just me or is anyone else having this problem?
Thanks!
Josh -
Re: New Module: Custom Menus

4 December 2010 at 1:25pm
Hi,
Apparently I wasn't subscribed to this thread, which is a tad annoying when I thought I was!
webmanj: is the menu slug you set called 'mymenu'? What is returned by CustomMenu is a simple DataObjectSet of pages, so you shouldn't have any problems.
Could you possible upload a screenshot of your current 'mymenu' setup in Silverstripe?
Joshuarr: Not sure if this is a 2.4.3 bug. I have seen it before, but thought it was fixed. Are you using checked out trunk from SVN? Also, any other modules installed?
Cheers,
Mo
-
Re: New Module: Custom Menus

4 December 2010 at 2:45pm
Hmm, tested this in 2.4.3 and seems to be ok for me. Could possible be a conflict with another module?
Mo
-
Re: New Module: Custom Menus

19 January 2011 at 10:19pm
Just wanted to say thanks for this module, does exactly what it says on the tin and works well.
Mick
-
Re: New Module: Custom Menus

20 January 2011 at 10:54am
Hi Mick, thanks for the feedback. Glad it is working ok for you.
Mo
-
Re: New Module: Custom Menus

31 May 2011 at 4:08am
Could someone give an example of how to set this up in a template.
I get that you need to put
<% control CustomMenu('my-menu-slug') %>what goes here?<% end_control %>
But I am not sure what to put inside the CustomMenu Control. Can someone give me some samples?
| 6158 Views | ||
| Go to Top | Next > |





