Saturday, 14 January 2017
  7 Replies
  1.3K Visits
0
Votes
Undo
Hello
I have a question
I would like to have a back button for the event details to go back to category view.
In an other post I found that I have to add: [attachment=0:19csquhb]<!-- ia0 -->Screenshot 2016-03-14 12.05.44.png<!-- ia0 -->[/attachment:19csquhb] under custom layout->event detail page.
I tried it, but it did not ork. I tried to add it in the window "custom window", and own modul.
What was wrong, or do I have to add a different code?
Thank you for support
PEter
8 years ago
·
#181671
Accepted Answer
0
Votes
Undo
Hello Peter,

If you copy:

/components/com_jevents/views/your_jevents_theme/icalevent/tmpl/detail_body.php

And you should see some commented out code like:


/*
if(!($mask & MASK_BACKTOLIST)) { ?>
<p align="center">
<a href="javascript:window.history.go(-1);" class="jev_back btn" title="<?php echo JText::_('JEV_BACK'); ?>"><?php echo JText::_('JEV_BACK'); ?></a>
</p>
<?php
}
*/


Remove the /* and */ from the start and end. Then place this in:

/templates/your_template/html/com_jevents/your_jevents_theme/icalevent/detail_body.php

and create any folders needed. This will add the Javascript back button.

Many thanks
Tony

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!Join the JEvents club today!

8 years ago
·
#181671
Accepted Answer
0
Votes
Undo
Hello Peter,

If you copy:

/components/com_jevents/views/your_jevents_theme/icalevent/tmpl/detail_body.php

And you should see some commented out code like:


/*
if(!($mask & MASK_BACKTOLIST)) { ?>
<p align="center">
<a href="javascript:window.history.go(-1);" class="jev_back btn" title="<?php echo JText::_('JEV_BACK'); ?>"><?php echo JText::_('JEV_BACK'); ?></a>
</p>
<?php
}
*/


Remove the /* and */ from the start and end. Then place this in:

/templates/your_template/html/com_jevents/your_jevents_theme/icalevent/detail_body.php

and create any folders needed. This will add the Javascript back button.

Many thanks
Tony

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!Join the JEvents club today!

8 years ago
·
#181793
0
Votes
Undo
Dear Tony
Thank you for your responce.
I found somehow the code you mentionned above. My problem is that I did not find the corresponding place where I have to place it. When I go into my template (purity iii) there is no com_jevent.
So where do I have to place the changed file, when not into the template.
Thank you for your help
Best regards
Peter
8 years ago
·
#181795
0
Votes
Undo
Hello,

Of course you need to create the missing folders.

Many thanks
Tony

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!Join the JEvents club today!

8 years ago
·
#181853
0
Votes
Undo
Hi Tony
Thank you. Ok, I understand. Unfortunately it did not work out the way I tried, but I assume it is not the right theme I chose. How do I find out which theme I need or I am using. Is it in the menue, meaning category view or what is it?
Thank you
Best regards
Peter
8 years ago
·
#181859
0
Votes
Undo
Hello Peter,

The JEvents theme you are using is defined on the first tab of the JEvents Configuration. This can then be overridden on each menu item.

Many thanks
Tony

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!Join the JEvents club today!

8 years ago
·
#181898
0
Votes
Undo
Dear Tony
Thank you very much
It works nov perfectly
Best regards
Peter
8 years ago
·
#181903
0
Votes
Undo
Great to hear.

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!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.