Ok so far i have a customlist file:

<cfimport taglib="/farcry/core/tags/formtools" prefix="ft" />
<cfimport taglib="/farcry/core/tags/admin/" prefix="admin" />

<cfsetting enablecfoutputonly="true" />

<!--- setting the aCustomColumns array --->
<cfscript>
        // apply custom cell renderers
        aCustomColumns = arrayNew(1);
        sttmp = structNew();
        sttmp.webskin = "activeren.cfm"; // located in the webskin of the 
type the controller is listing on
        sttmp.title = "Activeren";
        sttmp.sortable = false;
sttmp.property = "label";//optional
</cfscript>

<!--- form action to activate the ad --->
<ft:processForm action="activeren">
<cfset obj = createObject
('component',application.stcoapi.advertenties.typePath) />        
<cfset stprops.objectid = form.selectedobjectid />
<cfset stprops.actief = "1" />
<cfset obj.setData(stProperties=stprops) />
</ft:processForm>

<!--- set up page header --->
<admin:header title="Advertenties" />
<ft:objectAdmin
title="Advertenties"
typename="advertenties"
ColumnList="titel,datetimecreated"
aCustomColumns = "#aCustomColumns#"
sqlorderby="datetimecreated desc" />
<admin:footer />

<cfsetting enablecfoutputonly="false" />

And i have a webskin/advertenties/activeren.cfm file:

<cfoutput>
<a href="##" 
onClick="selectObjectID('#stobj.objectid#');btnSubmit('#Request.farcryForm.Name#','activeren');"
 
title="Activeren">A</a>
</cfoutput>

What am i doing wrong, as i can't see a extra column...

Thanks.

Op donderdag 2 augustus 2012 00:25:19 UTC+2 schreef Marco van den Oever het 
volgende:
>
> Awesome, thanks for the info, checking the files.
>
> Op woensdag 1 augustus 2012 23:25:39 UTC+2 schreef Chris Kent het volgende:
>>
>> And 
>> /plugins/farcryverity/webskin/farVerityCollection/cellCollectionMaintenance.cfm
>>  
>> for the links that trigger the form actions.
>>
>> Chris.
>>
>

-- 
-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry


Reply via email to