Page 1 of 1

New Content Block not showing in preview window

Posted: Thu Nov 08, 2007 4:13 pm
by TJINAK
Please see code below:

Code: Select all

   {* Start Content (Navigation and Content columns) *}
   <div id="content">

      {* Start Navigation *}
      <div id="sidebar">
         <h2 class="accessibility">Navigation</h2>
         {menu template='cssmenu.tpl'}
      <hr class="accessibility" />
      </div>
      {* End Navigation *}


      {* Start Content Area, Right Column *}
      <div id="main">
         <div style="float: right;">{print showbutton=true script=true}</div>
         <h2>{title}</h2>
         {content} <br />
       </div>

     [color=red] {* Content Area below css menu and right column *}
      <div id="main2" class="hascontent">
       {content block='main2'} <br />
        </div>[/color]

After adding eh "main2" content block to my template everything seems to work just fine except when I want to use the preview window during edits??

Any ideas?

Thanks
TJ
Running CMS Made Simple 1.1.4.1 "Taga"

Re: New Content Block not showing in preview window

Posted: Thu Nov 08, 2007 4:37 pm
by calguy1000
multiple content blocks don't work in preview afaik.

Re: New Content Block not showing in preview window

Posted: Thu Nov 08, 2007 6:05 pm
by TJINAK
Hmmm    :-\

I guess I need to rethink my template layout.  I don't want to deploy a system that can't use the preview...

Re: New Content Block not showing in preview window

Posted: Fri Nov 09, 2007 6:41 am
by Dr.CSS
Use a browser with tabs, like Firefox, and keep a page using the template open and refresh after changes, never used the preview...

Re: New Content Block not showing in preview window

Posted: Fri Nov 09, 2007 3:31 pm
by TJINAK
I appreciate your comment Mark.  I do that myself but when I'm going to turn a site over to the client they are, with no doubt in my mind, going to try the preview button.

Not sure I really like my solution anyway.  It took place on another thread where I was trying to get my content to wrap down below the menu navigation that floats to the left. 

Thanks for posting.

TJ

Re: New Content Block not showing in preview window

Posted: Fri Nov 09, 2007 4:39 pm
by Dr.CSS
You could try and take the preview button out...