Never mind..I found the problem..again..I love this template![]()
Never mind..I found the problem..again..I love this template![]()
First of all, thx for the template.
My question is that: How can I change image buttons and make them css buttons?
I have already changed the relevant setting in the admin but there are still some buttons with images, for example Update Cart, Product Details. So, How can I make them css buttons ?
thanks in advance
Dear Picaflor-Azul
As it says in the wiki that "You have the choice to use image buttons or CSS-styled buttons in Zen Cart™, this Admin option can be configured in Configuration > Layout Settings > CSS Buttons." look at here
According to this information, all buttons should be converted to css code after setting the configuration. However, there are still some buttons with image even though I configured this admin option.
So, it seems that the template is not fully compatible with the admin options. By the way, sure that I had searched it in forum but I couldn't find proper answer.
Anyway thanks
Ola Anne
I am sorry, you are right. Default template has also the same problem. After googling more, I found a way and fixed it.
One more thing, is it possible to put slider underneath the menu without any column on left and right sides? Or which files should I change to do it?
thanks in advance
I think, I did but there is still one more problem where I need help. Firstly How did I do it?
1. Copy and paste the content of define_main_page and create new PHP file, for example, sliderEx.php
2. Put this new file into includes/template/template_default/common
3. Delete the content of define_main_page.php in Admin
4. Add this php code below into tpl_main_page right after this line(line 75)HTML Code:<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
5. Update slider pictures and make them bigger with width:950px;PHP Code:<?php
if (($_GET['main_page']='index') && (!isset($_GET['cPath']))) {
echo '<tr>';
require("sliderExperimental.php");
echo '</tr>';
}
?>
The problem is that when I click Contact_us or Login page it doesnt work. I meant that the code is not supposed to work in these pages. It seems that if statement is not working.
by the way, my testing page is www.displayflash.com/onlinestore
any help, wellcome.
I think I solved the question. The code should have been like this
PHP Code:<?php
if ($this_is_home_page) {
echo '<tr>';
require("sliderExperimental.php");
echo '</tr>';
}
?>