Share » Forums » Developer » Custom datatype : link + object...

Custom datatype : link + object relations

Custom datatype : link + object relations

Tuesday 08 July 2008 1:45:46 am - 2 replies

Author Message

Michael Scofield

Wednesday 09 July 2008 1:19:30 am

I think I didn't understand what you want to do but,

If what you want is a list of links in your webpage and you want to manage the links from Ez Publish Administration interface, maybe you can do that by creating a folder anywhere in the Content Structure tree and then insert objects of class "Link" inside it.

Later, to retrieve and show these links in the webpage, you can use one the Ez Publish fetch functions, like this one:
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list

You have to specify the Id of your node (your folder), so only objects inside this folder will be retrieved.

Michael

Christian BELLET

Wednesday 16 July 2008 4:17:09 am

Yes, it's what I'd like to do but instead of getting an attribute like 'title' or 'short_title', I'd like to permit backend users to specify a custom/free text when you click on a link.

Thanks

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu