Drupal is up and running but how do I ...?

Trailing slash on directories?

I am trying to add trailing slashes to my directories for SEO purposes, ie. /directory/. This works fine everywhere except when I'm trying to link to a directory index page (found at /directory/) in the navigation menu, since trailing slashes are not allowed in aliases. Anyone know of a way around this?

Thx,
Alex

What's the easiest way to resize $user->picture?

Hi everyone!

I've got user pictures uploaded onto my site through $user->picture, but I want to sometimes display the picture at "full size", sometimes at "thumbnail", and sometimes at "mini" (20x20px) size. Is there an easy way to do this through drupal? [Like something like theme($user->picture,'large') or something like that?]

All help appreciated.

Thanks!

Albert
www.ithou.org

acidfree is slowly?

i use acidfree ,but i found it works slowly.
when i build a node with the pics in acidfree album, but it looks slower than the direct link pics.
always wait several secends, i can see the pics.
did it normaylly?or i miss someting?

addionally, when i browse the album pic by pic, i can't click the next picture link or the previous link, even the NO. link. when i click it , the whole page came to the index.

thanks

4.7.0 rc3/ acidfree cvs (change some code ,for the "album content" error)/attachment/filemanager

A SINGLE FILTER for a user with A CERTAIN ROLE...

...who can create a certain CONTENT TYPE.

Dear friends,

I feel a bit lost. I developed a module, which defines some node type. Now, for a certain role I allow the creation of this type of content.

The question is: “How can I apply an ‘Unfiltered HTML’ filter to everything entered by users of that role?”

Of course, I can somehow figure out the ID of the filter and insert it into node table inside of my hook_form(). — Brute force is never a problem!

Cannot add vocabulary - unknown column 'language' error - Solved!

This message documents our solution to the problem that suddenly we could no longer do Add Vocabulary.

We have a CivicSpace 0.8.3 final installation (which is based upon Drupal 4.6.6), with mutli-site turned on.
We have instances working with vocabularies.
*** We have Locale and i18n installed and activated for localization.

We created another CivicSpace instance and tried to add a vocabulary to it.

The system said it succeeded but no vocabulary was created.
Looking at the MySQL, the vocabulary file had no entries, but the vocabulary_node_types had the appropriate entries.

Drupal showed the following error message...

Unknown column 'language' in 'field list' query: INSERT INTO vocabulary (name, description, help, multiple, required, hierarchy, relations, weight, module, language, vid) VALUES ('asdfdfg', 'adfadf', 'adfadf', '0', '0', '0', '0', 0, 'taxonomy', '', 14) in /var/www/html/includes/database.mysql.inc on line 66.

The problem is caused by the fact that when i18n is installed, it makes system wide changes. That is, changes which ALL sites of a multi-site must respect. Specifically, there is a database patch script which must be run on each database.

When we created a new instance, we forgot to run the database patch script as one final step after completing creation of the new database.

Once we ran that database patch script, the new instance began to work properly.

Customized registration page

Does anyone know how to add more fields in the Account Information section because I would like to put all the fields under one section instead of dividing the registration page into several sections. Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Post installation