Problem with the Company mod

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
snobba
Posts: 166
Joined: Sat 6. Mar 2004, 12:41
Location: Sweden
Contact:

Post 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!!!
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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!
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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 =
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Hi Jérôme, mi apologies, I was wrong :oops:

Now all works properly :)

Thank you very much :D
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

wonderful, thank you for the info. :)
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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 :)
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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...
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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).
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post 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?
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post 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"? :?
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

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