Is the JavaScript function ezpopmenu_submitForm loaded? Check any JavaScript errors in your browser.
Just out of curiosity, why do you want to use anchors instead of buttons? The code you're using disallows clients to use the form when JavaScript is disabled.
Hi, thank you for your reply. I was almost getting worried .. :)
ezpopmenu_submitForm loaded? I guess not :) I don't know anything about javascript so I guess I'll take a look at this. Nice that you sent me on the right track anyway ..
The reason I did it like this is that is more pretty with a text-link rather than a button.
If someone could comment the other challenges I'm experiencing as well I would be really grateful.
This documentation page describes how to create/edit/remove content from the user side: http://ez.no/products/ez_publish/documentation/customization/tips_tricks/editing_creating_and_removing_content_from_the_user_page
Thank you. Hope someone will update this kind of documentation to the new template language soon.
The last thing I haven't quite got figured out is where I should but these buttons. Is it normal to add the code to the override templates for the classes and control the access via the permission settings (roles, users etc), or play with override for certain sections.
First, you must put it in your templates.
second, this code doesn't allow your users to create objects if they don't have appropriate rights.
for exemple , you can have 2 users (with differents rights) using the same page and having different buttons.
it look up throught the permission to deplay or not the button. don't forget that:
{section show=$node.object.can_create}{*or can_create*}
{*the form to create*}
{/section}