How to make a back link to list page the same which came?

16 posts by 7 authors in: Forums > CMS Builder
Last Post: December 10, 2011   (RSS)

By Donna - May 24, 2010

Hi pod9,

Yes, "wydarzenia-lista.php" was specific to Esteban. For your own page, simply replace that with your own list page filename. :)
Donna

--
support@interactivetools.com

Re: [Chris] How to make a back link to list page the same which came?

By Mikey - December 8, 2011

Exactly what I needed! Thanks Chris!!!!!
Zick

Re: [Chris] How to make a back link to list page the same which came?

By Mikey - December 9, 2011

Chris,
Is it possible to make this a default setting for CMS Builder installations? So that when you generate the code for the page, the back link is already in place and ready to use?

Re: [zick] How to make a back link to list page the same which came?

By ross - December 9, 2011

Hi Zick

I can add it to the list. Not sure when or how that will be implemented, but it's on the list!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [Chris] How to make a back link to list page the same which came?

By Mikey - December 10, 2011

Hi esteban,

Sorry, my fault. I had an extra "> in the code. I've edited my post above to remove it. Please remove the code in red below from your wydarzenia-lista.php page:

<a href="wydarzenia-art.php?page=<?php echo @$_REQUEST['page'] ? htmlspecialchars($_REQUEST['page']) : 1 ?>">&num=<?php echo $record['num'] ?>">

What is this record variable in my case?


It must be already correct since the code is working.

Please let me know if you have any questions.



Hey Chris,
I ran this through W3C validation and it was producing errors, so I made a slight change and it passed validation. Below in red is the change I made:

<a href="wydarzenia-art.php?page=<?php echo @$_REQUEST['page'] ? htmlspecialchars($_REQUEST['page']) : 1 ?>&amp;num=<?php echo $record['num'] ?>">