My Subscriptions

No active or expired subscriptions. View Available Subscriptions

News Feed

Receive our Newsletter

Advanced Search

Save $50 on your CMS Expo Registration

Receive $50 off the registration fee for the CMS Expo featuring Joomla! in Dever, Colorado (USA). Click here to register at the reduced rate.
Home arrow Forum arrow Extensionsarrow JCal Pro and JCal Clientarrow Archivearrow 1.6.x General Discussionarrow Suggestion for change of code: Back button on events
Pages: [1]
Print
Author Topic: Suggestion for change of code: Back button on events  (Read 317 times)
cjcj01
Newbie
*

Karma: +0/-0
Posts: 23


View Profile
« on: December 13, 2007, 01:17:53 PM »

JCalv1.6.176_beta New Install not upgrade
JCal theme: default
J!1.5RC3 English
PHP 5.2.4

When clicking the Back button when opening up an event in detail, 1.6 always takes me back to the root of my J!1.5 site.

I've changed the line 1603 in theme.php from:

Code:
'{BACK_LINK}' => $is_popup?"self.close();":"location.href='".htmlentities($REFERER)."'",

To:

Code:
'{BACK_LINK}' => $is_popup?"self.close();":"location.href='javascript: history.go(-1);'",

And this has fixed the problem for me in both Firefox and IE
« Last Edit: December 17, 2007, 04:45:22 AM by cjcj01 » Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)