. .
pragmaMx Support Forum 25 Mai 2012, 22:41:40 *
Willkommen Gast. Bitte einloggen oder registrieren.


Einloggen mit Benutzername und Passwort
News:
Brauchen Sie Hilfe? Bitte nutzen Sie unsere Suchfunktion bevor Sie Beiträge oder Fragen ins Board schreiben! Viele Fragen wurden bereits gestellt und beantwortet. Danke!
 
Übersicht Hilfe Forenregeln / Boardrules
 
Suche
Seiten: [1]   Nach unten
Drucken
Autor Thema: [Solved] Module Content  (Gelesen 1879 mal)
0 Mitglieder und 2 Gäste betrachten dieses Thema.
Thierry71
neu hier
*
Offline Offline

Geschlecht: Männlich
Beiträge: 6


« am: 24 April 2010, 20:35:51 »

Hi,

I have a pb with the module content, When a page is selected, and if I press back, It goes to the main category
and I would like to go the history -1 page. Like with the previous version of pragmaxMx.
I supposed the change are in index.php in the module content folder but i don't know Ihow to change It.

thanks for your help

Thierry
Gespeichert
martin b
Gast
« Antworten #1 am: 25 April 2010, 18:38:38 »

Hello Thierry71

Open the index.php of the module and go to line 137. There you'll find that at the begin:

Code: [Select]  
$page_back = ($mypage['cid'] > 0) ?

The "0" is the ID for the page. Take a look to the status line in the browser to find out the page ID (1, 2 or 3) and then change the "0" to the page ID you want. It's not tested by me, and I hope it works.

salut
martin b
Gespeichert
Thierry71
neu hier
*
Offline Offline

Geschlecht: Männlich
Beiträge: 6


« Antworten #2 am: 25 April 2010, 21:10:04 »

Hello Martin,

Thanks for your answer but it doesn't work.
You can see what I meen with my website www.paray-natation.fr.
Click on Resultats Sportifs, than Poussins for example and if I want to return back to résultats sportifs.
It doesn't work.
I know that i must change something where you told me but I don't knwo what.
May be a javascript code like 'javascript=history.go(-1)' but I am not sure at all.

Thierry
Gespeichert
Thierry71
neu hier
*
Offline Offline

Geschlecht: Männlich
Beiträge: 6


« Antworten #3 am: 25 April 2010, 22:53:28 »

Hello again,

I change the code like this, and it works as I want.

 echo '<p align="center">[ <a href="javascript:history.back()"> ' . _CONT_GOBACK . '</a> ]<br /><br /></p>';


Tschuss 

THierry
Gespeichert
Seiten: [1]   Nach oben
Drucken
 
Gehe zu:  

Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
design by hENNE, layout based on YAML