Can anyone tell me how to get the URL that was clicked in order to get to a certain page? What I mean by this is, I have an edit contents link that points to: http://address/medicine/clinical/folder_contents (Obviously in CMF, this brings up the contents of the "clinical" directory). However, when the page is rendered, the id absolute_url is just http://address/medicine/clinical and for functional reasons, I need to know if the page was rendered with "folder_contents". Any suggestions? Thanks! Aaron.
Rustad, Aaron writes:
Can anyone tell me how to get the URL that was clicked in order to get to a certain page? What I mean by this is, I have an edit contents link that points to: http://address/medicine/clinical/folder_contents (Obviously in CMF, this brings up the contents of the "clinical" directory). However, when the page is rendered, the id absolute_url is just http://address/medicine/clinical and for functional reasons, I need to know if the page was rendered with "folder_contents". Any suggestions? You find it in the "URL" variable (defined by "REQUEST")
Dieter
participants (2)
-
Dieter Maurer -
Rustad, Aaron