Page title (Browser) 
Forum for JEvents 3.0 for Joomla 3.0 and 2.5.
Page title (Browser)
by stefan75 » Mon Mar 04, 2013 6:45 pm
Hi,
on our site we have the Page Title in the browser set to "Page-Title" - "Sitename".
On Joomla-Pages it looks like
"Willkommen - Zöbing am Heiligenstein..."
On a Events-Detail Page it looks like
"Eventname"
On Locations or People-Lists it look also like
"Page-Title (Menu-Item)"
On Locations or People-Detail Page:
"Event Location::Name of the Location"
Where are these Sitenames generated?
Is it possible to put the Sitename also in the Title ?
Like
Eventname - Sitename(of Joomla)
Peoplename - Sitename(of Joomla)
Locationname - Sitename(of Joomla)
Menuitem-name - Sitename(of Joomla)
Thanks,
Stefan
on our site we have the Page Title in the browser set to "Page-Title" - "Sitename".
On Joomla-Pages it looks like
"Willkommen - Zöbing am Heiligenstein..."
On a Events-Detail Page it looks like
"Eventname"
On Locations or People-Lists it look also like
"Page-Title (Menu-Item)"
On Locations or People-Detail Page:
"Event Location::Name of the Location"
Where are these Sitenames generated?
Is it possible to put the Sitename also in the Title ?
Like
Eventname - Sitename(of Joomla)
Peoplename - Sitename(of Joomla)
Locationname - Sitename(of Joomla)
Menuitem-name - Sitename(of Joomla)
Thanks,
Stefan
- stefan75
- Silver Members
- Posts: 137
- Joined: Tue Apr 13, 2010 11:17 am
Re: Page title (Browser)
by Tonyp » Mon Mar 04, 2013 10:53 pm
Hello Stefan,
These are normally generated via the Joomla! Menu Items?
Check your JEvents ones.
Regards
Tony
These are normally generated via the Joomla! Menu Items?
Check your JEvents ones.
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8740
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Page title (Browser)
by stefan75 » Tue Mar 05, 2013 6:51 am
Hi Tony,
in the Menu-Items i only can set the Page-Title and Headline but not the Site-Name.
In Joomla Config is set that the SIte-Name should appear behind the Page-Name. But on the JEvents (and People/Locations) Pages it does not appear.
Are there any JEV related Scripts where the Browser-Title is generated?
Thanks,
Stefan
in the Menu-Items i only can set the Page-Title and Headline but not the Site-Name.
In Joomla Config is set that the SIte-Name should appear behind the Page-Name. But on the JEvents (and People/Locations) Pages it does not appear.
Are there any JEV related Scripts where the Browser-Title is generated?
Thanks,
Stefan
- stefan75
- Silver Members
- Posts: 137
- Joined: Tue Apr 13, 2010 11:17 am
Re: Page title (Browser)
by Geraint » Tue Mar 05, 2013 10:41 am
Its probably a coding oversight.
Which version of JEvents and Joomla are you running?
Which version of JEvents and Joomla are you running?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30529
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Page title (Browser)
by stefan75 » Tue Mar 05, 2013 10:47 am
Hi Geraint,
here my versions:
What i´ve also seen today was an info about available updates für JEvents in the JEvents Control Panel (to 3.0.8). But this is now gone.
Is there a 3.0.8 ?
Thanks,
Stefan
here my versions:
- Code: Select all
Joomla : 3.0.3
component_com_jevents : 3.0.7
component_com_jevlocations : 3.0.3
component_com_jevpeople : 3.0.5
module_mod_jevents_cal : 3.0.7
module_mod_jevents_latest : 3.0.7
module_mod_jevents_legend : 3.0.7
module_mod_jevents_switchview : 3.0.7
plugin_editors_jce : 2.3.2
plugin_finder_jevents : 3.0.7
plugin_jevents_jevcustomfields : 3.0.3
plugin_jevents_jevfiles : 3.0
plugin_jevents_jevlocations : 3.0.3
plugin_jevents_jevpeople : 3.0.5
plugin_search_eventsearch : 3.0.7
plugin_search_jevlocsearch : 3.0.3
plugin_system_jcemediabox : 1.1.6
What i´ve also seen today was an info about available updates für JEvents in the JEvents Control Panel (to 3.0.8). But this is now gone.
Is there a 3.0.8 ?
Thanks,
Stefan
- stefan75
- Silver Members
- Posts: 137
- Joined: Tue Apr 13, 2010 11:17 am
Re: Page title (Browser)
by Geraint » Tue Mar 05, 2013 2:24 pm
Not til next week (I slipped up with the new versions3.xml file on the server).
Please add this code before the $controller->redirect(); line in components/com_jevents/jevents.php
Please add this code before the $controller->redirect(); line in components/com_jevents/jevents.php
- Code: Select all
// Set the browser title
$title = JFactory::getDocument()->GetTitle();
$app = JFactory::getApplication();
if (empty($title)) {
$title = $app->getCfg('sitename');
}
elseif ($app->getCfg('sitename_pagetitles', 0) == 1) {
$title = JText::sprintf('JPAGETITLE', $app->getCfg('sitename'), $title);
}
elseif ($app->getCfg('sitename_pagetitles', 0) == 2) {
$title = JText::sprintf('JPAGETITLE', $title, $app->getCfg('sitename'));
}
JFactory::getDocument()->SetTitle($title);
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30529
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Page title (Browser) 
by stefan75 » Tue Mar 05, 2013 4:13 pm
Thank you.
Now the Titles are correct.
I added this code also in jevpeople.php and jevlocations.php so that also these Lists and Details have the full Browser Title.
Now the Titles are correct.
I added this code also in jevpeople.php and jevlocations.php so that also these Lists and Details have the full Browser Title.
- stefan75
- Silver Members
- Posts: 137
- Joined: Tue Apr 13, 2010 11:17 am
Re: Page title (Browser)
by Geraint » Wed Mar 06, 2013 9:49 am
stefan75 wrote:I added this code also in jevpeople.php and jevlocations.php so that also these Lists and Details have the full Browser Title.
Good point - I've done the same for the next release
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30529
- Joined: Fri Feb 15, 2008 6:14 pm
8 posts
• Page 1 of 1
Return to JEvents 3.0 (Free Access)
Who is online
Users browsing this forum: skidsss

