THX1138
Posts: 37
|
| Posted: 06/18/2008, 11:43 AM |
|
Hi all.
I have the following page setup in a project.
Header 1 : database created menu of php links ( menu name - menulink.php )
subHeader: display of session variables and modal popup date selector to change records
( date select -> record number -> update session variable )
page contents..
- - -
I have just implemented this using the CCS menu which previously was not displaying properly, however, now all of my links in my pages and in my menu are passing url parameters from page to page, which i do not want to happen.
( ie: menulink.php becomes menulink.php?param=blablabla etc )
I see in the forum that individual links can be set to not pass parameters, but here my entire menus are passing whatever parameters are on the page before.
Previously, i was using a flash menu with hard coded php links
of the form ( menulink.php ) which was not passing parameters left right and center.
Any clues appreciated..
|
 |
 |
THX1138
Posts: 37
|
| Posted: 06/18/2008, 4:48 PM |
|
Further troubleshooting carried out shows this to be an issue with menus generated on the fly from a database table.
Static menus pointing to internal .ccp pages work ok without appending all the unwanted paramaters to the urls.
However, the previous still stands, it is buggy when running database driven menus.
Have submitted to support and will post any resolution here
|
 |
 |
THX1138
Posts: 37
|
| Posted: 06/20/2008, 2:57 PM |
|
WORKAROUND to Database driven Menu lack of configurability
1/ use a hardcoded flash menu with static links ( annoying as have to regenerate menu each time a development change occurs in databse toolset functionality )
2/ CODECHARGE TOOLS JAVASCRIPT MENU WORKS PROPERLY
It allows you to make a database created dynamic menu and control the passing of parameters ( or in this case, not passing of extraneous parameters) between the pages
referred to in the database links fields.
Another cool feature is they have some rather decent documentation, written in "makes sense"
|
 |
 |
jlaffitte
Posts: 2
|
| Posted: 11/25/2008, 10:48 AM |
|
I always try to leave the generated PHP intact, but this fixes it
at the end of:
//Class_Initialize Event
function clsMenuHeaderMenu1($RelativePath, & $Parent)
search for something like:
$this->ItemLink->Parameters = CCGetQueryString("QueryString", array("ccsForm"));
change it for an empty string.
$this->ItemLink->Parameters = "";
It worked for me.
|
 |
 |
|