You could allow people to post links to the forums from the repos. That way you get the best of both worlds - a nicely organised repository of code which references modifications (along with the discussions that are so often essential to their use). As for things like whether core mods are required or not, I think a simple labelling scheme will suffice (i.e. a few different icons) and perhaps also a difficulty level.
Btw, I’ve been wondering, why would you want to write & instead of & unless you need to validate the code against xhtml or similar? Since snippet code never shows up in the front end why would this matter?
I am trying to use this modified snippet to build a menu with items based on TV’s. To bad the core hack doesn’t work, because the file to replace is not include in the latest 0.95 release candidate.
I only need to filter my menu items based on a selection of items from 1 TV. Could someone please guide me in the right direction??
Thanks in advance.
Hey Steph,
Thankls in advance for looking into it.
When i read the topic where you mention teh core-hack, i understand that the hacks are just minor, and only to support Keywords for weblinks?
For my need, it would be O.K to just be able to filter menu itmes for their T.V. To bad this gives me a error about a Missing argument for makemap().
Could you please point me in the right direction??
Thanks,
Martijn
Here’s the modified core code for MODx-095rc3-rev2066 along with the original so you can do a comparison to see what’s changed.
mutate_content.dynamic.php is the new one.
mutate_content.dynamic.php.orig is the original.
It goes in manager/actions/.
Not sure about your problem with the makemap function, because that’s a function in the modified DropMenu snippet, and one that that Soda previously had before I updated the snippet (see earlier in this topic). Do you have the latest version? If you do, please post it so that I can compare it to mine.
Hi steph,
Does your changes to mutate_content.dynamic.php allow to choose any template for weblinks and so attach TV to them ?
:-)
Hi I’m trying to get this snippet to work in 0.9.6.1 It does not work if I pass the following parameters: &tvRegexpField=`devStatus` &tvRegexpString=`(current)`
devStatus is defined as as drop down list menu: Current Development==current||Past Development==past
I’m in desperate need of help here, if you can’t help perhaps you could explain how I would generate a comma seperated string of doc id’s that match the tv value so I can use wayfinder instead...
Thank you in advance.