More in this section

Forums / Developing with Sitefinity / Importing an Existing Site

Importing an Existing Site

3 posts, 0 answered
  1. Jen
    Jen avatar
    11 posts
    Registered:
    18 Jan 2009
    28 Jan 2009
    Link to this post
    I have an existing site that we want to bring under control of a CMS.  However there are a few features of the site that I'm not sure how to bring into the CMS.

    1) Custom Image Gallery.  We use a different layout to the standard available parts available.  How easy is it to make use of using the file library but our own image gallery layout?  The user needs to be able to add/remove images, as well as set a specific order in which they are displayed.

    2) Video Gallery.  We want a flash player, with thumbnails underneath - you click on the thumbnail and that particular video plays.  We'd need potentially a subset of different videos and the ability to set a particular order on them.

    3) Accordion style text.  I want the user to be able to edit/add content to an accordion type list of text.  How easy is that to do but make it foolproof to the user?  Do I need to create an accordion type sample as a web part ??

    4) If we had a standard footer to apply to certain pages of the site - do I make a page template with that footer in html.. or should I make a web part with that content so the user can easily drag on??

    Thanks in advance - I have a short time to get my head around this and am struggling getting my head out of .net developer mode :)
  2. Jen
    Jen avatar
    11 posts
    Registered:
    18 Jan 2009
    30 Jan 2009
    Link to this post
    Hi,

    Could I please get some advise on any of these tasks from a Sitefinity expert!!

    Some further information to the below.

    2) I have added my own video gallery control.  However this control is using an XML file to load the list of flash files.  There are flash files as per this structure:
    Site/Files/Video/video1.swf
    Site/Files/Video/flv/video1.flv

    How do I make both the flash and xml files editable by an ordinary CMS user?

    Is there any trick to referencing this flash files - if you upload them via the cms interface?  ie. the swf files need the flv files to be sitting in a subdirectory as per above.

    3) Any ideas on how to easily make a user control that will have expanding panels - that require both head and body javascript.  I don't think the user will have the html knowledge to edit html that makes an ajax accordion work without breaking it.  So want to make it foolproof

    and no more info on the others.

    Thanks!!
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 Feb 2009
    Link to this post
    Hi Jen,

    Thank you for your questions, and I apologize for the late response. Here are the answers:


    1) Custom Image Gallery.  We use a different layout to the standard available parts available.  How easy is it to make use of using the file library but our own image gallery layout?  The user needs to be able to add/remove images, as well as set a specific order in which they are displayed.

    You can still use our backend to manage your images. For the order functionality, you need to define a new metafield, in which you will store the order information. Please refer to our User Manual, Customizing Images and Documents module section for more information on adding metafields.
    Then, you can use our API to retrieve the images out of the CMS, and supply them to your custom gallery in an order set by the metafield. There are some examples in our Dev. Manual on that.

    2) Video Gallery.  We want a flash player, with thumbnails underneath - you click on the thumbnail and that particular video plays.  We'd need potentially a subset of different videos and the ability to set a particular order on them.
    The approach is more or less the same like 1). You can make your files editable by exposing their properties though a user control.

    3) Accordion style text.  I want the user to be able to edit/add content to an accordion type list of text.  How easy is that to do but make it foolproof to the user?  Do I need to create an accordion type sample as a web part ?? Any ideas on how to easily make a user control that will have expanding panels - that require both head and body javascript.  I don't think the user will have the html knowledge to edit html that makes an ajax accordion work without breaking it.  So want to make it foolproof
    I am not exactly sure what you mean. Is this for the public site users, or for the ones who edit the site?

    4) If we had a standard footer to apply to certain pages of the site - do I make a page template with that footer in html.. or should I make a web part with that content so the user can easily drag on??
    The best approach here would be to embed your html in the page template. This way, it will be visible on all of your pages, and will be predefined for all pages using that template.

    I hope these answers help you. Let me know if you need some more information.

    Regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
3 posts, 0 answered