View Single Post
Old 12-14-2011, 07:26 AM
fwm fwm is offline

Advanced Member
Join Date: Apr 2011
Posts: 78

Default Add Array to xcart_config table

Hi All,

I was wondering is there a way to do this? I have a graphic that I want to appear on a number of my static pages in x-cart. I have a lot of them. SO I would like to add a list of pages such as

page1.html, page2.html, page3.html...

And in a couple of the tpl files I would like to do something like

{if $page_data.filename|in_array($config.Appearance.fw mp_pages)}
display image{/if}

Does anyone have any idea how to do this?

X-Cart 4.1.9
X-Cart 4.4.1
X-Cart Platinum 4.6.1
Reply With Quote