[Discontinued] Company Enhancements MOD

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
kachete
Posts: 26
Joined: Mon 16. Feb 2004, 13:59
Location: Maturin / Monagas / VENEZUELA
Contact:

Post by kachete »

Hi all

Where can i download the mod to tryit

Is there a guide to install it in the latest version of it

Thanks
No hay preguntas tontas, solo tontos que no preguntan
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

kachete wrote:Hi all

Where can i download the mod to tryit

Is there a guide to install it in the latest version of it

Thanks
Try this topics first post ;-)

http://www.phpwcms.de/forum/viewtopic.php?p=7223#7223
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

Perhaps a stupid question: How to give a category the name
"service & prices"?
I tried but i get this error:

Code: Select all

Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /XXXXXXX/cms/include/inc_module/mod_company/inc_front/company.func.inc.php(11) : regexp code on line 1

Fatal error: Failed evaluating code: productactions(PRICELIST,'service &  prices,$content["products"], $db) in /XXXXXX/cms/include/inc_module/mod_company/inc_front/company.func.inc.php on line 11
Is it possible to give a cat a name with spaces between words?

A chance to fix this?[/quote]
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

ooops, this must be becase I must have forgotten to encode the strings... This will be fixed, but at the moment I have no time because of other projects, I am sorry.
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

No problem, i'm glad that's it was not my fault... :D
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Just for your personal information: Now that I have finished the GT-MOD, I will have more time to spend on the company enhancement MOD, so you can expect news from here in the next weeks, I guess :).
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Company Enhancement MOD 1.3 released

This release is compatible to RC4. It is just a maintenance release in which some minor code issues are changed.
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

WE WILL SEE NEW FEATURES... lol 8)
http://www.studmed.dk Portal for doctors and medical students in Denmark
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Version 1.3.1 released

This again is a maintenance release, but an important one, as I think. I checked the code for any issues that causes "Notice" errrors when having php configured with ErrorReporting = E_ALL.

Why is this so? As clean, valid and standards conform (X)HTML Code is important for a clean developement, is it also important to have valid and clean program code.

One issue is to check if a variable is set before using it - this is important in every programming language, but PHP is "friendly" enough to oversee the error if you have set your ErrorReporting to loosely.

That is why I am striving to have valid and no error/notice producing code and why I would like to see phpwcms having the same.
shpolbder
Posts: 11
Joined: Thu 29. Jul 2004, 14:13

Problem with 'space' in product name?

Post by shpolbder »

It seems I have the strange problem.
Then I insert productname in which there is a space-symbol (e.g. 'Big Car'), and want to get

Code: Select all

{PRODUCTS:PRICELIST:Big Car}
(or any other Replacement Tags for 'Big Car') I do not get anything at all. It is like there is no such product. But if I change productname (e.g. 'Big', with no spaces in it) everything is all right.

That is up with me Doctor?! Is there something wrong with me or with MOD?
Kvist
Posts: 87
Joined: Sat 30. Oct 2004, 04:19
Location: Denmark
Contact:

Post by Kvist »

Hi all!

Why can't I find:

Code: Select all

<link rel="stylesheet" type="text/css" href="<?php echo ".".$phpwcms["templates"]."inc_css/".$block["css"] ?>">
in my index.php and:

Code: Select all

case "modules":	//Modules -> later
						echo 'in preparation - will follow later';
						break;
in phpwcms.php? Those are some of the first things that you need to change to install the company mod, so I'm a little anxious! :o

Furthermore I get this when I've followed the steps that I could follow and installed the mod:

Code: Select all

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /customers/kvistnet.dk/kvistnet.dk/httpd.www/include/inc_module/mod_company/inc_tmpl/products.list.tmpl.php on line 22

when I go to the product part of the mod.

And when I try to add a product I get this:

Code: Select all

Error in Query: INSERT INTO wcms__phpwcms_products SET product_name = 'sdf', category = 'sdf', image_info = '', description = 'sdfsdfsdf', contact_name = 'sdf', system_req = ''
And in Global Settings I get:

Code: Select all

Error in query:SELECT * FROM wcms__phpwcms_mod_company
I ran the MySQL query and made all the tables as required in the install.txt.

I hope that somebody can help me!

/Kvist
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Hey Kvist,

I am sorry to tell you that this MOD is not compatible with the current (and following) versions of phpwcms. Unfortunately I don't have the time to work on a new release and I don't know when I will find it :?.

Best regards
- Jérôme

PS: I will change the first post of this topic to point that out.
Kvist
Posts: 87
Joined: Sat 30. Oct 2004, 04:19
Location: Denmark
Contact:

OK

Post by Kvist »

OK then!

Well, I'll make do - I guess it was more curiousity than an actual need, so I'll live! :)

/Kvist
quelle
Posts: 1
Joined: Tue 1. Mar 2005, 23:02

Post by quelle »

I like it,but I didn't found it
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi

Work this mode with the phpwcms dev version?

thanks
Sven
Post Reply