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

Can create content with my 4.7 module :(

Hi !
I'm really a newb in module development. I tried and developped a little module with a simple node.
It was working quite nicely in 4.6, but not in 4.7 anymore.
I checked the documentation, but can't find what I've forgotten :(
In fact, the node appears in the block 'create content', but not in the main page when clicking on 'create content' (?q=node/add).
And if I click on my node in the menu, I go back to the general create content page (instead of my form).....
If someone has an idea what I am stupidly forgetting, it would be really great :p !

Dashboard module code snip.

For those forced to use postgresql, the sql file translated to PostGreSQL

-- start table, dashboard.pgsql
CREATE TABLE dashboard (
nid integer NOT NULL default '0',
name varchar(255),
db_top text,
db_left text,
db_right text,
db_bottom text,
PRIMARY KEY (nid)
);
-- end table

longtext does not exist in pgsql, and integer used as uid in table node is defined as SERIAL.

Event Problem

Hello,

I've installed the event module in my 4.7 b5 version. The problem is when I click on the next month arrows beside the actual month it jumps for example at the moment to May. After this I can click back and reach April. Anybody else had this problem before?

Thanks 4 your help

Greetings
wickus

---
Join the virtual march to stop global warming.
http://www.stopglobalwarming.org/marchers/?142067

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

Pages

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