View Single Post
  #1  
Old 10-10-2007, 09:00 AM
  DrQuietus's Avatar 
DrQuietus DrQuietus is offline
 

Advanced Member
  
Join Date: Dec 2005
Posts: 81
 

Default Embedded Static Page Problem

I have laid out a three column site that is parked here: http://probotest3.com The middle column is obviously where the content is getting called. On the home page I have a flash that is the width of the second and third column so I used this code:

{if $main eq "catalog" and $current_category.category eq "" }

{include file="customer/main/welcome.tpl" f_products=$f_products}

{/if}

{if $main ne "catalog" OR ($main eq "catalog" and $current_category.category ne "")}
<div id="middlecolumn">

This is excluding the middlecolumn and the rightcolumn from the home page and is working great. However I now have a static page 'pages.php?pageid=24' that also needs to be the width of the home page. It is a flash map that has the contact info for people in different areas of USA, but when I make it small enough to fit in the middlecolumn it is unreadable.

I thought I could add to the above statements and include the welcome.tpl on this static page, then put the {if $main eq "catalog" and $current_category.category eq "" } on the welcome.tpl so it displays the correct flash when you are on the home page or the static page.

what would the code be if I want to say {if $main eq "pages.php?pageid=24"} ? What do I need to replace "pages.php?pageid=24" with to make it work?
__________________
Dave Jones
dave@industrialwebworks.net
Mostly 4.7.2 - 4.7.5
Reply With Quote