Are you trying to allow full content type admin in the front end? If so you
can do this by using ft:objectAdmin
Have a look at the following and see if it helps to get you started. This
was used to created allow logged in users to add/edit proposals without
giving them full access to the webtop admin. Client wanted this admin to
"look like the site" rather than look like the main webtop admin.
<cfoutput>
<style>
table.objectAdmin tbody tr {background-color:##eee;}
table.objectAdmin tbody tr.alt {background-color:##ddd;}
table.objectAdmin tbody td.objectadmin-actions {background-color:##fff
!important;}
table.objectAdmin tbody td.objectadmin-actions td {background-color:##fff
!important;}
table.objectAdmin tbody td {padding: 5px 5px;}
</style>
</cfoutput>
<ft:objectAdmin
title="Proposal"
typename="mxdProposal"
editMethod="EditWebUser"
addUrlParams="#{editAdd = true}#"
ColumnList="title,dateTimeLastUpdated"
SortableColumns="title,dateTimeLastUpdated"
lcustomcolumns="Proposal PDF:cellProposalPDF"
stFilterMetadata="#stFilterMetadata#"
sqlWhere="#sqlWhereClause#"
sqlorderby="dateTimeLastUpdated desc"
bSelectCol="false"
lButtons="add"
/>
<cfoutput>
<script>
$fc.objectAdminAction = function(title,url) {
if ($fc.objectAdminActionDiv === undefined) {
$fc.objectAdminActionDiv = $j("<div><iframe style='width:100%;height:99%;'
frameborder='0'></iframe></div>");
$j("body").prepend($fc.objectAdminActionDiv);
$j("html").css('overflow', 'hidden');
$j($fc.objectAdminActionDiv).dialog({
bgiframe: true,
modal: true,
title:title,
draggable:false,
resizable:false,
position:['center','center'],
width: "860px",
height: $j(window).height()-100,
close: function(event, ui) {
$j("html").css('overflow', 'auto');
window.location = window.location.href.split("##")[0];
}
});
}
$j($fc.objectAdminActionDiv).dialog('open');
$j('iframe',$j($fc.objectAdminActionDiv)).attr('src',url);
};
</script>
</cfoutput>
Chris.
On Saturday, 27 October 2012 12:40:30 UTC+1, kayde wrote:
>
> Hi there,
>
> I have a FrontEnd Login for "my clients" and they should enter their data
> (Custom Contents) after they have logged in.
>
> Is it possible also to use the List Overview like in the WebTop and these
> Modal Windows with the add/edit wizards in exactly that way also in the
> front end?
>
> If yes, how can I have access to them?
>
> Thanks, Kay
>
--
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