how could i change the three titles in the main links

i have been testing drupaligg for a couple of days, one thing that confused me is that i simply could not change the titles in the main links

" Administer> site building > menu where i can change the text shows in the second box "MAIN LINK"

But the changed text doesnt show in the header region of the site. my question is where is the right place to change " popular news" "upcoming news" "submit news" . i tried to change them in page.tpl.php but the they didnt showed properly, by the way i am from china, and i am newbie to drupal, of course by no means a programmer

thanks for your awesome "drupal+digg" work, your reply will definitely be appreciated

best regards

dorian

 

 

Hello,

Hello,

I think you wnat to know from where we can change the titles on the menu header: "popular news", "upcoming news" and "submit news".

This can be doen from page.tpl.php available in sites/all/themes/spreadfirefox

at around line 67, you would find:

<?php if (arg(0) == "popular-news"){ ?>
<li class="navbut4"><span><?php print l("Popular News", 'popular-news'); ?> </span></li>
<li class="navbut3"> <span> <?php print l("Upcoming News", 'upcoming'); ?> </span> </li>
<li class="navbut3"> <span><?php print l("Submit News", 'node/add/storylink'); ?> </span></li>

Change "Popular News" to say "Popular Story". Thus, it now becomes:

<?php if (arg(0) == "popular-news"){ ?>
<li class="navbut4"><span><?php print l("Popular Stories", 'popular-news'); ?> </span></li>
<li class="navbut3"> <span> <?php print l("Upcoming Stories", 'upcoming'); ?> </span> </li>
<li class="navbut3"> <span><?php print l("Submit Stories", 'node/add/storylink'); ?> </span></li>

This is to be done for all occurance till line 88.

Let me know in case you still find it difficult or send me what you want it to be and i'll correct and mail back free of cost :)

In the future releases, I would try to make it from configurable from the interface.

 

Thank you,

Sudeep

 

 

thank you a lot!

Hi SudeepThanks for your reply, i had figured it out by myself, including the reason why the changed titles on the menu header didnt show properly.i had to convert "page.tpl.php" from "ANSI" to "uft-8" first with notepad however, i confronted the following errors, when i login again the warnings say i can not modify the header information, what is the prolem? besides, these changes make logout difficult, which seems to me i can not logout automatically, in most cases after i click the logout, the page got blank, nothing shows in the browser.In addition, how could i add one more title on the header menu, say, Offbeat News?thank you very much !dorian  

  • warning: Cannot modify header information - headers already sent by (output started at E:\www\drupaligg\sites\all\themes\spreadfirefox\template.php:1) in E:\www\drupaligg\includes\session.inc on line 100.
  • warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in E:\www\drupaligg\includes\session.inc on line 103.
  • warning: Cannot modify header information - headers already sent by (output started at E:\www\drupaligg\sites\all\themes\spreadfirefox\template.php:1) in E:\www\drupaligg\includes\common.inc on line 311.