solved Change Module Landing Page?

Ceri
Ceri
@adolygwr
7 years ago
370 posts
I would like to change the landing page that a user goes to when a module opens. Is there an easy/any way to do this?

Specifically I want users to go this page https://americymru.net/americymru/documentation/introduction/46/introduction instead of this https://americymru.net/americymru/documentation when they click on the 'Geriadur' button (renamed Documentation module) on their profile page menus.


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 03/31/18 12:37:51AM
paul
@paul
7 years ago
4,332 posts
The easiest way to do this would be to replace the Documentation module's item_index.tpl template with the following line of code -

{jrCore_location("`$jamroom_url`/americymru/documentation/introduction/46/introduction")}

hth


--
Paul Asher - JR Developer and System Import Specialist
Ceri
Ceri
@adolygwr
7 years ago
370 posts
Hi Paul

Which line do I replace? There doesn't seem to be a line with jrcore_location in it in the item_index.tpl template.


--
Ceri Shaw - AmeriCymru
michael
@michael
7 years ago
7,746 posts
The suggestion is just to add that to the top. When that is in the template, the template will redirect instead of displaying.
Ceri
Ceri
@adolygwr
7 years ago
370 posts
Got it.....works perfectly....many thanks :)


--
Ceri Shaw - AmeriCymru