The place to start is looking at some of the other admin interface templates. These will give you an idea of how the default displays for various class items are generated. Also check out the documentation for the fetch function at http://ez.no/ez_publish/documentation/list/(from)/44331 along with examples in the templates. Fetching for objects of a specific class is pretty trivial and works something like this:
The code itself is trivial indeed. I have had a look at the admin templates, but really need some pointers on how to go about it. For instance: I can add an item to the menu under the setup tab, but don't know how to create the content page for the link.
I have the code the does exactly what I need, I just don't know how to add it to the admin interface (cause I can't add content the way I add content to the user site). So I guess the real question is: how can I link the template to a url in the admin interface?
Correct me if I'm wrong, I think that you will need to add a new module to the ezpublish kernel. A module is composed of Business logic(php code) and User Interface(template). Look at BL examples in kernel/ directory. The code in the business logic calls template to generate output. Start by looking at the notification module as is it quite simple. Start from the module definition /kernel/moduleName/module.php, this does the link with other BL files.
Hope this help,
Jade Tremblay
Directeur Technologique
Perséides Technologie
www.perseidestech.net
Passez du rêve à la réalité!
You must be logged in to post messages in this topic!