Products

Product Name

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore

[allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Michael Eichelsd?rfer [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> Select DIV and duplicate it - Macromedia Contribute General Discussion

Select DIV and duplicate it - Macromedia Contribute General Discussion

Lets say I have a list of products, displayed in DIV containers underneath each other. Can a Contribute user select one of those DIVs and copy/paste it to add a new product. I guess you could just put the products in a table and add a new row - that's the kind of functionallity I want but would rather use DIVs. Whole DIVs just dont seem selectable in Contribute....

  1. #1

    Default Select DIV and duplicate it

    Lets say I have a list of products, displayed in DIV containers underneath each
    other. Can a Contribute user select one of those DIVs and copy/paste it to add
    a new product.

    I guess you could just put the products in a table and add a new row - that's
    the kind of functionallity I want but would rather use DIVs.

    Whole DIVs just dont seem selectable in Contribute.

    naked_ollie Guest

  2. #2

    Default Re: Select DIV and duplicate it

    OK, looks like somebody else has raised this too,
    [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=290&thre[/url]
    adid=913128&highlight_key=y&keyword1=div

    But no solution it would seem...

    naked_ollie Guest

  3. #3

    Default Re: Select DIV and duplicate it

    This seems to be rather simple - all you need is a template for the product
    page including a repeatable area. A simple template could look like this:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
    <head>
    <meta http-equiv="content-type" content="text/html; cht=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>template</title>
    <!-- TemplateEndEditable -->
    <title>Demo</title>
    </head>
    <body>

    <div id="header">
    </div>

    <div id="navigation">
    </div>

    <div id="main">

    <h1>Products</h1>

    <div class="product">
    <!-- TemplateBeginRepeat name="Products" -->
    <h2><!-- TemplateBeginEditable name="ProductName" -->Product Name<!--
    TemplateEndEditable --></h2>
    <!-- TemplateBeginEditable name="ProductText" -->
    <p>
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
    nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
    enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis
    nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in
    hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu
    feugiat nulla facilisis at vero eros et acsan et iusto odio dignissim qui
    blandit praesent luptatum zzril delenit augue duis dolore
    </p>
    <!-- TemplateEndEditable -->
    <!-- TemplateEndRepeat -->
    </div>

    </div>

    <div id="footer">
    </div>

    </body>

    </html>

    Michael Eichelsd?rfer Guest

Similar Threads

  1. MS Access SQL: duplicate record... ?SELECT INTO....?
    By Scotter in forum ASP Database
    Replies: 8
    Last Post: June 30th, 12:25 PM
  2. select all the duplicate records
    By atse in forum ASP
    Replies: 9
    Last Post: October 19th, 06:59 PM
  3. Replies: 0
    Last Post: September 24th, 03:24 AM
  4. Replies: 0
    Last Post: September 11th, 12:19 AM
  5. Replies: 0
    Last Post: April 15th, 01:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •