Page 1 of 1

company mod

Posted: Wed 14. Jul 2004, 05:08
by anhlt1983
Hi

I have just installed mod company..and modified some feautures. I make a module to manage category of products etc...

But I have some problems when I want to display products in frontend.

I want to make a TAG {$VAR} to display all products of a category, and $VAR = content of menu.

Example

My menu :
-Hardware
-Software
-Film :
-Action
-Romantic
-.............

and in a page of "Romantic" I will to display all of films of Romantic.

Anybody can help me to solve this problem ?

Thanks

ping

Posted: Wed 14. Jul 2004, 05:55
by anhlt1983
or have any idea :idea: ?

Posted: Wed 14. Jul 2004, 08:45
by Pappnase
hello

sorry wrong forum part. :wink:
thas why i moved it.

Posted: Wed 14. Jul 2004, 10:00
by Jérôme
Look at include/inc_module/mod_company/inc_front/company.func.inc.php to see how the existing Company-MOD replacement tags are constructed. You will then see how it will work to create your own replacement tags.

Best regards
- Jérôme

Thanks

Posted: Sat 17. Jul 2004, 04:14
by anhlt1983
Thank you so much :)

and now I have another problem

First, I have code :

echo "<TD width=120>{PRODUCTS:IMAGE:".$product_name."}<p><a href=www.hotmail.com>click to enlarge</a></p>
</TD>
<TD width=400> {PRODUCTS:SYSTEM_REQ:".$product_name."}<P>Contact <a href=mailto:{PRODUCTS:CONTACT_NAME:".$product_name."}>{PRODUCTS:CONTACT_NAME:".$product_name."}</P>
</TD>";

and I want when user click to the link : "click to enlarge", it will display the image of the product in the popup ?

Can you help me ?