Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / image on main page only

image on main page only

Locked

Views: 1,683

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
30 Jun 2008, 2:18 AM
#1
sparano avatar

sparano

New Zenner

Join Date:
May 2008
Posts:
12
Plugin Contributions:
0

image on main page only

I am trying to put an image on the main page only. I want it in the center column.
I am working on a remote server,MAMP. I think the file on need to change is tpl_main_page.php. I am not sure where on this template I can insert the image.
Please if someone can tell me the correct code to use.
In the admin area, under define pages editor this main page template is not there.
Please help. Thank You:dontgetit

30 Jun 2008, 2:30 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: image on main page only

admin > tools > defines page editor > select main_page.php

30 Jun 2008, 3:02 AM
#3
sparano avatar

sparano

New Zenner

Join Date:
May 2008
Posts:
12
Plugin Contributions:
0

Re: image on main page only

Thank you for responding. I did look in define pages editor. the main_page.php is not there.

30 Jun 2008, 4:00 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: image on main page only

Well it should be unless you have deleted it

Grab a distribution of the same version as you have installed - expand it locally and then with your FTP client compare the /includes/lannguages/english/html_includes folders and transfer any that are missing

30 Jun 2008, 6:59 PM
#5
sparano avatar

sparano

New Zenner

Join Date:
May 2008
Posts:
12
Plugin Contributions:
0

Re: image on main page only

Hi
I have the main page back in define page editor. My image is in a image folder on a remote server. what is the code I put in?
Thanks

30 Jun 2008, 8:22 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: image on main page only

My image is in a image folder on a remote server. what is the code I put in?
Easiest to copy the image to this server

30 Jun 2008, 8:36 PM
#7
sparano avatar

sparano

New Zenner

Join Date:
May 2008
Posts:
12
Plugin Contributions:
0

Re: image on main page only

thank you for your help.
I did manage to get the image on the main page. When it appeared it was thumbnail size. Is it correct to resize it by going to configuration then images?
I changed subcategory image width and height.

30 Jun 2008, 8:44 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: image on main page only

I did manage to get the image on the main page. When it appeared it was thumbnail size. Is it correct to resize it by going to configuration then images?
Images entered into the main_page.php area are not subject to the Zen Cart image settings....

Poat a link so we can see what is up

1 Jul 2008, 2:56 AM
#9
sparano avatar

sparano

New Zenner

Join Date:
May 2008
Posts:
12
Plugin Contributions:
0

Re: image on main page only

I am also having a problem putting an image in the right column sidebox. I want to change the stylesheet to do this. I went thru the forum and I tried everything.
The image still will not appear.
The image I made will be the buttons for the catergories. I designed my own image for this.
I spent hours on this to no avail. What should I do?
Please tell me where on the stylesheet I should put the image code.
thank you:(:(

1 Jul 2008, 3:20 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: image on main page only

Post a link to this so I others can also see and advise