Switch off page title
Professional Joomla template suitable for a wide range of finance related sites such as stock market, finance news, forex informations.
- GK User
- Mon Mar 26, 2012 11:26 am
Hi,
I tried to swith off all page titles in
=> article manager => options => Show Title => hide.
But I see in each article its page title. Can you please help me?
Thanx in advance
I tried to swith off all page titles in
=> article manager => options => Show Title => hide.
But I see in each article its page title. Can you please help me?
Thanx in advance
-
- Fresh Boarder
- GK User
- Mon Mar 26, 2012 2:51 pm
Hi,
I think there may be some problem in code, can you send me a PM to provide FTP access to fix it for you?
Thanks,
I think there may be some problem in code, can you send me a PM to provide FTP access to fix it for you?
Thanks,
-
- Platinum Boarder
- GK User
- Tue Mar 27, 2012 2:11 pm
Hi Don,
have you any suggestions cause of my problem?
Thanx in advance
Gökhan
have you any suggestions cause of my problem?
Thanx in advance
Gökhan
-
- Fresh Boarder
- GK User
- Tue Mar 27, 2012 3:39 pm
I guess that a logic check is missing in the code, I need to check to know more.
-
- Platinum Boarder
- GK User
- Thu Mar 29, 2012 11:13 am
Hi, 2 days ago, I thought problem was solved, cause page titles dissapeared in articles for a short time. Since yesterday same problem again
-
- Fresh Boarder
- GK User
- Thu Mar 29, 2012 2:15 pm
So it might be something related to cache system, I can't guess, I just want to check directly to know exactly what's causing the issue, you understand right? Just give me access to do that please.
Thanks,
Thanks,
-
- Platinum Boarder
- GK User
- Thu Mar 29, 2012 3:26 pm
Hi Don,
i sent you a PM with FTP access.
i sent you a PM with FTP access.
-
- Fresh Boarder
- GK User
- Thu Mar 29, 2012 3:50 pm
Thank you, but you forgot to give me username of admin account to login to the site, can you please update?
-
- Platinum Boarder
- GK User
- Thu Apr 05, 2012 12:43 pm
Hi Don,
I added on line 193 in joomla.css "display:none;".
I think for first step it´s not most elegant way to solve problem with switching off page title; but it helps
Gökhan
I'm glad to know you have solved the problem yourself. Yes, you're right, it's not the best solution as the titles are still generated, it's better to check to add a logic check in php code to avoid generating tittles when the setting is off.
Cheers,
-
- Platinum Boarder
- GK User
- Fri Jun 15, 2012 11:14 am
I have the same problem. Template The World News II. I can't switch off article titles in article manager. Did you solve it?
-
- Fresh Boarder
- GK User
- Fri Jun 15, 2012 12:04 pm
Hi leokont,
Can you give me a link to see it to help?
Thanks,
Can you give me a link to see it to help?
Thanks,
-
- Platinum Boarder
- GK User
- Sat Jun 23, 2012 2:24 am
I am also having the same issue.
-
- Fresh Boarder
- GK User
- Sat Jun 23, 2012 6:35 am
Here is few solutions for those of interested. This is for Joomla 2.5.
1. No switch , set sitename as page title in all pages.
Find File: templates/gk_templatename/layout/default.php
Find below code
Replace with below
2. Switch in Template Settings. Enabled displays Sitename as Page Title, disabled shows sitename first then normal joomla page title.
Find File: templates/gk_templatename/layout/default.php
Find below code
Replace with below if you want Page title set as : Sitename - Page Title
Replace with below if you want Page title set as : Page Title Only
Find File: templates/gk_templatename/templateDetails.XML
Find below code by searching "css_override". Usually around lines 668 & 671
Replace with
Then enable/disable in template settings > advanced settings > Set Sitename as Page Title.
See you around...
1. No switch , set sitename as page title in all pages.
Find File: templates/gk_templatename/layout/default.php
Find below code
- Code: Select all
<jdoc:include type="head" />
Replace with below
- Code: Select all
<?php
$app = JFactory::getApplication();
$JDoc = JFactory::getDocument();
$JDoc->setTitle( $app->getCfg('sitename'));
?>
<jdoc:include type="head" />
2. Switch in Template Settings. Enabled displays Sitename as Page Title, disabled shows sitename first then normal joomla page title.
Find File: templates/gk_templatename/layout/default.php
Find below code
- Code: Select all
<jdoc:include type="head" />
Replace with below if you want Page title set as : Sitename - Page Title
- Code: Select all
<?php
$JDoc = JFactory::getDocument();
$app = JFactory::getApplication();
?>
<?php if($this->getParam('show_page_title', '1')) : ?>
<?php $JDoc->setTitle( $app->getCfg('sitename')); ?>
<?php else : ?>
<?php $JDoc->setTitle( $app->getCfg('sitename') . ' - ' . $JDoc->getTitle()); ?>
<?php endif; ?>
<jdoc:include type="head" />
Replace with below if you want Page title set as : Page Title Only
- Code: Select all
<?php
$JDoc = JFactory::getDocument();
$app = JFactory::getApplication();
?>
<?php if($this->getParam('show_page_title', '1')) : ?>
<?php $JDoc->setTitle( $app->getCfg('sitename')); ?>
<?php else : ?>
<?php $JDoc->setTitle( $JDoc->getTitle()); ?>
<?php endif; ?>
<jdoc:include type="head" />
Find File: templates/gk_templatename/templateDetails.XML
Find below code by searching "css_override". Usually around lines 668 & 671
- Code: Select all
<field name="css_override" type="list" class="gk_switch" default="0" label="TPL_GK_LANG_CSS_OVERRIDE" description="TPL_GK_LANG_CSS_OVERRIDE_DESC">
<option value="1">TPL_GK_LANG_ENABLED</option>
<option value="0">TPL_GK_LANG_DISABLED</option>
</field>
Replace with
- Code: Select all
<field name="css_override" type="list" class="gk_switch" default="0" label="TPL_GK_LANG_CSS_OVERRIDE" description="TPL_GK_LANG_CSS_OVERRIDE_DESC">
<option value="1">TPL_GK_LANG_ENABLED</option>
<option value="0">TPL_GK_LANG_DISABLED</option>
</field>
<field name="show_page_title" type="list" class="gk_switch" default="0" label="Set Sitename as Page Title" description="Enabled will show Sitename, disabled will show sitename first then standard joomla page title.">
<option value="1">TPL_GK_LANG_ENABLED</option>
<option value="0">TPL_GK_LANG_DISABLED</option>
</field>
Then enable/disable in template settings > advanced settings > Set Sitename as Page Title.
See you around...
-
- Platinum Boarder
13 posts
• Page 1 of 1