Sorry to bump, but I'm at a loss. (see above)
http://www.zen-cart.com/attachment.p...1&d=1354653895
Hi guys,
Having trouble getting the link to show up on configurations,
I have seen Balihr post up 2 differant way to set up the "admin page registration" page
Can someone please confirm how it should be worded, as mine is showing "The language key entered has not been defined. Please check that it has been spelt correctly."
when I put in the one he supplied on page 25 of this thread.
I am using zen-cart 1.5.1
Last edited by SLY Designs; 6 Apr 2013 at 02:11 PM.
First off, thank you so much for this contribution, balihr! Making use of the banner manager this way was a brilliant idea!
My question is, if I want to make the slideshow full width of the main container and appear above the left, right and center columns, but underneath the header (and appearing only on home page), what file do I need to edit and how?
Using v1.5.1
theme: Andover Modern, modified css
add-ons:
Contact reCaptcha
Fual Slimbox
Image Handler 4
Mailchimp 3.0
Tabbed Products Pro
Testimonials Manager
Ultimate SEO URLs
Thanks so much,
Signs
I figured out a way to do it! I moved the call for the slideshow to the tpl_header.php file at the very bottom and wrapped it in my own division. I then styled that division to have a background that matched my main content area and set the slideshow to be the full width of the main wrapper.
I added the css for my new division to the stylesheet "index_home.css" and then to keep the whole thing from displaying on anything but home page, I added css for that same division to the main stylesheet.css and set it to "display:none".
I'd really rather just have the slideshow php code check to see if the page displaying is index page and if not, don't show the slideshow, but I'm better with css than I am with php.
If anyone could tell me how to place that conditional statement that checks to see if the current page is index/home page, and if so, display the slideshow I'd greatly appreciate it.
Here's the slideshow call:
Code:<!-- begin edit for ZX Slideshow --> <?php if(ZX_SLIDESHOW_STATUS == 'true') { ?> <?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?> <?php } ?> <!-- end edit for ZX Slideshow -->
YAY! I googled the answer for how to check if main page is index and so now this is the code I've added to the very bottom of my tpl_header.php file:
The div id of "snwd-slideshow" is my own wrapper division in order to style it with a background that matches my main content container. The css for that is added to the "index_home.css" stylesheet and this is what I used (you'll need to style it your own way to match your own store):Code:<?php if($current_page_base=='index' and !isset($_GET['cPath'])) { ?> <div id="snwd-slideshow"> <!-- begin edit for ZX Slideshow --> <?php if(ZX_SLIDESHOW_STATUS == 'true') { ?> <?php require($template->get_template_dir('zx_slideshow.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/zx_slideshow.php'); ?> <?php } ?> <!-- end edit for ZX Slideshow --> </div> <?php } ?>
#snwd-slideshow
{
display: table !important;
width: 100%;
background: #fff;
padding: 0;
}
Also, after I made sure everything is working properly I went ahead and removed the slideshow call from the tpl_index_default.php file so it's no longer coded into the center column area.
I made sure to back up all my files as I was going along in case anything went wrong so I could revert to the traditional slideshow display. And naturally this is all done in the overrides template files so nothing will break when I upgrade.
Since I am new at doing this much file editing (usually just stick to the css) if anyone reading this sees some glaring error I have made or that I have done this in a hacked up way, please feel free to correct me so I can learn.
I'm only posting this here about moving the slideshow so it shows directly under the header area with full width before left, right and center columns because I couldn't find the answer elsewhere and figured I would share what I found here in case someone else might want to try it.
Any way to get rid of the gray bar across the bottom so there is no title and it's just MY image?
Bookmarks