[Discontinued] Company Enhancements MOD
Try this topics first postkachete 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

http://www.phpwcms.de/forum/viewtopic.php?p=7223#7223
http://www.studmed.dk Portal for doctors and medical students in Denmark
Perhaps a stupid question: How to give a category the name
"service & prices"?
I tried but i get this error:
Is it possible to give a cat a name with spaces between words?
A chance to fix this?[/quote]
"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
A chance to fix this?[/quote]
WE WILL SEE NEW FEATURES... lol 

http://www.studmed.dk Portal for doctors and medical students in Denmark
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.
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.
Problem with 'space' in product name?
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 (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?
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}
That is up with me Doctor?! Is there something wrong with me or with MOD?
Hi all!
Why can't I find: in my index.php and:
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!
Furthermore I get this when I've followed the steps that I could follow and installed the mod:
when I go to the product part of the mod.
And when I try to add a product I get this:
And in Global Settings I get:
I ran the MySQL query and made all the tables as required in the install.txt.
I hope that somebody can help me!
/Kvist
Why can't I find:
Code: Select all
<link rel="stylesheet" type="text/css" href="<?php echo ".".$phpwcms["templates"]."inc_css/".$block["css"] ?>">
Code: Select all
case "modules": //Modules -> later
echo 'in preparation - will follow later';
break;

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 = ''
Code: Select all
Error in query:SELECT * FROM wcms__phpwcms_mod_company
I hope that somebody can help me!
/Kvist
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.
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.
OK
OK then!
Well, I'll make do - I guess it was more curiousity than an actual need, so I'll live!
/Kvist
Well, I'll make do - I guess it was more curiousity than an actual need, so I'll live!

/Kvist