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

add event nodes to simplenews upon creation

I need to link created events to simplenews such that when the events are saved, I'll be able to see them under the simplenews draft. Now, what I am planning to do is to save extra node for that event with type 'simplenews' then call simplenews_insert($node)

but I do not know how to save extra nodes. Should I call node_save($node)?
Has any body done this before?

CSS Module

Hello all Drupal Persons and whoever is in charge of the themes module,

I see a burning need for a CSS module. Making CSS easier to administer will expand Drupal's user base.

The idea is simple. Drupal is db driven, so why shouldn't the CSS be in the db? Makes it easier to edit and maintain. An obtuse hand-edited flat-file is well, obtuse.

The basic table:

+-----------------------------------------+
| CSS_name_of_theme |
+-------+------+----------+-------+-------+
| Group | Name | CSSorder | Style | Notes |
+-------+------+----------+-------+-------+

Where:
Group is classification like "Drupal Theme", "HTML", "Aggregator Module", etc. (Yes, a human would have to set up Bluemarine, Marvin, Chameleon, and Pushbutton -- but other CSS files could simply be read in, ignoring Group; the user would then edit Group)
Name is what it is all about: "body", ".block, .box", "#aggregator h3", etc.
CSSorder is an integer that indicates where it is written into the actual stylesheet (the order is important).
Style is "margin: 0;", "padding: 0.3em;", etc.
Notes is just that. Notes.

OK, so how would it work?
You would get into admin mode, and click on administer -> themes.
Once you are on the admin/themes page, you would see the tabs "list", "configure", and a new tab "css".

If you click on the "css" tab, it opens a page that looks somewhat like a cross between the admin/log and admin/menu pages. It has the Group, Name, and CSSorder for the theme displayed, and it can be sorted by Group, Name, CSSorder (the way admin/log can be sorted). You can find what you are looking for fast.

Error in Pdfview module

Hi

I have a problem with the Pdfview module that I can't track.

I get the error:

Fatal error: pdfview_node(): Failed opening required 'modules/pdfview/tcpdf/tcpdf.php' (include_path='.:/usr/local/lib/php') in /.../bsftest2/modules/pdfview/pdfview.module on line 91

All files it call is at the right position I'm using an ISP so I don't know where all system files are

My purpose is to present a magazine that are, in pdf, to members

Traveler Module

Any interest in a traveler module? I have a prototype for this module on www.johnchalekson.com.
It is just a barebone structure, with javascript and html in the block. CSS can be added to it, in another file.

The basic premise of it is to provide some content or a useful tool to small bloggers, travel oriented sites, or sites related to vacationing and leisure.

Need to disable a module with SQL

Hi all,

I have been installing the HelpDesk module, but when I enabled it I started getting errors and cannot get back to the modules enable/disable page. What table contains the flag to enable / disable modules?

Thanks in advance,

Nick

Paypal framework is pretty sweet for subscriptions -- How do I tie it to a username?

I think paypal may be the answer to my subscription woes. It's got a nice little system and the paypal framework already does the heavy lifting. I see under transactions that it has a blank for username and I'd like to ask how I get the subscription button to tie a username to tie to that subscription. I'm guessing it's a field I need to be aware of, maybe an optional field or something.

And can someone explain "Subscriptions Password Management" to me? Will that auto generate username/passwords on the drupal side?

Pages

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