Copying tables within WYSIWIG page editor

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Joff
Forum Members
Forum Members
Posts: 23
Joined: Wed Jan 25, 2006 10:54 pm

Copying tables within WYSIWIG page editor

Post by Joff »

I've got a less web-savvy friend that I'm implementing a CMS MS site for.

On one of his pages, I've started him off with a table layout for a product list which he wants to replicate a number of times on the same page.
Is there a simple way through the editor to do this without creating a new table each time as I've applied a couple of CSS classes to the table cells which might take a bit of explaining.

I'd also rather he didn't start cutting and pasting the source code.

Any suggestions?
twitter: @joffff
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Copying tables within WYSIWIG page editor

Post by tsw »

not 100% sure but I think you can click outer border of the table to select it as a whole, after that simple copy paste would do

still I would probably use some other way to create the list (maybe with cataloger module or just using some other html tags like )
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Copying tables within WYSIWIG page editor

Post by Dr.CSS »

i've used this method...
set up the page with your tables mine has 3 col. ...

       
           
              product category title

           
       
        row 1
               col. 1
               col. 2
               col. 3
       
        row 2
             
             
             
       
        row 3
             
             
             
       

these have styling in css, the &nbsp make them show up on the edit page, when they edit the page it's just fill in the boxes,
if they don't have enuf to fill all rows i do this to take one or more rows out..

       
             
             
             
       
       
             
             
             
       
       
             
             
             
        -->

and those 2 rows don't show up on the edit page or the viewed page when you need more rows just take those out, of course this all has to be done by the 'view source' on the edit page, the lady i set this up for has no trouble working in 'view source' after i showed her how, you can leave some of them 'commented' out like that at the bottom of the page and copy/paste them in w/o to add more rows...

in action...  http://blueoakom.com/index.php?page=pricing  view source and you will see rows not used yet but with input ready to go when the product is.....

  HTH
        mark
Post Reply

Return to “Layout and Design (CSS & HTML)”