Hello,
i would like to use wayfinder 2.0 with the config settings, but i cannot find any documentation anywhere?
Olaf
are you talking about the config file?
if so, there is no documentation on this yet, there are some examples in the zip package you can reference. But basically it is a php file and you just set the parameters you would like to use in the file. Each parameter is a variable that can be set in the config file i.e. &startId becomes $startId
Since these files are php code you could even write some code to create some dynamic values for the wayfinder call.
Hello,
i am calling wayfinder this way:
[[Wayfinder? &startId=`0` &config=’cssplay-dropline’]]
but it doesn’t seem to find or parse the cssplay-dropline.config.php file....do i miss something?
Olaf
ok, this works:
[[Wayfinder? &startId=`0` &config=mollio]]
it seems that wayfinder 2.0 breaks when you use quotes around the config-parameter...
another bug: when i set &debug=’FALSE’ debug info is still displayed
Olaf
olaf,
you should use backtics around your parameters (` `) not quotes (’ ’)
wow, backticks? is this only with wayfinder or with all modX snippets? this is the first time i ever heard of backticks?
Wouldn’t it be much more user-friendly to be able to use regular quotes for parameters? Or is that really difficult to implement?
BTW, love the wayfinder snippet! cheers!
Olaf
to be honest, i never read any mention about backticks in any modx documentation...i did a quick search on the site and on the site documentation online, and in the html documentation of both wayfinder 1 and 2, and couldn’t find any reference to it??
anyway, is there a special reason why modX is expecting backticks instead of the more common used quotes?
Olaf