Re: Acadame - Another Professional Template
Quote:
Originally Posted by
lhhgbh
Howdy test user.. Been a few weeks since I have been here and see the thread is staying busy.. Your template is great and everyone should give it a try. Anyhow my question of the month is: Is there a way I can make my main banner 3 change automatically? As you know my site is flag shirts. I dont want it to be like an animated gif where it changes constantly while its open. just that it alternates each time the page is refreshed or visited.. Didnt know if that was a do-able option. Thanks!
Create multiple banners for that area and set them up via the banner manager the same we we set that one up. It's not perfect, meaning you may see the same banner a few times upon refresh, but the chances of this happening decrease with every banner added.
I hope that's what ya needed!
-
Re: Acadame - Another Professional Template
will make some up and see how it works out.. Thanks for the help!
Re: Acadame - Another Professional Template
Quote:
Originally Posted by
lhhgbh
will make some up and see how it works out.. Thanks for the help!
No biggie ... anytime! :lamo:
Re: Acadame - Another Professional Template
i wanna add a search in the header with an image for the search etc. can you tell me what i would need to do. This is as far as i got so far: www.shopyoungway.com/index.php
Re: Acadame - Another Professional Template
Quote:
Originally Posted by
shopyoungway
i wanna add a search in the header with an image for the search etc. can you tell me what i would need to do. This is as far as i got so far:
www.shopyoungway.com/index.php
Quick and easy way, would be to change "Search:" ... change the text to an image tag.
There are a few more advanced ways if you run into styling issues ... images inline with input's can be a pain sometimes.
-
Re: Acadame - Another Professional Template
i have tried that and other ways as well but it breaks everytime i add anything to it.
Re: Acadame - Another Professional Template
Quote:
Originally Posted by
shopyoungway
i have tried that and other ways as well but it breaks everytime i add anything to it.
K ... post a copy of your tpl_header.php file, give me 5 I'll get it back to you with revisions and an explanation of what was changed ... Cool? :lookaroun
2 Attachment(s)
Re: Acadame - Another Professional Template
here these are returned to the way the were when i started playing with it. also because i am limited on my knowledge of coding i have just kept most of the css the same
Re: Acadame - Another Professional Template
Quote:
Originally Posted by
shopyoungway
here these are returned to the way the were when i started playing with it. also because i am limited on my knowledge of coding i have just kept most of the css the same
Change tpl_search_header.php to read as:
Code:
$content = "";
$content .= '<div id="lang_header" class="topBox centeredContent"><div id="searchimage">Search:</div><div id="searchinput">';
$content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get');
$content .= zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT);
$content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . ' ' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
} else {
$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . ' <input type="submit" value="' . HEADER_SEARCH_BUTTON . '" style="width: 45px" />';
}
$content .= "</form>";
$content .= '</div></div>';
Then add this to your stylesheet:
Code:
#searchimage,#searchinput{float:left}
If you want to be able to adjust each area independently, you'll need to modify the above line to:
Code:
#searchimage{float:left};
#searchinput{float:left};
Adjust padding as necessary ...
-
Re: Acadame - Another Professional Template
thanks for that, will have to pad it right, but one more question i want to dress it up by adding a search button to it so i can get rid of the word search what would i need to change.