Zen Cart Logo
Forums / Addon Sideboxes / Cloning EZpages Sidebox

Cloning EZpages Sidebox

Locked

Views: 1,004

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
1 Jun 2010, 3:19 PM
#1
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Cloning EZpages Sidebox

Hi all,

I am cloning the sidebox from EZpages. Because I want that a part of EZpages will shown in a different sidebox.

So I cloned the sidebox. copied and paste the modules/ezpages.php into ezpages1.php, ezpages2.php, ezpages3.php and ezpages4.php.
I did this also for the template/sideboxes/tpl_ezpages.php

Of course with override.

My intention is to give a sort value with the EZpage. So when the sidebox has a sortvalue 11 it must go in sidebox ezpages1.php

I edited the value in ezpages1.php with this code line 19

    $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_sidebox = 1 and sidebox_sort_order BETWEEN 10 AND 19 order by sidebox_sort_order, pages_title");
```also i did that for ezpages2.php, ezpages3.php and  ezpages4.php

This work.......ALMOST.....the problem is, that it shows the ezpages, but also it shows other values. 

what am I missing. It is difficult to explain.