This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Ecommerce Module

Hi guys.. im having a problem here with the ecommerce module.. i paste all the ecommerce in the module/ecommerce then i install the database using ecommerce.mysql and enable all the modules in the admin->module then i created a product but i got this error..

Fatal error: Call to undefined function array2object() in E:\XAMPP 1.5.1\xampp\htdocs\ecomerce\modules\ecommerce\store\product.module on line 435

this is the error message i got..

hope you'll help me because my grade is dependent in this module.. so please help me guys..

XML Parsing

I'm writing a script to read a xml file from the last.fm website. I wrote a module to parse the xml into a block.
This is a part of the code:

php question

Is there a way to check and then drop one of two identical values called from a db using php? For example, when calling up the breadcrumbs when multiple parents is enabled, the top level term is called twice into the breadcrumb, once for each parent term. How could I write an addition to the php to check and then drop the second identical value?

Any suggestions or work arounds welcome.

Mark

Paging module: page=* both for pages & comments

After using paging module realised that when I have comments on page for several pages then I can´t correctly skip to them. _GET Page param duplicates for both pages & comments.

Haven added this to issues, ćos it needs more disscussed and then added.

Q: What you think is the best implementation would be? Currently Iḿ thinking of making the paging module to link to ¨node/1¨, ¨node/1/1¨ (means 2nd node page), ¨node/1/2¨ (3rd), ¨node/1/3¨ (4th) etc. And leaving comment paging as it was.

Can I order my multilist aphabetically?

Is this possible or does it always have to be ordered by ID?

Thanks

Core hack, or new module?

Hi All,

I am wanting to have some functionality added to the way Drupal handles the node author value, but as this is a modification of an existing function in Drupal I am not sure if it requires a core hack or if a new module should be developed. In a nutshell what I am wanting is;

1. Ability to set the author value of each node to username, arbitrary text (so authors don't need to have an account to submit content with their name against it) or a defined value (coontents of a "Real Name" field for example) from the profile module.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions