Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Changing Names of Headers on Heading List Menu
Ninerfan
I've been trying for the last hour to change the text that appears in the Heading Menu. For example instead of "Heading 1" I'd like to replace it with custom text string like, "Press Heading Blue". Is this even possible with VFE?
I looked in the developers guide page 44 and 258 but can't get it to work. I tried something like this with no luck.
<selections name="headinglist" enabled="true" sorted="false">
<listchoice command="cmdheadingstd" localeRef="txtHdgNorm">Default</listchoice>
<listchoice command="cmdheading1" localeRef="txtHdg1">Section Header Black</listchoice>
<listchoice command="cmdheading2" localeRef="txtHdg2"/>
<listchoice command="cmdheading3" localeRef="txtHdg3"/>
<listchoice command="cmdheading4" localeRef="txtHdg4"/>
<listchoice command="cmdheading5" localeRef="txtHdg5"/>
<listchoice command="cmdheading6" localeRef="txtHdg6"/>
</selections>
Any advice out there?
Thanks.
Find more posts tagged with
Comments
Ninerfan
I got no responses on this but figured out the correct structure to rename the menu items without changing the functionality. Here is an example of how to do it.
<command name="cmdheaderlevel" style="list">
<caption localeRef="btnCapHdg"/>
<tooltiptext localeRef="cmdHdg"/>
<selections name="headinglist" enabled="true" sorted="false">
<listchoice command="cmdheadingstd" localeRef="Default Style">Default Style</listchoice>
<listchoice command="cmdheading1" localeRef="Page Header Red">Page Header Red</listchoice>
<listchoice command="cmdheading2" localeRef="Page Header Grey">Page Header Grey</listchoice>
<listchoice command="cmdheading3" localeRef="Section Header Blue">Section Header Blue</listchoice>
<listchoice command="cmdheading4" localeRef="Section Header Red">Section Header Red</listchoice>
<listchoice command="cmdheading5" localeRef="Section Header Black">Section Header Black</listchoice>
</selections>
</command>
mogoo
As an alternative, I think you just have to add a caption attribute to your classes in the css sheet vf is calling on. That way, you don't have to deal with the cfg. Example:
.c10 {caption: Page Header Red; font-family: Arial, Helvetica, sans-serif}
maureen