Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Forum Name In Page Title 
 
I remember I already did this, but I can't remember how...
My problem is very simple indeed:
When you read a topic the page title is:   Forum Name :: Topic Title
As well tabs in ff, etc...
I don't remember what I have to modify to show only the topic title.
Thanks in advance.
 




____________
Megabass
 
ganeshSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
Nobody?
 




____________
Megabass
 
ganeshSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
I'm not a 100% on what you are actually trying to do - - But,

As I can see it, you would have to kill the query to the database in every php file that seeks both the title and subtitle of the location the user is at.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 


Wait... I think I should be more clear...

 immagine_1

I want to see only 'Post a reply'...
 




____________
Megabass
 
ganeshSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
Your theme overall_header_*.tpl

Find:

<title>{PAGE_TITLE}</title>

Change to:

<title>{L_PAGE_TITLE}</title>

 A bigger pic would have made it even MORE clearer! j/k
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
Well, I remember it was something so simple... I guess I need some vacations...

Thank you very much, Lopalong.
 




____________
Megabass
 
ganeshSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 


Hang on and I'll pack my bags and come with you - - I probably need a vacation more than you do.  
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
Yes, but it's right what you said....
Thanx
 




____________
Megabass
 
ganeshSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
wait... don't take vacation yet.  Since this topic brought up, i modified this on my forum couple months ago this way.  Every page comes out right except home/index page.
<title>{SITENAME}::{L_PAGE_TITLE}</title>

somehow home/index page comes out [sitename :: sitename].  Can you tell me how to fix that on index page?

Thank you so much
xmenfile
 



 
xmenfileSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
@xmenfile  

Open:

/index.php

Code: [Download] [Hide] [Select]
Find:

$page_title = $board_config['sitename'];

Change to:

$page_title = 'Smilie Index';


Then you'll have "Sitename" :: "Smilie Index"

I think you know what to change to whatever you want your site name to appear in the Tab as.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
Lopalong wrote: [View Post]
@xmenfile  

Open:

/index.php

Code: [Download] [Hide] [Select]
Find:

$page_title = $board_config['sitename'];

Change to:

$page_title = 'Smilie Index';


Then you'll have "Sitename" :: "Smilie Index"

I think you know what to change to whatever you want your site name to appear in the Tab as.


you always help me out Lopalong .  Oh man, no wonder i could not find it.  I was looking in index_body.tpl .  It's good, that's what i want.

Thank you
 



 
xmenfileSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
index_body.tpl, like most, if not all other .tpl files use the {VARS to call the $VARS from either the Db or the .php files. So in future you could make a file association like viewtopic_body.tpl and viewtopic.php if you wanted to change or add something, by looking for that association in the .php file.

Just back up anything you are going to change or play with, before you start.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: Forum Name In Page Title 
 
Very good discussion. Thank you so much.

maison de credit
 



 
jelly24Send private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron