| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
banner in content | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello, i searched the forum but maybey this is very simple, i couldn not found help.
what i want is to show (on home page) a banner with delivery cars. How do i put this in the content: {if $bestsellers} {capture name=menu} <br /> {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_bestsellen menu_content= $smarty.capture.menu } {/if}
__________________
Version 4.1.9 x cart gold Windows |
|||||||
#2
|
|||||||
|
|||||||
![]() Please don't double post, I have removed your second post on this topic. Can you explain a bit more about what you are trying to do? The code above is for showing bestsellers in the side menu, but it has no content?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() sorry, i colud not find the first one, all i want is ont the right column a bar wich shows a banner or a foto. i do not know how to make this work so i copied a file that was already on the site.
so i want tekst (with a bar) and then the banner (or foto)
__________________
Version 4.1.9 x cart gold Windows |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Probably the easiest way would be to create a new template and then name it banner.tpl.
Code:
Put {include file="banner.tpl" } wherever you want it to appear.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||
|
|||||||
![]() Jwait,
This is good idea but can you recommend any good free PHP banner rotetor script which supports flash file also ? so if we put banner code inside banner.tpl & site will start showing new banners on each page refresh.
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#6
|
|||||||||
|
|||||||||
![]() I don't know of any "PHP banner rotetor script which supports flash files", but there are several that use Javascript to rotate banner graphics after a specified time. There is one at
http://www.abiglime.com/webmaster/articles/jscript/021298.htm that looks interesting.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
http://www.xcartmods.co.uk/x-cart-rotating-flash-banners-v4x-mk2-x-cart-mods-pr-46.html |
|||||||||
#8
|
|||||||
|
|||||||
![]() Quote:
I just forund this free php banner script which support jpg,gif, flash & google addsense also. http://ledbetter.freepgs.com/wordpress/?page_id=186 We just need to insert the line <?php include("http://yoursite.com/revolver/banners.php"); ?> in the template where we want to display the banner but I don't have any idea how to add above line in template file. I tried to run it between {php} & {literal} tags also but it's still giving me smarty file not found error even though folder "banner" is there with banner files html banner files. This would be very nice script if we can customize to use it on x-cart. Thanks in advance.
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
#9
|
|||||||||
|
|||||||||
![]() Have you tried putting {include "revolver/banners.php} where you want it?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#10
|
|||||||
|
|||||||
![]() I tried to include {include "revolver/banners.php} & this way also {include file="{$xcart_web_dir}/revolver/banners.php"} but it gives me smaty file not found error !
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
|
|||
X-Cart forums © 2001-2020
|