Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2008, 04:04 PM
New Pligger
Pligg Version: 9.8
Pligg Template: default
 
Join Date: Nov 2007
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Question Editing Pligg Header Navigation

Hello,
I'm attempting to rename (and hopefully add to) the tabs in the header: Published News, Upcoming News, Submit a new story in yget. I've checked out header.tpl and found the following:
Code:
{if $pagename eq "upcoming"}
		    <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
		    <li><a href="{$URL_upcoming}" class="navbut4"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
		    <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
		{elseif $pagename eq "published"}
		    <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut4"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
		    <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
		    <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
		{elseif $pagename eq "submit"}
		    <li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
		    <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
		    <li><a href="{$URL_submit}" class="navbut4"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>
		{else}
	    	<li><a href="{$my_base_url}{$my_pligg_base}" class="navbut3"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
		    <li><a href="{$URL_upcoming}" class="navbut3"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>
		    <li><a href="{$URL_submit}" class="navbut3"><span>{#PLIGG_Visual_Submit_A_New_Story#}</span></a></li>   
		{/if}
But I can't find out where the PLIGG_Visual_X includes are! I've searched through at least a dozen different files, so any help would be greatly appreciated!
Reply With Quote
  #2 (permalink)  
Old 01-07-2008, 05:02 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,367
Thanks: 169
Thanked 437 Times in 276 Posts
admin> modify langugage
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #3 (permalink)  
Old 01-08-2008, 11:56 AM
New Pligger
Pligg Version: 9.8
Pligg Template: default
 
Join Date: Nov 2007
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Question

Quote:
Originally Posted by chuckroast View Post
admin> modify langugage
I really dropped the ball on that one, thanks Chuck Roast! I was SURE it MUST be in the template files, obviously forgetting about localization.

I had another question (not sure if I should start a new thread or not) but I'm trying to change the tabs at the top of the page to read: Open, Resolved, Closed, Submit New Story. Submit New Story is default so no worries there, but I'm trying to tie the other three tabs to custom categories that I've created. I can change the name of the tabs and add more tabs, but I can't seem to access the URL information for the categories. In other words, is there a way to do this using Smarty without resorting to hardcoding it like
Code:
<a href="www.mysite.com/index.php?category=Open">Open</a>
I was hoping to just use a {$variable} in the link, but that doesn't seem to work.

Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with SMF Forum autoinc Modification Tutorials 64 05-19-2008 02:22 AM
I like to change the header text , how can I change header in pligg templates ryukenden General Help 0 03-15-2008 12:59 PM


Search Engine Friendly URLs by vBSEO 3.2.0