Copied to clipboard

Flag this post as spam?

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


  • Sa 118 posts 152 karma points
    Oct 16, 2009 @ 08:05
    Sa
    0

    custom sections with create and delete dialog

    hi folks.,

    how to do(create and delete actions)  in custom sections created by the user?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 16, 2009 @ 09:14
    Dirk De Grave
    1

    Hi sas7,

     

    You may find excellent resources on umbraco.tv about setting up custom sections and building create/delete pages for those.

    Other resources may exist on the web, I don't have those references here.

     

    Cheers,

    /Dirk

  • Sa 118 posts 152 karma points
    Oct 20, 2009 @ 11:51
    Sa
    0

    thanks.,

    i want settings as such.,

    when i right click parent node., it should show the Create and Reload Nodes context menu,

    when i right click childnodes., it should show the delete Node context menu,

  • Ulrik Knudsen 14 posts 25 karma points
    Oct 20, 2009 @ 13:39
    Ulrik Knudsen
    0

    Hi

    Make a new class, that implements umbraco.interface.ITaskReturnUrl.
    Implement Save method for Create and Delete method for Delete :-)
    ReturnUrl property is used for redirection after creation e.g. to edit page.
    Edit /umbraco/config/create/UI.xml (insert new nodeType and reference the new class).

    Best regards
    Ulrik

  • Sa 118 posts 152 karma points
    Dec 02, 2009 @ 08:22
    Sa
    0

    hi folks.,

    when i try to implement save method  for my custom section, i am getting following error

    <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> Value cannot be null.
    Parameter name: type

     

    <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->

  • Sa 118 posts 152 karma points
    Dec 02, 2009 @ 08:24
    Sa
    0
    sorry ..problem in posting.
    when i try to implement save method  for my custom section, i am getting following error
    
    
    Value cannot be null.
    Parameter name: type

     

Please Sign in or register to post replies

Write your reply to:

Draft