You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi
I would like to remove the <h1> tag which has the id="skin_pgtitle" on the shop opening page (this is my default home page) and only this page.
How would I test within CORE_display.php for this page?
For example:
If page="Home" print no-<h1>
else print <h1>
Many thanks
Terry
Offline
Shop opening page to me means store splash, so you'd do:
$printh1 = 1; if (($this->globals('core.app') == 'ecom') && ($this->globals('core.namespace') == 'splash')) {$printh1 = 0;}
if (!(empty($printh1))) {print 'h1 here..';}Offline
Nick
Thanks for your reply. It was probably me but using your code removed the <h1> from every page. I've got around my problem by testing if the $title == 'Online Store'. I'll just have to remember if I rename that page in the future to change the entry in CORE_Display.php.
Terry
Offline