how to install a template
how to install a template
I have SSL for the 'live' site only.
I don't know much about SSL and how that would affect things.
The 'test' site doesn't have ssl and does the same thing as the 'live' site that does have ssl. I went and disabled the enable ssl in the config files and it didn't change anything (I re-enabled it after I tested that). I also made another subdomain, no ssl, and did a fresh install and the template works fine.
The first 'test' and 'live' sites all work perfectly except for that one page. The actual 'checkout' page in the top navigation, HOME | LOG IN | 0 ITEM(S) - $0.00 | CHECKOUT, doesn't change and neither does the 'login in' page. As far as I can tell it's just that single shopping cart page. All other pages work fine. I have no idea what I must have done to both the 'test' and 'live' site to mess up that one page.
I wonder if I get the original default files, for that shopping cart page only, and copy them over to my server if that might reset something? I'm not really sure which files I would need to do that with since there are files all over the place and I easily get lost in all of the folders.
It really just seems to be the styles for the links that aren't working correctly. I don't understand why everything else works and just those lose their styles? The rollover style that gives the links, at least in the menu, still give that orange background, but the visited links are all that default ugly blue color. I kind of understand why the page seems to get smaller on the 'live' site and not the 'test' site, it's because I made everything larger on the 'live' site and for some reason that page reverts to unedited css or something. It's bizarre.
Thanks for your help. I know answering 40+ pages of questions must be tiring at times.
Since the problem is not present in the template demo, it must be related to a change that you made. If it were me, I would back track through my changes until I found where the problem started.
I just noticed that it is the amazon stylesheet causing the problem on the shopping cart page. You can see it using firefox. I would check that modules support thread to see if there is a way to override this stylesheet.
Thanks,
Anne
Thank you for narrowing down the problem! You have no idea how much I appreciate that. I disabled the module and everything went back to normal then enabled and it went all funky again. Now I just need to investigate a little more into those specific files and get that fixed up.
Thank you!
I looked around and found an article on adding a link to the header by changing the code in the tplheader.php file :
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should be changed to the name of the template/language you are using.
There are two options for adding additional links to the header and footer of your site.
OPTION 1:
Additional links requires editing two files; tpl_header.php and tpl_footer.php.
You can add internal page links as well external links. We'll use tpl_header.php in this article, but the same procedures would apply to tpl_footer.php.
Adding an internal page link (let's use the Contact Us page in this example.)
In your text editor open includes -> templates -> template_default -> common -> tpl_header.php
find the following code:
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
<li><?php echo '<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
Add the following code just below the last line in the above code.
<?php if (DEFINE_CONTACT_US_STATUS <= 1) { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">' . BOX_INFORMATION_CONTACT . '</a>'; ?></li>
<?php } ?>
You would add an external link as outlined above.
<li><a href="http://your_external_link.com">Your Link Text</a></li>
Save the edited file to includes -> templates -> CUSTOM -> common -> tpl_header.php and upload to your server.
OPTION 2:
Make sure the EZ-Pages header or footer are activated - admin -> configuration -> EZ-Pages Settings and turn them on.
Using EZ-Pages - Go to admin -> tools -> EZ-Pages and click the New File Button.
Fill in the Page Title Box (in our example add Contact Us)
Select Where you want the link to appear:
Header -> select Yes and add a Sort Order
Footer -> select Yes and add a Sort Order
Scroll down to the Internal Link URL box
Add your link as follows - index.php?main_page=contact_us (You would follow this procedure for whatever page you are adding)
Click the Insert Button and your finished.
----------------------------------------------------------------------------------------
I am very confused. If I add the code using those specifications to the header php file, do I need to change anything about whats in the lines of code? Where do I put the actual html link: <li><a href="http://your_external_link.com">Your Link Text</a></li> ? I Mean in which file do I put the html link? All I want is a link to my all products listing on my header instead of just in the footer.
-Marie
Bookmarks