CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 URL Parameters

Print topic Send  topic

Author Message
Anothersledhead


Posts: 44
Posted: 05/31/2004, 4:04 PM

I have an expanding menu similar to the one on the Code Charge website. My issue is that I need to preserve url parameters on the links on the menu. For portability I am writing all of the text and url's to a javascript file. This way I have only on file to change. I have tried appending the url's in the file with (default.php?client_id={client_id} )and have client_id as a hidden field on the page. the problem is that this is very problematic and doesn't work all of the time. Any thoughts or ideas would be great

Thanks
View profile  Send private message
ghtracey

Posts: 23
Posted: 06/07/2004, 2:47 PM

try using something like the folling for your links

<a href = 'page1.asp?'{querystring}>Text1</a>
<a href = 'page2.asp?'{querystring}>Text1</a>

Then in the page_before show:
global $Tpl;
$Tpl->SetVar("querystring",CCGetQueryString("All",""));

This will set all your links to have the same query string as was originally passed to the page.
_________________
Graham Tracey
Council of Yukon First Nations
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.