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

Exposing RSS feed links to CCK

Moshe Weitzman's fantastic description of the New York Observer was a real eye-opener for me. In particular, his description of using a CCK node type to build home and channel pages got me to think about how I could use that method in a project I'm about to start.

However, for that idea to work for me I need to put a twist on it.

BlogRoll Module

I have tried installing the Blogroll module and can't get it to work. This is my first time installing without just having to upload and I must be doing something wrong. I guess I am not sure how to create the table. And are the quote marks ' included in the script I run in mysql?

Here are the instructions.

To install, simply add the database, activate the module and activate the block
using these steps.

1) The table is named "blogroll". If you use a prefix for your tables edit
blogroll.mysql and change the name in the line: CREATE TABLE blogroll (

2) From the command line, type 'mysql -u username -p drupal < blogroll.mysql'
where drupal is your drupal database and username is your mysql username.

3) Copy blogroll.module to your drupal installation's module directory

4) Activate the module from administer >> modules

5) Go to administer >> blocks and when using Apache enable the block with a path of:

<^blogroll\/edit|^blog\/[0-9]+$>

For IIS you might have to remove the ^ characters which is regular
expression for matching at the beginning of a string.

These regular expressions should match only the URLs where seeing the block
makese sense: personal user blogs and the ^blogroll/edit pages. These are
the only real places where personal blogrolls make sense. Other pages do

Comments module

Does anybody know a comments module/add that will send a "thank you" email to someone who comments on the website for the first time?

Javascript Popup with node info

I have been searching around the site for a module that could would pop up a javascript box on a mouseover to provide more information. Is there anything like that?

Category module and Views "GROUP BY" function using CCK content types

Hi all,

I've been reading lots already about the features of CCK and Views, begin superior to Events by some, not being the case by others... Well, I've chosen for CCK / Date API thanks to its broad expansion system.

I've got a list with rehearsal times for our orchestra, using custom-made content types "Rehearsal", which include a CCK Date field (logically called "Date"). We have rehearsals every week, and the list gets quite large for a given season. Now, displaying only the future rehearsals, I can do, using a filter.

integrate codepress into module

I have integrated codepress (codepress.org) into the create and edit form for a custom node type I created. It's a very slick javascript based editor for dynamically numbering and highlighting php, css etc text.

The codepress editor shows up in the form textarea, but I'm not sure how I can get the text back into my node. For example, typically I would have this rendered on the client:

<textarea cols="60" rows="20" name="qform" id="edit-qform"  class="form-textarea resizable required codepress php"> [PHP CODE HERE FOR EDITING]

With codepress, the textarea is replaced on load, so the 'generated' source is:


<iframe src="http://govirtual.bpweb.bp.com/sites/all/modules/qdrupal/codepress/codepress.html?language=php&amp;ts=1179755957881" style="border: 1px solid gray; height: 402px; width: 661px; visibility: visible; position: static; display: inline;" frameborder="0"></iframe><textarea style="overflow: auto; display: none;" disabled="disabled" cols="60" rows="20" name="qform" id="edit-qform_cp" class="form-textarea resizable required codepress php processed"> [ORIGINAL CONTENT HERE]

From the docs, it says that the edited code can be gotten from the codepress editor with :

textarea_id.getCode()

Pages

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