[solved] What is the "Additional Parameters" field for?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
valgibson
Forum Members
Forum Members
Posts: 11
Joined: Wed Oct 28, 2009 2:58 pm

[solved] What is the "Additional Parameters" field for?

Post by valgibson »

When adding an "Internal Page Link" under edit: content, the field "Additional Parameters" is visible. What is it for and how can I use it? I have searched the docu, but haven't become any wiser. Anyone else?
Last edited by valgibson on Sun Mar 11, 2012 8:28 pm, edited 1 time in total.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: What is the "Additional Parameters" field for?

Post by Wishbone »

It's probably something you can use in the menu manager.. Something like $node->additional.

Try this. Fill out the field for your internal link menu item. In your menu template, do: {$nodelist|print_r} and see if your text is somewhere in there, and in which field.
valgibson
Forum Members
Forum Members
Posts: 11
Joined: Wed Oct 28, 2009 2:58 pm

Re: [solved] What is the "Additional Parameters" field for?

Post by valgibson »

Thanks for your quick pointer! So this is what I found out: you can use the "Additional Parameters" field to send variables to your server. The variables are stored in your menu-node, as part of the url-value of your node-array. Like this:
stdClass Object
(
[url] => "http://www.blahblah.com/index.php?page=news&fruit=apple
)
You can use the superglobal $_GET array to retrieve the variables.
Last edited by Dr.CSS on Mon Mar 12, 2012 6:11 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
Post Reply

Return to “CMSMS Core”