By phuonker on Saturday, 14 January 2017
Replies 7
Likes 0
Views 1.3K
Votes 0
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
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
·
8 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Of course you need to create the missing folders.

Many thanks
Tony
·
8 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
8 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Tony
Thank you very much
It works nov perfectly
Best regards
Peter
·
8 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Great to hear.
·
8 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post