Jump to content

Archived

This topic is now archived and is closed to further replies.

sackling

dynamic box columns?

Recommended Posts

Hello,

 

I am looking for a contribution (if it exists) that would allow you to select which boxes should be shown on which pages. For instance I don't want to show the entire categories box on the product info page.

 

Is there anything like that that exists?

Share this post


Link to post
Share on other sites

hi @@foxp2

Great contribution. i just have a little problem.

in some pages, some boxes doesn't appear, quite rare...

for example, in index.php everything works fine, but in product_info.php, some boxes appear and others don't. (bm_best_sellers.php doesn't appear, but bm_curencies.php does it)

i've been compared all the files but don't find any difference

have you got a clue ??

Share this post


Link to post
Share on other sites

Some boxes have restrictions about wen to execute and when not within their own code.

 

For example the bestsellers box has this

  if (!isset($HTTP_GET_VARS['products_id'])) {

 

This mean in plain english

 

"if there is no products_id present in the url ...."

Share this post


Link to post
Share on other sites

Thank u @@multimixer

 

do you know any way to fix it ?

I located the code, but looks like a whole function.

is there a way to show best sellers box in product_info ? (i use SEO URL 5)

Share this post


Link to post
Share on other sites

There is nothing to "fix" since nothing is broken. The box work as intented

 

You can however remove the condition (comment it by adding // in front) and the box will execute on product info

 

Dont forget to comment the closing bracket } too, not any closing bracket but the one that correspond to the opening

Share this post


Link to post
Share on other sites

you're right.

There is nothing to "fix" ;-))

works ok,

comment it.

//	 if (!isset($HTTP_GET_VARS['products_id'])) {

and the closing bracket. }

 

thanks

Share this post


Link to post
Share on other sites

×