Copied to clipboard

Flag this post as spam?

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


  • Sajid Riaz 142 posts 165 karma points
    Jul 09, 2010 @ 13:19
    Sajid Riaz
    0

    Gridview like functionality

    Hi Guys,

    Is there a way of presenting data to the admin of an Umbraco site with a gridview like screen.

    My scenario is that I want the user to be able to add images and also add comments to these images.

    so what I have to do is link the image with the text.

    I though about allowing the user to add their images to the media section, but how would I link a text property to the image.

    the site is for an estate agent.  I did think of creating an asp.net gridview and use its edit template etc etc.  But being a newbie to Umbraco, was wondering if there was something out there already for Umbraco.

    thanks for any reapsonse and time.

    >Sajid 

  • Sascha Wolter 615 posts 1101 karma points
    Jul 09, 2010 @ 14:13
    Sascha Wolter
    0

    Hi Sajid,

    There is no GridView like admin section view in the Umbraco CMS system to my knowledge. What you can do though is to add a custom section to Umbraco (e.g. described at http://www.nibble.be/?p=71). The new section is driven by your own custom aspx pages. On these pages you can place GridView controls that either operate on a custom database/filesystem or hook into the Umbraco system to present an alternative view on e.g. content nodes.

    If you just want to add comments to images in the Media library why not add a text field to the image data type? I guess the GridView would just be there for convenience reasons, so the user can edit all image comments in one go?

    Sascha

  • Sajid Riaz 142 posts 165 karma points
    Jul 09, 2010 @ 14:28
    Sajid Riaz
    0

    Hi Sascha, thanks for your kind replay.

    I didnt know you could add a text field to image datatype.

    I'm presuming I create a new datatype of type image and add textstring to it?

    and is this done in the developer section datatypes folder?

    also didnt know about the custom section of umbraco. 

    thanks for your help.

    <Sajid

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jul 09, 2010 @ 14:46
    Tom Fulton
    0

    You would add the new datatype under Settings -> Media Types, or you could just add a field to the existing Image type

    Also, there's a package called Repeatable Custom Content that can do what you want.

    Another way would be to write a custom datatype that includes a gridview.

  • Sajid Riaz 142 posts 165 karma points
    Jul 09, 2010 @ 15:22
    Sajid Riaz
    0

    Tom, Sascha Thanks so much..thats awsome!!

    that should do it.

    >Sajid

     

Please Sign in or register to post replies

Write your reply to:

Draft