Zen Follower
- Join Date:
- Sep 2008
- Posts:
- 115
- Plugin Contributions:
- 0
Post #1 by yelow
Good day all, thanks for viewing the thread. I've been messing with ZenCart and it's an awesome system, everything is pretty much self explanatory, but there is something that I'm not sure how to go about;
I have an online store that I'm working on (http://store.persite.com) (please don't order stuff it's live) (seriously it'll be a pain to get your moneys back) and it's going pretty well. I still need to get a .csv of all the products to fill our catalog, but I see where it's going in that regard.
Now, it's basically the stylistic changes that need to be made. I've made a handful of EZ pages, that only serve the purpose of displaying information, or in one case, collecting it. There will be no fancy phping in the EZ pages, I know that's standard, I've no need to install a mod to make work any other way.
HOWEVER, this is the issue that I'm having. I need to have four links in the upper right-hand side of the webpage. I have the icons in question saved as .gifs with transparency, and would like to position them in the pre-rendered grooves of the header_bg.jpg image.
I assume this would be best served as separate .gifs and absolute positioning, but this could also function as an imagemap. The implementation does not matter to me, whatever is less lines of code will do, basically.
The links are going to be all internal, one for shopping cart (zen cart needs to make a dedicated SHOPPING CART HERE CLICK CLICK CLICK part of the page, it's not obvious enough), one for account (or log-in, I suppose), one for Contact (ez page) and one for Support (also probably ez page).
I assume that this belongs somewhere here:
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
...but I'm not willing to bet the lives of loved ones on this assumption. Is this the right place?
And if so, how do I go about placing the images in? <img src= will surely not play well in the middle of a php document, so..?
Am I putting the images in a .tpl file in general? Or are they being 'styled' in as a z-index layer?
Thanks in advance for reading through this. I am not at all picky, and any method that will get 2 and 2 to equal 4 is good enough for me! :)
-Tim