This forum is for less technical discussions about the Drupal project, not for support questions.

Static Bits on Taxonomy Pages?

Hi all,

anyone know if it's possible to get somthing like the front page mission statement on specific taxonomies?

Like if i had a section called 'fast cars' i'd like a little static blurb on the index page for that term....

Seems odd it cant be done, but then maybe it's just me who cant work it out! ;-)

Many thanks...

Nick

Only return result from database call, no theme or other content

Here is want I'm trying to do. I want to store images in a database (many small ones). Then I want to be able to use a simple tag like <img src=http://www.here.com/showpic.php?id=33> when I want to get that image back out and display the image.

Then the code would be like (I'm just tossing this together, I actually want to do more processing):

< ?
  $result = db_query("SELECT image_type, image_data FROM sometable WHERE pic_id = '%d'", $id);
  $i = db_fetch_object($result);

  Header("Content-type: image/{$i->image_type}");
  echo $i->image_data;
? >

That's all I want to display..Just the header and image data.

Is there way I can simply do this using the drupal system, or I do I need to wrap this around a seperate system to make the DB connections, etc.

It would be nice to use this as a function within the module that uploads/handles the images. Any ideas? I'm not sure which hook to use to remove the other content, or other drupal function. So, maybe the img src tag would be: www.here.com/mymodule/display/33 and act much like the other URLS of drupal.

I'd appreciate any pointers.

-Mitch

Drupal for (MT) bloggers v0.1

The purpose of 'Drupal for bloggers' is develop a customized version of Drupal which has features that typical movabletype (MT) bloggers are used to. This is still a beta software but the goal is to develop it to a stage where it is possible to replace movabletype without touching the core drupal system (so you can still use all the wonderful drupal plugins).

Creating images with/without approval...is it possible?

Hello everyone,
I have a quick question about the image.module. Is it possible to NOT allow authenticated users to post images within the image gallery UNTIL they have received permission/approval from the admin? This is similiar to the "post comments without approval" setting found in the permissions area...only applied to the image.module. I would think it is possible since the image itself is treated as a node. I have looked through much documentation but have seen no reference to this question. What am I missing?

Thanks for reading,
Larry

RSS behind Firewall?

Does anyone knows if Drupal Syndication works behind a firewall?

Tracker Modification

If I want to modify my tracker module not to display page node in the list, what am I supposed to do?
If someone can tell me which line(s) of code to modify and how to do that I will appreciate that so much.

Thanks

KC

Pages

Subscribe with RSS Subscribe to RSS - General discussion