View Single Post
  #4  
Old 08-09-2007, 01:33 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: how to have a section with 2 column layout while the rest 3-column

Quote:
Originally Posted by pumpkins
1)First of all, when ever you generate a static page in X-cart it assign an ID # to the page, but does that # change? If I add, delete and also change to POS of these static pages, would that mess up the PAGEID? And is it also possible to manually assign page ID so that it could be better managed?

No -- you are stuck with the pageID assigned. it really doesn't matter what it is, it's only for under the hood. The POS has nothing to do with pageID.

Quote:
2)how about the other pages? such as home page, product pages and so on. the code on your last post:

{if $main eq "pages" and $page_data.pageid eq "1"}
3rd column code goes here
{/if}

basically says: if pageid equals to 1, then display these(3rd column).

Not exactly....
If your goal is to REMOVE the 3rd column for the static embedded pages, the if may want to be:
Code:
{if $main eq "pages" and $page_data.pageid eq "1"} {else} 3rd column code goes here {/if}

This will always display the 3rd column code except when pageid 1 is to be displayed.
Quote:
3. How would all this be affected if I installed a SEO mod, such as cdseo, DSEFU or XC SEO?

CDSEO will not have any issues. Can't speak for the others. CDSEO lets the under-the-hood links do their thing, yet the visible links are nice and pretty looking.

Try adding the {else} and see if this works more to your liking.

The next step is to get creative with smarty, and find a RANGE of pageIDs to include/exclude.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote