Posted on: 03/20/13 04:10pm
By: ArchyAA
How to add {page_title} to footer.thtml ?
It's great for SEO, but how..
Re: How to add (page_title) to footer?
Posted on: 03/21/13 07:16am
By: ArchyAA
Dear friends, pls help me with it.
It's really big problem...
Re: How to add (page_title) to footer?
Posted on: 03/21/13 10:23am
By: Dirk
Sorry, that's not supported right now and not so easy to hack on.
Why do you think it would help with SEO? A page title belongs into the page's title (hence the name) and there it's most effective for SEO.
bye, Dirk
Re: How to add (page_title) to footer?
Posted on: 03/21/13 11:29am
By: Laugh
Actually I had a case where I needed the page title in another template which is a similar problem.
For Geeklog 2.0.0 it wouldn't be a real problem if you was using a 2.0.0 theme since the page is generated by one function now (COM_createHTMLDocument).
For Geeklog 1.8.X you could create a really ugly hack. In COM_SiteHeader when the page title is created you can pass it to a global variable.
Then in COM_SiteFooter you can then write your global variable that contains the page title to the template variable.
Re: How to add (page_title) to footer?
Posted on: 03/21/13 03:52pm
By: ArchyAA
Quote by: DirkWhy do you think it would help with SEO? A page title belongs into the page's title (hence the name) and there it's most effective for SEO.
bye, Dirk
It's bcs I'm working with SEO (only) about 7 years
Trust me.
Why so hard? Just need a hack for lib-custom, I think, but I don't know WHERE...
Re: How to add (page_title) to footer?
Posted on: 03/21/13 03:53pm
By: ArchyAA
Quote by: LaughActually I had a case where I needed the page title in another template which is a similar problem.
For Geeklog 2.0.0 it wouldn't be a real problem if you was using a 2.0.0 theme since the page is generated by one function now (COM_createHTMLDocument).
For Geeklog 1.8.X you could create a really ugly hack. In COM_SiteHeader when the page title is created you can pass it to a global variable.
Then in COM_SiteFooter you can then write your global variable that contains the page title to the template variable.
Thank U, I'll try.
But it's no problem if I'll upgrade to 2.0, yea?
Re: How to add (page_title) to footer?
Posted on: 03/21/13 05:56pm
By: Laugh
You would still have to hack 2.0 but it would only be a few lines.