Author |
Message |
dad7732
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Sun Oct 25, 2009 8:09 am |
|
On my support site I have FAQS bolded in the Main Menu (Modules) such as:
The tags show up in the title bar, the tab and the taskbar button at the bottom. Any way to bold FAQS without using those tags??
BTW: It's RN and not the browser as I tried it in Firefox, Netscape 7, SeaMonkey and IE.
Thanks |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun Oct 25, 2009 9:44 am |
|
Not sure I follow you but you want a way to bold some specific text without using the bold tag in the side menu block?
You can use 'strong' which is the same, force a different font such as arial black, put a div or something around it and use CSS or if you just need a way to bring it to the visitors attention with a degree of smexiness, use text-decoration:blink |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 10:20 am |
|
Go to www.ufaq.org and in the Main Menu click on FAQS and note the tagged text in your upper title bar and on the tab, also the task bar button - depending on what browser/OS you're running. That is what I want to eliminate and still retain a bold FAQS.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 12:11 pm |
|
OK I see what you mean. The reason it is doing that is because there is HTML markup in the page title which the browser uses.
In the Content Plus module index.php page do you have
Code:$pagetitle = '- '.$module_name;
| or something else? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 12:23 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 12:56 pm |
|
Hmm, actually I'm off base with that as $module_name should actually have the value 'Content' not 'FAQ' - the plot thickens......
OK found it, the problem is being driven from the side menu block. In the source you can see this Code:
<li><a>Modules</a><ul><li><a href="modules.php?name=Content"><b>FAQS</b></a></li>
|
Notice the A tags around 'Modules' ?
The only other thing I can think of off hand is to change the LI code to
<li class="bold"> for that link and get rid of the B tags. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 1:42 pm |
|
Thanks, all I have to do now is to find the line to edit since that is all generated code. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 1:47 pm |
|
You mean that block has never been edited?
I can take a look but it won't be until tomorrow now. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 2:03 pm |
|
block-Modules.php and block-Content.php is as-is from the distro bits. I looked in each one but no idea what/where to edit to make the FAQS bold .. At work but when I get home and more relaxed I'll get the brain in motion.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 2:12 pm |
|
It shouldn't be coming up bold at all if the block has not been edited. The only thing that *might* have that affect in the menu block is a custom title entered in the module admin area that had bold tags in it. I'm going to test it now.
Edited by G
Yep, if you give the module a custom title with bold tags it does exhibit this behavior. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 2:50 pm |
|
Yes, the module Content was the custom title bolded, not the block. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 3:04 pm |
|
I have created a Mantis issue so I can look at it more in-depth tomorrow. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Oct 26, 2009 9:13 pm |
|
Ah, I see, misuse of custom title... hhhmmmmmm.... ![Laughing](modules/Forums/images/smiles/icon_lol.gif) |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|