- This topic has 12 replies, 2 voices, and was last updated 7 years, 10 months ago by
jacoline.
Tags: Extra menus title
-
31st July 2015 at 5:31 pm #5013
After upgrading for 3.1.1.
At my page I want to have “Add ons” as menu text so instead of edit the module can I do something in mystylesheet?
Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
31st July 2015 at 5:43 pm #5015
At my page I want to have “Add ons” as menu text so instead of edit the module can I do something in mystylesheet?
Which module are we talking about? Changing content with css can be done, but not easy and not always. Give me some more details. I try to ensure such things can be done in the module configuration itself on most modules.
Nigel
My personal kiwitrees site is www.our-families.info -
31st July 2015 at 5:48 pm #5017
Sorry I know I wrote in first place and I was not confused by cach. I just figured out how to fix it – so would not waste your time 🙂
But I use the Extra-menu module at my historic page. And it is not much I have to edit. But I edit like this:
public function getMenuTitle() {
return WT_I18N::translate(‘Add ons’);
}IMO This is important in themes that do not use icons to decide which name the menu should have 🙂
Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
31st July 2015 at 5:57 pm #5019
Im just starting to be lazy since you have added alot of features where I do not have to edit 😛 THANK YOU NIGEL 🙂
Now I can delete my contact module and if I can get this fixed I can use extra menu for my userdefined FAQ instead (then no more userdefined menues at my page=copy of extra menu)
Only copies of the page module and here I have to look out for upgrading of the module. If any suggestions to make it easier – would make me happy 🙂 (se enclosed)
P.S. You should not see the green line in menu anymore!
Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
31st July 2015 at 6:03 pm #5021
But I use the Extra-menu module at my historic page. And it is not much I have to edit. But I edit like this:
public function getMenuTitle() {
return WT_I18N::translate(‘Add ons’);
}You should use Custom Translation to modify textx like this. http://kiwitrees.net/?p=4642
Nigel
My personal kiwitrees site is www.our-families.info -
31st July 2015 at 6:06 pm #5022
Only copies of the page module and here I have to look out for upgrading of the module. If any suggestions to make it easier – would make me happy (see enclosed)
That one I cannot help with. I have the same problem (three copies of simpl_pages). But hopefully the code will not change too often, so you should not need to amend your copies.
Nigel
My personal kiwitrees site is www.our-families.info -
31st July 2015 at 6:36 pm #5024
But I use the Extra-menu module at my historic page. And it is not much I have to edit. But I edit like this:
public function getMenuTitle() {
return WT_I18N::translate(‘Add ons’);
}You should use Custom Translation to modify textx like this. http://kiwitrees.net/?p=4642
If I do that it will change all with “menu”
The right code is like this:
public function getMenuTitle() {
return WT_I18N::translate(‘menu’);
}Could the core not be like this instead:
public function getMenuTitle() {
return WT_I18N::translate(‘Userdefined titel’);
}So we can from kiwitrees change the menu titel?
Otherwise I hope that the module just not change much either 🙂
Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
31st July 2015 at 6:50 pm #5025
Im confused
Are you talking about “Extra menus” or “Simple pages” module?
Extra menus has a configuration option for menu title.
Nigel
My personal kiwitrees site is www.our-families.info -
31st July 2015 at 7:16 pm #5027
Extra menus has a configuration option for menu title.
Yes but not the one in menu bar! It is called “Menu” in kiwitrees theme
I just edited it back for you to see: http://www.host-siden.dk/history
Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
31st July 2015 at 8:21 pm #5028
I thought the code should use the title from the first menu item as the main menu title.
So this is a bug. Can you report it so I don’t forget to fix it next week. No need for a long explanation, just link back to here.
Nigel
My personal kiwitrees site is www.our-families.info
- The topic ‘Extra menus – main menu title’ is closed to new replies.