Joomlatwork
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2013, 06:57:57 PM

Login with username, password and session length
Search:     Advanced search
18621 Posts in 6464 Topics by 11319 Members
Latest Member: Falssaift
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla SEF Patch extended version support (paid version)
| |-+  Feature requests
| | |-+  Displaying your HTML Title in a joomla template
« previous next »
Pages: [1] Print
Author Topic: Displaying your HTML Title in a joomla template  (Read 3999 times)
Ernie
Newbie
*
Posts: 4


View Profile
« on: September 08, 2007, 08:39:28 PM »

Hi,

I recently bought the the sef patch extended version and was wondering how I could display the HTML Title generated by this superb component to display in our Joomla template (similar to this tutorial by Cory Webb (http://www.howtojoomla.net/content/view/25/2/) . Am not much of a php expert, but maybe you can help?

Regards, (en de groeten uit Amstelveen)

ernst
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #1 on: September 08, 2007, 10:08:59 PM »

No problem,

First check if dynamic titles is enabled within the global configuration and check if the Joomla cache is enabled (if enabled disable it).

If this not works, check the template if the correct requests is made to display the header:
Code:
<?php mosShowHead(); ?>
This must be in the head section

If this is not working please check if the installation of the component was ok? Can you email me the website?

Regards,

Richard
(amstelveen)
Logged
Ernie
Newbie
*
Posts: 4


View Profile
« Reply #2 on: September 09, 2007, 10:31:27 AM »

Hi Richard, Thanks for your swift reply. Everything as you described is set

To give you a link:
http://boermans.com/index.php?option=com_content&task=blogsection&id=5&Itemid=36

idea is to display the html title you set with sef patsch ext. installed -  within the red bar just below the banner image within H1 tags.

don't know whether I can directly recall the Html Title in the template such as <?php echo $html_title ...

or should do something similar to Cory's tutorial, 

Anyways Hope you can help.
Regards, ernst
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #3 on: September 09, 2007, 04:57:19 PM »

Ls,

There is a difference with the HTML title and the Page title you want to display..... The sefpatch component takes care of the page title and the specific title you mention should be solved within the component (for example the content component) self are you can add this within your template...

Regards,

Richard
Logged
Ernie
Newbie
*
Posts: 4


View Profile
« Reply #4 on: September 09, 2007, 11:22:06 PM »

Thanks for your answer Richard, I get it:

I put this in the template: <?php echo $mainframe->_head['title']; ?> and set things in the correct order : [title] - [site title] in the config of the sef patch component. Cool!

See you around in Amstelveen and nice to know that more people in Amstelveen are working with Joomla!

Regards, ernst
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!