New Content Block not showing in preview window

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

New Content Block not showing in preview window

Post 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"
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: New Content Block not showing in preview window

Post by calguy1000 »

multiple content blocks don't work in preview afaik.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: New Content Block not showing in preview window

Post 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...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: New Content Block not showing in preview window

Post 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...
TJINAK
Forum Members
Forum Members
Posts: 136
Joined: Wed Feb 22, 2006 1:01 am

Re: New Content Block not showing in preview window

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: New Content Block not showing in preview window

Post by Dr.CSS »

You could try and take the preview button out...
Post Reply

Return to “CMSMS Core”