Zen Cart Logo
Forums / Addon Templates / Rustic Template Support Thread

Rustic Template Support Thread

Views: 80,065

Results 61 to 80 of 321
20 Nov 2008, 7:49 PM
#61
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Rustic Template Support Thread

ve3sjk:

Hello All,

I am new to Zencart and have installed the Rustic Template.

My site can be found at http://nblx.nbenterprises.ca/nbstore/

I am having problems trying to do a couple of things.

  1. I would like to have the logo in the header fill the entire header and if possible dynamicaly change size based on browser resolution.
  2. I would like to move the Cart Totals and Welcome Greeting to a line below the logo image with tne greeting on the left and cart on right
  3. I would like to have the "Welcome to N.B. Enterprises" centered above the new products on the home page.

Any help would be appreciated.

Thanks
Steve

1. I would like to have the logo in the header fill the entire header and if possible dynamicaly change size based on browser resolution.

If you want the graphic to fill the entire header you will need to create a new one that has the proper width. currently it is 800px wide - you would need it to be at least 910px wide.

in the mean time you can open includes/templates/rustic/css/stylesheet.css.

find this declaration and make the highlighted change:

#logo {

text-align:center;
}

2. I would like to move the Cart Totals and Welcome Greeting to a line below the logo image with tne greeting on the left and cart on right

open includes/templates/rustic/css/stylesheet.css

find the following declarations and make the highlighted changes:

#cartHeader {
	position: absolute;

top: 90px;
right: 0;
font-size: 1.2em;
color: #6D0000;
background: #DCD6C4;
font-weight: bold;
width: auto;
}
.greeting {
position: absolute;
top: 90px;
left: 0;
color: #6D0000;
background: #DCD6C4;
font-weight: bold;
font-size: 1.2em;
width: auto;
}

*3. I would like to have the "Welcome to N.B. Enterprises" centered above the new products on the home page.
*

open includes/templates/rustic/css stylesheet.css and add the following declaration:

#indexDefaultHeading {
text-align: center;
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Dec 2008, 11:07 PM
#62
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Rustic Template Support Thread

After I installed the template and I know this is probably not the templates fault, but the main page looks great the side boxes and products show up, but when you click on one of the products it goes to a blank page, no side boxes or product, but if you press the back button it will go back to the main screen, any idea where I mite start to look for the problem causing this blank page?

pete

30 Dec 2008, 11:57 PM
#63
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

colemanpa:

After I installed the template and I know this is probably not the templates fault, but the main page looks great the side boxes and products show up, but when you click on one of the products it goes to a blank page, no side boxes or product, but if you press the back button it will go back to the main screen, any idea where I mite start to look for the problem causing this blank page?

pete

download and install the debug error utility

Check the error message and post it here so I can take a look.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Dec 2008, 1:44 AM
#64
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Rustic Template Support Thread

boy does that tell a story there's two out of four the last two were dups, looks like there a problem with the RSS and hoverbox.

