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

Module teaser.module

Have been playing with 'Contaires' teaser.module and thought I should report how I managed to install and implement it.

First, the install doesn't have a teaser.mysql to support the modifications to the node table required for the module to function. You need to modify the table "node" and add the following six columns

teaser_title varChar(100)
teaser_link varChar(100)
teaser_weight tinyInt(4)
teaser_image varChar(255)
teaser_image_width tinyInt(6)
teaser_image_height tinyInt(6)

or in MYSQL

ALTER TABLE `node` ADD `teaser_title` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `node` ADD `teaser_link` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `node` ADD `teaser_weight` VARCHAR( 255 ) NOT NULL ;
ALTER TABLE `node` ADD `teaser_image` TINYINT( 4 ) NOT NULL ;
ALTER TABLE `node` ADD `teaser_image_width` TINYINT( 6 ) NOT NULL ;
ALTER TABLE `node` ADD `teaser_image_height` TINYINT( 6 ) NOT NULL ;

Having done this the module installs successfully and users can now add nodes with extra teaser information.

Second, I then modified the module slightly so that the drupal coulmn node.teaser was also made visible as part of the node editing window. This will then allow you to modify the teaser text that drupal creates as standard - drupal chops first X chars of the content and puts that into the teaser field, but for our implementation we needed to have a customised input. I have altered the function "teaser_nodeapi", the changed function is listed below:

PROFILE_HIDDEN installation?

hello, im using the newest version of drupal 4.6.3, and i would like to use the Custom Ranks module what requires the PROFILE_HIDDEN patch. I cannot find out how to use or install the patch. Can anyone help me?

greetz grasn

Some pointers to CVS, please, to avoid me breaking something

I'm getting started on CVS, using Tortoise on Windows. I've been working on the trip_search module (excellent too), in order to add some new translations. I've spent a lot of time poring over the CVS documentation, but still find it a bit opaque in places - and anyway, one likes to take precautions when playing with other people's work!

I want to avoid working on the CVS HEAD since I assume that this is unstable (messages will be likely to change, so my translations will risk being unstable).

How do I turn off email authetication?

I would like to you turn off email authetication. I don't want emails with passwords. Is there any module which can help me?

Pathauto Module: Can't understand "Update Action" Options

Pathauto Module: "Update" Option

Hi.
In Home | administer | settings | Pathauto
Update action:
- Do nothing, leaving the old alias intact
- Create a new alias in addition to the old alias
- Create a new alias, replacing the old one

Q:
What're the difference between the first one and the second one?
It seems to me:
1st) No update will be made. Thus the old alias is still intact.
2nd) Update will be made, but old alias is kept

taxomony_access module needs a new maintainer?

According to this issue, the taxonomy_access module is no longer being maintained. Is there someone who can help? I think this is a nice module, and would like to use it, but it needs to have a few problems fixed. It probably also needs to be brought up-to-date with HEAD so it will work with Drupal 4.7 when released. Thanks....

Pages

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