![]() |
I'm not a programmer, and I've tried the above code....
But I realy don't understand what to do and which files to create.... Please give me some more details on this.... |
ok here goes...
total_list.php in the customer directory (not under skin1) Code:
<? all_products.php in the same directory Code:
<? list_all.tpl in skin1/customer/ to: Code:
{* $Id: list_all.tpl,v 1.2.2.1 2002/10/03 10:21:19 zorg Exp $ *} and add the following code into home_main.tpl in skin1/customer above where it says: {else} {include file="common_templates.tpl"} {/if} Code:
{elseif $main eq "listall"} There is probably an easier way to do this but this worked for me. Enjoy :wink: |
Thanks for the quick reply.
Now something is happening:) Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) in /home/httpd/vhosts/computerzaak.net/httpdocs/include/func.php on line 26 Hmmm..... I called /total_list.php?main=listall |
I think that the products array is too big for it to handle.
Will have to have a rethink. :( |
Aha....:)
Well, it's about 800 products. Let's think about it. :( |
Would you not then need a template: customer/main/show_all.tpl ?
|
good spot Jon.
Just testing to see if anyone is reading the code :wink: Yes customer/main/show_all.tpl should be created aswell: I have extensively modified this but the basic template to use is products.tpl just I hard coded some of the dialog.tpl stuff Code:
{* $Id: show_all.tpl,v 1.16 2002/09/25 10:12:05 zorg Exp $ *} |
Would someone please post a link to such a page so I can see the end result?
Thank you, |
pm'd you with the link :D
|
Thank you! :)
|
All times are GMT -8. The time now is 07:02 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.