By vanlaarhovenwebsites on Tuesday, 08 September 2015
Replies 7
Likes 0
Views 1.4K
Votes 0
I want to change the backbutton on the event detail page to a button that links to the events page (and not goes back in your browserhistory). I temporarily changed the codes of this file:

/public_html/components/com_jevents/views/flat/icalevent/tmpl/detail_body.php

Is there a option that does the same in the backend (or to make one)? And if there is an update from Jevents, do i need tho change the codes again?
Hello,

Just copy that file to:

/templates/your_template/html/com_jevents/flat/icalevents/detail_body.php

Then the change won't be lost on the next upgrade :-).

Many thanks
TOny
·
Tuesday, 08 September 2015 09:13
·
0 Likes
·
0 Votes
·
0 Comments
·
I already tried that path trough an older post about the backbutton, only i cant find the /com_jevents/ map in my
/templates/your_template/html/ map.


( /forum/viewtopic.php?f=31&t=29722&p=160486&hilit=detail+page+button ) <- the old post

Ps. Tanx for the fast reaction!
·
Tuesday, 08 September 2015 09:54
·
0 Likes
·
0 Votes
·
0 Comments
·
You create it by copying the file you listed in your first post to this new location
·
Tuesday, 08 September 2015 16:10
·
0 Likes
·
0 Votes
·
0 Comments
·
When I make the path myself and place detail_body.php in it, nothing happens. (/templates/your_template/html/com_jevents/flat/icalevents/detail_body.php). No changes where made on the frontend.

The path i said above here never existed before i made it myself. (and it seems that Jevents doesnt read that path to)

How do i get this to work without editing the file in:
/public_html/components/com_jevents/views/flat/icalevent/tmpl/detail_body.php ??
·
Wednesday, 09 September 2015 08:13
·
0 Likes
·
0 Votes
·
0 Comments
·
You did substitute 'your actual template path' instead of 'your_template' didn't you e.g. templates/protostar/html/com_jevents/flat/icalevents/detail_body.php if your template is protostar
·
Wednesday, 09 September 2015 13:38
·
0 Likes
·
0 Votes
·
0 Comments
·
If you mean that i didnt edit my "your_template" path, i did.

templates/yoo_vanice/html/com_jevents/flat/icalevents/detail_body.php
The path i typed here above doesnt exist at my joomla.
·
Wednesday, 09 September 2015 14:21
·
0 Likes
·
0 Votes
·
0 Comments
·
That is almost what you need to create (but there is a slight typo in my previous message) - try templates/yoo_vanice/html/com_jevents/flat/icalevent/detail_body.php (I had an extra 's')
·
Wednesday, 09 September 2015 15:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post