Page 2 of 3

Posted: Tue 13. Apr 2004, 01:21
by snobba
Thanks for the companymod fix J.! Finding ' in a code is tiring!
Jerome wrote
....(except of the graphical text MOD )....
Hint hint...

I am trying to fix it with installing a newer php and gd...Hope it works out because your new GT mod looks fab!!!

Posted: Tue 13. Apr 2004, 12:27
by sustia
Well. I try the mod (on a fresh phpwcms installation) and the result is here.

I put in templates the following replacement tags:

Code: Select all

{PRODUCTS:CATEGORY:productname}

{PRODUCTS:DESCRIPTION:productname}


{PRODUCTS:IMAGE:productname}

{PRODUCTS:SYSTEM_REQ:productname}

{PRODUCTS:CONTACT_NAME:productname}

{PRODUCTS:PRICELIST:productname}

{PRODUCTS:RELEASELIST:productname}

{CURRENCY}
The result is:

Code: Select all

Error in query:SELECT * FROM phpwcms_file WHERE f_id = 
If I cut off
{PRODUCTS:IMAGE:productname}

the result is:

Code: Select all

Warning: Invalid argument supplied for foreach() in C:\WM\www\phpwcms\include\inc_module\mod_company\inc_lib\company.functions.inc.php on line 104

Warning: Invalid argument supplied for foreach() in C:\WM\www\phpwcms\include\inc_module\mod_company\inc_lib\company.functions.inc.php on line 143
And the visualization is incorrect, because I see something like this:

Code: Select all

Price list fot the product 'productname'
Product release for the product 'productname' 
I hope this is useful.

Posted: Tue 13. Apr 2004, 12:31
by Jérôme
I have just done a fresh install of the newest patch and will try it on my own, today... Stay tuned!

Posted: Tue 20. Apr 2004, 14:28
by Jérôme
Hey sustia!

I am sorry that I have let you wait so long, I have been busy the last time... Have a look at the Company MOD-Thread, I have just released a new Version of the MOD.

Best regards
- Jérôme

Posted: Tue 20. Apr 2004, 18:35
by sustia
Hi Jérôme, thanks very much for your interest :D

Don't worry about my wait, it's not a problem for me :wink:

Now I download the mod and try to install it.

Regards
Sustia

Posted: Tue 20. Apr 2004, 19:07
by sustia
I have installed the mod, but seems it doesn't works correctly.

You can find an example in this page:

http://www.realtanuove.org/index.php?id=35,65,0,0,1,0

in the middle of the page.

The only informations that are displayed are:

Price list for the product 'productname'
Additional price info
Releases of the product 'productname'



If I try to insert an image, the entire page will not be displyed, and I receive this message:

Error in query:SELECT * FROM phpwcms_file WHERE f_id =

Posted: Tue 20. Apr 2004, 19:21
by Jérôme
Erm... I have a special thought...

What have you written into your article?

Not actually

Code: Select all

{PRODUCTS:IMAGE:productname}
{PRODUCTS:PRICELIST:productname}
{PRODUCTS:RELEASES:productname}
:?:

This would be wrong. You have to write the name of your product that you have entered in the backend instead of "productname".

If you don't know what I mean, please provide me access to your system for a short moment so that I can show you on your site what I mean.

- Jérôme

Posted: Wed 21. Apr 2004, 08:58
by sustia
Hi Jérôme, mi apologies, I was wrong :oops:

Now all works properly :)

Thank you very much :D

Posted: Wed 21. Apr 2004, 09:16
by Jérôme
wonderful, thank you for the info. :)

Posted: Wed 21. Apr 2004, 16:46
by sustia
Hi Jérôme, maybe I find something else.

I i put an image, but I don't put max width and max height, in IE 6 the image will not be displayed.

If I specify only the max width, in IE 6 the image will not be displayed, but if I specify the max height in IE only a little line (the image) will be displayed.

You can see here:
http://www.realtanuove.org/index.php?id=35,65,0,0,1,0

Besides, how can I add additional price list for a product?

Thank you as always :)

Posted: Wed 21. Apr 2004, 17:17
by Jérôme
Okay, the image handling of IE is different than in other browsers - it work's perfectly in Firefox. I will change that in a later release.

There is only one pricelist per product. If you want several price lists, you will have to define more products...

Posted: Thu 22. Apr 2004, 09:38
by sustia
Jérôme wrote:Okay, the image handling of IE is different than in other browsers - it work's perfectly in Firefox. I will change that in a later release.
It' right, I see a good image with my Firefox.
Jérôme wrote: There is only one pricelist per product. If you want several price lists, you will have to define more products...
Maybe I was not clear in my explication, sorry for my bad english :(
I'm not able to insert additional information for a product (like for example the % for the shipping costs).

Posted: Thu 22. Apr 2004, 13:05
by Jérôme
Could you please describe the problem more precisely? Where on which page in which field do you want to enter what?

Posted: Thu 22. Apr 2004, 15:11
by sustia
Ok.

To see a text like "Each price +16% taxes" I must insert this text in the "Additional price information" field?

Or the field "Additional price information" is for insert a title and there is another field where I must insert other information like "Each price +16% taxes"? :?

Posted: Thu 22. Apr 2004, 15:31
by Jérôme
This text "Each price..." will be displayed automatically in the footer of a price table. In my installation it works to insert/update this text in the Admin-Area of the Company MOD.

Do you get an error message?