[30-Dec-2008 16:36:11] PHP Warning: require(includes/templates/template_default/templates/tpl_rss_feed_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/html/includes/templates/rustic/common/tpl_main_page.php on line 122
[30-Dec-2008 16:36:11] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_rss_feed_default.php' (include_path='.:/usr/share/pear') in /var/www/html/includes/templates/rustic/common/tpl_main_page.php on line 122

[30-Dec-2008 16:36:13] PHP Warning: require_once(includes/templates/template_default/jscript/ic_hoverbox_config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/html/includes/modules/pages/product_info/jscript_hoverbox.php on line 3
[30-Dec-2008 16:36:13] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/jscript/ic_hoverbox_config.php' (include_path='.:/usr/share/pear') in /var/www/html/includes/modules/pages/product_info/jscript_hoverbox.php on line 3

31 Dec 2008, 3:27 AM
#65
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

colemanpa:

boy does that tell a story there's two out of four the last two were dups, looks like there a problem with the RSS and hoverbox.

[30-Dec-2008 16:36:11] PHP Warning: require(includes/templates/template_default/templates/tpl_rss_feed_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/html/includes/templates/rustic/common/tpl_main_page.php on line 122
[30-Dec-2008 16:36:11] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_rss_feed_default.php' (include_path='.:/usr/share/pear') in /var/www/html/includes/templates/rustic/common/tpl_main_page.php on line 122

[30-Dec-2008 16:36:13] PHP Warning: require_once(includes/templates/template_default/jscript/ic_hoverbox_config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/html/includes/modules/pages/product_info/jscript_hoverbox.php on line 3
[30-Dec-2008 16:36:13] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/jscript/ic_hoverbox_config.php' (include_path='.:/usr/share/pear') in /var/www/html/includes/modules/pages/product_info/jscript_hoverbox.php on line 3

I don't use either of these mods. However, you might want to try moving their related files into ../templates/rustic and see if that helps.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Dec 2008, 3:41 AM
#66
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Rustic Template Support Thread

clydejones:

I don't use either of these mods. However, you might want to try moving their related files into ../templates/rustic and see if that helps.

Thanks your always a great help, I was thinking of going over both mods to see what files got placed in template directories, but there should not be any the way I see it, but what do I know!

pete

31 Dec 2008, 4:10 AM
#67
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

colemanpa:

Thanks your always a great help, I was thinking of going over both mods to see what files got placed in template directories, but there should not be any the way I see it, but what do I know!

pete

As I said, I'm not sure about these mods.

but the error message seems to be calling both of them from ../inlcudes/templates/template_default.

That's why I suggested copying them to ../includes/templates/rustic just to see if that might make a difference.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Dec 2008, 4:49 AM
#68
colemanpa avatar

colemanpa

Zen Follower

Join Date:
Oct 2007
Location:
Fairbanks, Alaska
Posts:
423
Plugin Contributions:
0

Re: Rustic Template Support Thread

Thanks, added a couple of directories and files to the /includes/templates/rustic directory from my default template and now the errors are gone, thanks for your help!

pete

31 Dec 2008, 5:11 AM
#69
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

colemanpa:

Thanks, added a couple of directories and files to the /includes/templates/rustic directory from my default template and now the errors are gone, thanks for your help!

pete

Glad it got sorted.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

1 Jan 2009, 4:15 AM
#70
johnnyd avatar

johnnyd

New Zenner

Join Date:
Aug 2008
Posts:
17
Plugin Contributions:
0

Re: Rustic Template Support Thread

Hello Clyde, Great work on your template!
I have downloaded your rustic template and I wish to use a text image instead of writing text, also i wish to change the shopping cart to an image, I am new to this hoping you can assist Thanks John:smile:

1 Jan 2009, 4:44 AM
#71
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

Johnnyd:

Hello Clyde, Great work on your template!
I have downloaded your rustic template and I wish to use a text image instead of writing text, also i wish to change the shopping cart to an image, I am new to this hoping you can assist Thanks John:smile:

Can you be more specific about what you want to accomplish and provide a URL for your site.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

1 Jan 2009, 5:05 AM
#72
johnnyd avatar

johnnyd

New Zenner

Join Date:
Aug 2008
Posts:
17
Plugin Contributions:
0

Re: Rustic Template Support Thread

Hello Clyde thankyou for the fast response my site is not live at this stage so I dont have a url. I have a three d text gif image which i wish to use for a header I have it in includes/languages/english/rustic/header.php at the moment but i think it is the wrong place for it? The second thing i wish to do is use a shopping cart with icon button in place of text is this possible? thanks:smile:

1 Jan 2009, 5:27 AM
#73
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

Johnnyd:

Hello Clyde thankyou for the fast response my site is not live at this stage so I dont have a url. I have a three d text gif image which i wish to use for a header I have it in includes/languages/english/rustic/header.php at the moment but i think it is the wrong place for it? The second thing i wish to do is use a shopping cart with icon button in place of text is this possible? thanks:smile:

I have a three d text gif image which i wish to use for a header

Is this being used as your "logo" or as as your "header background"?


The second thing i wish to do is use a shopping cart with icon button in place of text is this possible***

Still not clear what you want to do with this and where you want to place it.

The current "shopping cart" image and text which is in the header changes dynamically as things are added to the cart.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

1 Jan 2009, 5:53 AM
#74
johnnyd avatar

johnnyd

New Zenner

Join Date:
Aug 2008
Posts:
17
Plugin Contributions:
0

Re: Rustic Template Support Thread

Hello Clyde, I have put a logo on the page,but the image i wish to install is actually the site name brass n stuff to be used with the existing template background. I have since tried the shopping cart and all i wish to do is change the colour. Thankyou John:smile:

1 Jan 2009, 6:20 AM
#75
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

Johnnyd:

Hello Clyde, I have put a logo on the page,but the image i wish to install is actually the site name brass n stuff to be used with the existing template background. I have since tried the shopping cart and all i wish to do is change the colour. Thankyou John:smile:

As I mentioned in earlier, It would be much easier to visualize what you want if you had a URL for your site and or post the image you have here.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

1 Jan 2009, 6:57 AM
#76
johnnyd avatar

johnnyd

New Zenner

Join Date:
Aug 2008
Posts:
17
Plugin Contributions:
0

Re: Rustic Template Support Thread

Hello Clyde, I have found the css style sheets and have been able to sort the cart side of my enquiry and I will try to post my heading here. thanks John:smile::smile:

1 Jan 2009, 5:44 PM
#77
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

Johnnyd:

Hello Clyde, I have found the css style sheets and have been able to sort the cart side of my enquiry and I will try to post my heading here. thanks John:smile::smile:

M recommendation would be to rename the header image to:

logo.jpg and save it to includes/templates/rustic/images/

next open includes/languages/english/rustic/header.php

find and edit the following section as indicated by the highlighted portions.

define('HEADER_LOGO_WIDTH', '640px');
define('HEADER_LOGO_HEIGHT', '79px');
define('HEADER_LOGO_IMAGE', 'logo.jpg');

Save the file and upload to your server.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

1 Jan 2009, 11:09 PM
#78
johnnyd avatar

johnnyd

New Zenner

Join Date:
Aug 2008
Posts:
17
Plugin Contributions:
0

Re: Rustic Template Support Thread

Hello Clyde, Thankyou for taking the time to assist me, after thinking overnight I have a url that shows what I wish to achieve Header only with 2 logoshttp://www.brassnstuff.com hope this will help explain. Thanks John:smile:

2 Jan 2009, 12:35 AM
#79
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Rustic Template Support Thread

Johnnyd:

Hello Clyde, Thankyou for taking the time to assist me, after thinking overnight I have a url that shows what I wish to achieve Header only with 2 logoshttp://www.brassnstuff.com hope this will help explain. Thanks John:smile:

save the attached image to includes/templates/rustic/images
[Attachment no longer available]

next open includes/languages/english/rustic/header.php

find and edit the following section as indicated by the highlighted portions.

define('HEADER_LOGO_WIDTH', '738px');
define('HEADER_LOGO_HEIGHT', '79px');
define('HEADER_LOGO_IMAGE', 'logo.jpg');

Save the file and upload to your server.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Jan 2009, 2:36 AM
#80
johnnyd avatar

johnnyd

New Zenner

Join Date:
Aug 2008
Posts:
17
Plugin Contributions:
0

Re: Rustic Template Support Thread

Hello Clyde, I have tried the things you have sent me and again thankful for the time you have spent.The logo,s were created in xara Webstyle as two seperate images so i would still like the ability to edit them in xara.Your default positon for a logo suits my needs for the first logo and I would like to delete entire header sales text and its position and replace that with second logo. I have edited the Logos and they are attached here.Thanks again John:smile: