Michael @Four Eyes wrote:
When trying to resort content (e.g., label, status, by ) in a custom type I get this error:
Importing this template failed : Element MODULE is undefined in URL.
I tried pecking around but I am unsure what this is referring to.
Looks like this a bug in genericaAdmin.cfm...I will enter into the bug tracker and try to get a fix out for the next release.
At the moment the links for ordering are like this:
<a href="#cgi.SCRIPT_NAME#?typename=#attributes.typename#&order=label&direction=asc" style="color:white">Label</a>
It should also be trying to add the url variable module to this address. If you add a cfparam for url.module at the top of the page and then change these links (around lines 220-230 of farcry_core/tags/farcry/genericAdmin.cfm) to include this variable, then it should work ok.
eg
<cfparam name="url.module" default="">
<a href="#cgi.SCRIPT_NAME#?typename=#attributes.typename#&module=#url.module#&order=label&direction=asc" style="color:white">Label</a>
Not the most elegant solution but works for the time being :)
-Brendan http://farcry.daemon.com.au
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
