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

HTMLtidy brokes rss feeds

Hello! Please help me!
I installed htmltidy, and the RSS feeds syndicated from my site get broken. They can still be readed from RSS Readers, but I have other Drupal site, that aggregates content from the first. Now when I try to aggregate content I see error message "Failed to parse RSS feed : junk after document element at line"...
I need htmltidy, and I can't remove it, becouse it fix my theme Pushbutton. This theme get's broken when user make formating of his text and all text style gets broken.
sorry for english:)

NiceLinks module activation makes my site crash - how to recover / complete installation?

Please help

I've just tried to install the nicelinks module recommended at the Glossary module documentation.
My site is now crashed. On each pageload, I get the following error:
Fatal error: Call to undefined function: drupal_get_path() in .../nicelinks.module on line 18

My first questions: Which mysql table stores drupal module list? And how to disable the module so that my site would load?

More Information:
The nicelinks module was installed just after the nice Glossary module installation, in my new Drupal 4.5.1.
The Glossary module documentation (http://drupal.org/project/glossary) says:
"This module also works with nicelinks.module, which will give you pretty hover-over glossary term descriptions on reasonably modern browsers (while degrading properly on older ones)."

So I've tryied to locate the nicelinks module - it's not mentioned on the modules list.
I've searched Google and found a reference to the source code at
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/nicelinks/

I've installed it, and tried to activate it, but got the following error:
Fatal error: Call to undefined function: drupal_get_path() in .../nicelinks.module on line 18
And all of my site is disabled. I get this error everywhere in the site.

More questions:

1. How to make drupal_get_path work? Should I simply copy the definition at
http://drupaldocs.org/api/head/function/drupal_get_path (( function drupal_get_path($type, $name) { return dirname(drupal_get_filename($type, $name)); } )) or is there anything else needed?

PHP Input Filter

Hi guys,

I have looked at Drupal and played around setting it up, but still consider myself a newbie to it...

I've spent the last 2 weeks working on a PHP class that can process input coming from the user from lets say $_POST or $_GET.. and filter it according to the developer's wishes.

Http://cyberai.com/inputfilter/
http://cyberai.users.phpclasses.org/browse/package/2189.html

How would I go about writing a module for enabling this in Drupal ?

How to add comments to "printer friendly" template?

For a couple of projects, I would like to be able to have the comments included in the printer-friendly page. The readme says:

TO DO
- Add ability to optionally attach comments to nodes for printing
  by calling comment_render().

I'm not adept enough at Drupal code to understand exactly what this means. Has anyone implemented this? (CVS does not have it.) Any suggestions or code snippets (!) would be much appreciated!

Thanks!

-media girl

Is it possible to store serialized arrays in MySQL via Drupal?

I'm working on (yet another!) sort order patch for the taxonomy module, and I want to store the sort order in a column created for this purpose in term_data.
The sort order is in an array, and I decided to store it in a VARCHAR column called sortorder.

The ouput from _taxonomy_prepare_update looks like this:

Drupal 4.6 image.module from cvs -> how to fast upload images

I installed drupal 4.6rc and image.module.
How can I make an album by giving Photos in a directory on the server, as it worked in 4.5?
thanks

Pages

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