Hi, What is the code for the <title> of a website.

Permalink
Hi I need to set up my website so that we get the title as "Home - Jimallltd.co.uk" and changing for each page obviously. e.g. "Services - Jimallltd.co.uk"

What code do i need to put into my title tag to call the Page Name?

Thanks

 
ScottC replied on at Permalink Reply
ScottC
$c->getCollectionName() returns the collectionName which is generally considered the title of a page. You could wrap this in a theme, but this is generally done in the header_required.php under concrete/libraries/header_required.php :)

If you wanted to change something there with the title or how it is displayed reading from the config etc check out my other tutorial.
kstrange replied on at Permalink Reply
kstrange
/concrete/elements/header_required.php