Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Sun Oct 25, 2009 8:09 am Reply with quote

On my support site I have FAQS bolded in the Main Menu (Modules) such as:

Code:
<b>FAQS</b>


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
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sun Oct 25, 2009 9:44 am Reply with quote

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
 
View user's profile Send private message Send e-mail
dad7732







PostPosted: Sun Oct 25, 2009 10:20 am Reply with quote

Go to [ Only registered users can see links on this board! Get registered or login! ] 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
 
Guardian2003







PostPosted: Sun Oct 25, 2009 12:11 pm Reply with quote

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?
 
dad7732







PostPosted: Sun Oct 25, 2009 12:23 pm Reply with quote

Yes, exactly that.
 
Guardian2003







PostPosted: Sun Oct 25, 2009 12:56 pm Reply with quote

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.
 
dad7732







PostPosted: Sun Oct 25, 2009 1:42 pm Reply with quote

Thanks, all I have to do now is to find the line to edit since that is all generated code.
 
Guardian2003







PostPosted: Sun Oct 25, 2009 1:47 pm Reply with quote

You mean that block has never been edited?
I can take a look but it won't be until tomorrow now.
 
dad7732







PostPosted: Sun Oct 25, 2009 2:03 pm Reply with quote

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. Smile

Cheers
 
Guardian2003







PostPosted: Sun Oct 25, 2009 2:12 pm Reply with quote

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.
 
dad7732







PostPosted: Sun Oct 25, 2009 2:50 pm Reply with quote

Yes, the module Content was the custom title bolded, not the block.
 
Guardian2003







PostPosted: Sun Oct 25, 2009 3:04 pm Reply with quote

I have created a Mantis issue so I can look at it more in-depth tomorrow.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Mon Oct 26, 2009 9:13 pm Reply with quote

Ah, I see, misuse of custom title... hhhmmmmmm.... Laughing

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©