Re: Rustic Template Support Thread
Quote:
Originally Posted by
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;
}
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
Re: Rustic Template Support Thread
Quote:
Originally Posted by
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.
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
Re: Rustic Template Support Thread
Quote:
Originally Posted by
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.
Re: Rustic Template Support Thread
Quote:
Originally Posted by
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
Re: Rustic Template Support Thread
Quote:
Originally Posted by
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.
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
Re: Rustic Template Support Thread
Quote:
Originally Posted by
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.