JEvents 3.1 (Free Access)

Page title (Browser)  Topic is solved

Forum for JEvents 3.1 for Joomla 3.x and 2.5.
Forum rules
When requesting support please follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby 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
stefan75
 
Posts: 162
Joined: Tue Apr 13, 2010 11:17 am

Postby 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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23834
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby 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
stefan75
 
Posts: 162
Joined: Tue Apr 13, 2010 11:17 am

Postby Geraint » Tue Mar 05, 2013 10:41 am

Its probably a coding oversight.

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!
User avatar
Geraint
 
Posts: 42850
Joined: Fri Feb 15, 2008 6:14 pm

Postby stefan75 » Tue Mar 05, 2013 10:47 am

Hi Geraint,

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
 
Posts: 162
Joined: Tue Apr 13, 2010 11:17 am

Postby 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
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!
User avatar
Geraint
 
Posts: 42850
Joined: Fri Feb 15, 2008 6:14 pm

Postby 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.
stefan75
 
Posts: 162
Joined: Tue Apr 13, 2010 11:17 am

Postby 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!
User avatar
Geraint
 
Posts: 42850
Joined: Fri Feb 15, 2008 6:14 pm


Return to JEvents 3.1 (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users