Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
Table rows

 

 


Weldo
New User

Oct 24, 2002, 5:44 PM

Post #1 of 2 (2896 views)
Shortcut
Table rows Can't Post

Can I add rows to tables in order to create an expanding spreadsheet that keeps the column headings without HTML ? Can anyone help me ? I'm new to this dynamic type stuff....


Luke
Staff / Moderator


Oct 28, 2002, 6:06 PM

Post #2 of 2 (2874 views)
Shortcut
Re: [Weldo] Table rows [In reply to] Can't Post

While it is possible to use Page Publisher to update the contents within a table, Page Publisher doesn't have a feature for adding new table rows to an existing HTML table.

If you wanted to you could create a whole bunch of blank table cells with Page Publisher tags in them, and then fill them in as you add new data.

For example:


Code
<table>  
<tr><td><!-- publish name="row1" -->Content goes here<!-- /publish --></td></tr>
<tr><td><!-- publish name="row2" -->Content goes here<!-- /publish --></td></tr>
<tr><td><!-- publish name="row3" -->Content goes here<!-- /publish --></td></tr>
<tr><td><!-- publish name="row4" --><!-- /publish --></td></tr>
....
<tr><td><!-- publish name="row47" --><!-- /publish --></td></tr>
<tr><td><!-- publish name="row48" --><!-- /publish --></td></tr>
</table>



So while rows 1 through 3 would already have content in them, rows 4 and up would be blank rows that you could use for adding content at a future date.

I hope this helps. :)
Luke Holzken
Product Development