Need to vertically align image on "more info" page

General ShopSite user discussion

Need to vertically align image on "more info" page

Postby gkrehbiel » Thu Jul 30, 2009 7:58 am

I'm using the Congruence template and I'd like to vertically align the image on the "more info" product page.

I have edited the image specs and added valign="top", but that doesn't do it. I need to be able to add the valign tag to the table cell.

I've made a copy of the Product template and edited it, but the "more info" pages are apparently governed by an include file at the bottom.

[-- DEFINE MORE_INFO_PAGE --]
[-- INCLUDE VAR.MoreInfoTemplate PROCESS --]
[-- END_DEFINE MORE_INFO_PAGE --]

How can I get to that file and edit the cell to add the valign tag? (Or is there some other way?)

Thanks,

Greg
gkrehbiel
 
Posts: 97
Joined: Mon Jun 15, 2009 11:31 am
Location: Washington, D.C.

Postby Jim » Thu Jul 30, 2009 10:44 am

The "Include" files are in a separate directory. There should be a link on the Merchandising > Custom Templates screen that will allow you to copy the ShopSite include file and then edit it.

Note that you will need to find where the VAR. that defines what the include file is and then edit that file.

I checked and that var is defined in the Congruence.sst and is set to
Congruence-MoreInfoPage.sst so that is the include file you will need to find and edit.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

How do I call the edited include file?

Postby gkrehbiel » Thu Jul 30, 2009 10:54 am

Thanks Jim. That's easy enough. But once I copy the include file and make my own version of it, how do I call the new include file?

The template call is like this.

[-- DEFINE MORE_INFO_PAGE --]
[-- INCLUDE VAR.MoreInfoTemplate PROCESS --]
[-- END_DEFINE MORE_INFO_PAGE --]

The original include file is called Congruence-MoreInfoPage.sst

I made a new version (with my valign commands) called Congruence-MoreInfoPage_GK.sst

Thanks,

Greg
gkrehbiel
 
Posts: 97
Joined: Mon Jun 15, 2009 11:31 am
Location: Washington, D.C.

Postby Jim » Thu Jul 30, 2009 12:22 pm

The easiest way would be to just replace the
[-- INCLUDE VAR.MoreInfoTemplate PROCESS --]

with
[-- INCLUDE Congruence-MoreInfoPage_GK.sst PROCESS --]

You could also make a copy of your Congruence-MoreInfoPage_GK.sst and rename it Congruence-MoreInfoPage.sst so that it will override the ShopSite provided template.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

That worked

Postby gkrehbiel » Thu Jul 30, 2009 12:24 pm

Thanks! That did the trick.
gkrehbiel
 
Posts: 97
Joined: Mon Jun 15, 2009 11:31 am
Location: Washington, D.C.


Return to User Forum

Who is online

Users browsing this forum: No registered users and 123 guests