Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DevTeam 1 post 21 karma points
    Mar 14, 2012 @ 17:50
    DevTeam
    0

    Custom section in Umbraco 4.7.1 - almost there

    Hello,

    I am most of the way through creating a custom section in Umbraco 4.7.1. So far I have:

    • A section which loads a tree from a custom DB table
    • A custom edit form which allows users to modify existing records and save their changes
    • A 'Create' action in the right-click context menu of the tree which uses the /create/simple.ascx control

    All of this was very simple following the UmbracoTV videos, but unfortunately they stop short of 'finishing off' the custom section to fit seamlessly with the other standard Umbraco sections. Specifically I am at two sticking points:

    • I have built a custom 'Create' form which allows the user to supply more than just the 'name' of the record (i.e. we require that several of the properties of the record are not null) however this form does not close on submit neither does it present the new record in the edit form on the right.
    • I would also like the 'Save' button on my custom edit form to present the speech-bubble popup to confirm that the details have been saved.

    My initial assumption is that the edit page and create control need to inherit from a base class/interface, but I am struggling to find the appropriate base class/interface to inherit.

    Any help or guidance towards solving these two problems will be much appreciated.

Please Sign in or register to post replies

Write your reply to:

Draft