Advertisement:

Author Topic: Editing the default help txt  (Read 1598 times)

Offline cardiox

  • Newbie
  • *
  • Posts: 4
Editing the default help txt
« on: December 13, 2008, 04:00:16 PM »
Hi,  Sorry if this topic is already posted but a search on this forum has bout done me in...LOL!!!

I have 2 questions with a heads up I am using 2beta4:

 1: I found a post on how to edit the registration.txt but I can't seem to find any info on how to
     edit the help files :
   Introduction • Registering • Logging In • Profile • Posting • Personal Message • Searching
 
 2: The red color is no doubt a default setting because no matter what template I use it shows red. What file
      script do I change do make it look sumptin like this:
  Introduction • Registering • Logging In • Profile • Posting • Personal Message • Searching

   Thanks for your time and any input would be...SWEET!!!

 

Offline cardiox

  • Newbie
  • *
  • Posts: 4
Re: Editing the default help txt
« Reply #1 on: December 13, 2008, 05:40:43 PM »
would it be easier to just delete the help link all together? if there is a post about this could someone point me that way...I am totally lost on finding this info.  thanks

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,868
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Editing the default help txt
« Reply #2 on: December 13, 2008, 05:50:24 PM »
All the text for the help pages can be found in Themes/default/languages/Manual.english.php.

The link color is a bit more difficult. For whatever reason, it uses the same CSS class as post errors, so if you change that color, you'll end up making post error text blue as well. If this is fine, go to Themes/yourtheme/style.css and look for ".error". Change the color to whatever you want.

Otherwise you can create a new CSS class for it:

Add this code to the end of Themes/default/css/help.css:
Code: [Select]
.activehelp
{
    color:blue;
}

Then go to Themes/default/Help.template.php

Find
Code: [Select]
$menu_items[] = '<span class="error" style="font-weight: bold;">' . $txt['manual_index_' . $page_txt] . '</span>';
Replace
Code: [Select]
$menu_items[] = '<span class="activehelp" style="font-weight: bold;">' . $txt['manual_index_' . $page_txt] . '</span>';
I'm going to file a bug report about that as it makes no sense to use the error class there...
Michael Eshom
Cincy Space - now open!

Offline cardiox

  • Newbie
  • *
  • Posts: 4
Re: Editing the default help txt
« Reply #3 on: December 13, 2008, 05:55:52 PM »
Oh YA!!! we got em did now...LOL!!!  thanks so much for your time