Tuesday, 08 September 2015
  7 Replies
  1.6K Visits
0
Votes
Undo
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?
Tuesday, 08 September 2015 09:13
·
#155754
0
Votes
Undo
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:54
·
#155755
0
Votes
Undo
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 16:10
·
#155756
0
Votes
Undo
You create it by copying the file you listed in your first post to this new location
Wednesday, 09 September 2015 08:13
·
#155757
0
Votes
Undo
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 13:38
·
#155758
0
Votes
Undo
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 14:21
·
#155759
0
Votes
Undo
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 15:14
·
#155760
0
Votes
Undo
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')
  • Page :
  • 1
There are no replies made for this post yet.