company mod

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
anhlt1983
Posts: 10
Joined: Mon 5. Apr 2004, 18:07

company mod

Post 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
anhlt1983
Posts: 10
Joined: Mon 5. Apr 2004, 18:07

ping

Post by anhlt1983 »

or have any idea :idea: ?
Pappnase

Post by Pappnase »

hello

sorry wrong forum part. :wink:
thas why i moved it.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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
anhlt1983
Posts: 10
Joined: Mon 5. Apr 2004, 18:07

Thanks

Post 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 ?
Post Reply