Answered Repeat Entry Dreamweaver equivalent

  • Thursday, November 15, 2012 1:03 PM
     
     
    In Dreamweaver there is the concept of a repeatable area in templates. This allows content admins to easily add rows to a table defined in a template. Is there an equivalent facility in Expression Web? If not, how should you organise editable areas to permit adding extra rows to tables defined in DWTs. Thanks

All Replies

  • Thursday, November 15, 2012 3:39 PM
     
     

    Which type of Dreamweaver editable region are you talking about? Nested, conditional or ?

    Expression Web has neither of those but typically a data table is completely inside of an editable region. If you are using tables for layout that's another issue and one use of tables that is highly discouraged. If you have a question about a particular page post a link for recommendations.


    Free Expression Web Tutorials
    For an Expression Web forum with without the posting issues try expressionwebforum.com

  • Thursday, November 15, 2012 7:09 PM
     
     

    AFAIK, all block elements must be completely contained within an editable region. Therefore, any table that you put within an editable region can have as many rows added to it as you want. If that is not what you are talking about, you are going to have to be clearer, and/or provide a link to an example page, with a description of your objective.

    BTW, if you're creating a table for tabular data, that's fine, and semantic. If you are using tables for general layout, that is non-semantic, and not recommended, and makes it difficult for search engines to index and rank your pages. What, exactly, are you talking about?

    cheers,
    scott


    Please remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.

  • Friday, November 16, 2012 2:23 PM
     
     

    Thanks Cheryl and Scott.

    Firstly, yes tables for tabular data not for layout purposes :o)

    OK, in Dreamweaver (not sure what versions but going back some time I think) templates you can have an editable area within a table cell for example. Wrapping that cell is, of course, a table row. You can then wrap that row in another 'TemplateBeginRepeat' tag pair. Thus when a content admin edits this table, they can alter the cell contents, but they can also add additional rows (or remove them). I think a little icon with a plus sign is displayed against the row to make the task of adding an extra row easy and intuitive in the GUI. More info here:

    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7ab0a.html

    I haven't been able to find a good way to facilitate the same process in EW, it sounds from both your responses like the only way to do this would be to place a table, possibly with many fields including headers that you would want to be non-editable, entirely within an editable area?

    Thanks,

    Ian

  • Friday, November 16, 2012 4:51 PM
     
     

    Once the table has been created all you have to do is right click inside of it, mouse over Insert and you will have the option to add rows, columns or cells.


    Expression Web MVP

  • Friday, November 16, 2012 9:04 PM
     
     Answered
    ... it sounds from both your responses like the only way to do this would be to place a table, possibly with many fields including headers that you would want to be non-editable, entirely within an editable area?

    Right. EW's DWTs are roughly equivalent to the DW DWT of about the time of DW MX or MX2004 or so. So, none of the expanded features of DWTs developed for later versions of DW are available. Although you would wrap the entire table in editable comments, you would not necessarily have to edit headers, summaries, etc. You could also simulate those in non-editable regions by making them separate, one-row tables that you could edit in the DWT for propagation throughout. Kinda kludgey, but there you are... ;-)

    cheers,
    scott


    Please remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.

    • Marked As Answer by Madeenie Monday, November 19, 2012 10:04 AM
    •  
  • Monday, November 19, 2012 10:04 AM
     
     
    Thanks everyone