News:

Wondering if this will always be free?  See why free is better.

Main Menu

Page Title

Started by edi67, July 19, 2008, 08:07:39 AM

Previous topic - Next topic

edi67

I made new page in my forum for the Rules:

http://ediboard.altervista.org/index.php?action=regolamento

I trying  but im not able to insert the PAGE TITLE in this page , i see only the link of topic

some solution?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

metallica48423

You have two <head> sections.  you should combine the two
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edi67

Quote from: metallica48423 on July 19, 2008, 09:33:41 AM
You have two <head> sections.  you should combine the two

well done but nothing change :(
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

metallica48423

it works on the forums now.  the title of the main page is coming up blank

Are you setting $context['page_title'] for the main page? 
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edi67

Quote from: metallica48423 on July 19, 2008, 08:20:58 PM
it works on the forums now.  the title of the main page is coming up blank

Are you setting $context['page_title'] for the main page? 

where i must settings this? in index.template.?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Nathaniel

Yes, you need to edit the 'index.template.php' file.

If you are using the default template then it should be on line 79, you want to replace the code below, or code very similar to it.

<title>', $context['page_title'], '</title>

With something like this:
<title>My page:</title>
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

metallica48423

i wouldn't suggest that.

it just seems like that page isn't setting $context['page_title'] -- you could define this in the Source file for that action and it should work
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edi67

Quote from: metallica48423 on July 21, 2008, 02:49:56 AM
i wouldn't suggest that.

it just seems like that page isn't setting $context['page_title'] -- you could define this in the Source file for that action and it should work

i will try thx
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Rumbaar

Get an error when I test that link, so can't confirm.  But have you been able to define that variable in your source page or custom action area to populate it for the index.template.php use?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: