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

webform in a block?

I'm curious if anyone has tried putting a (small) webform from the webform module in a block? Would this work? Can I create a custom block and just call node_load/node_view for the webform, or do I need ot do something else to make it work? Any ideas appreciated.

How to trash the original image file

I'm using 4.7 and have photo galleries located here http://stlphotoblogs.com/gallery

What I would like to do is, after a user submits a photo, for the original sized photo to be deleted from the server. Is that possible? A setting I'm missing in the image gallery module? I know I can hide the ability for users to view the original size photo, but I'd like to have it removed all together to save server space.

Any help or advice would be greatly appreciated, I'm lost!

New Users with pending accounts: How can I tell them that their accoun has been activated?

Hi there!
I´ve setted my site so that users can create accounts, but they are pending until an admin activates it.

So, I´ve tried creating a demo account.
The demo user enters the form, and sets their username and email.
Then an email is received by the user confirming their email and passweord, and telling him that the admin has to approve it.

But when the admin approves it ... should be a notification to the user... where is it?
Maybe I forgot to config something... or maybe there aren´t any "account activated" email...

Searching users in 4.5

I am running 4.5. I need a way for site administrators to search users not only by the username but also by custom fields. I see there is a module for 4.6 but I'd rather not upgrade because I've made a lot of modifications to 4.5. Are there any other solutions for searching users?

adding elements to interlaced themes

http://drupal.org/node/11795

I am writing this post primarily to record my progress, as someone who knows next to nothing about php, in adding certain elements to the interlace themes. I will post all my frustrations and solutions here, and if you have any ideas, that would be very much appreciated!

I like the interlace themes because they are simple and come in four flavors. I wanted to give my users a choice between themes that were similar. However, now I run into problems because they are too simple, I want to add more options.

Namely, I want to add:

  1. A search box in the header
  2. User pictures in posts
  3. User pictures in comments
  4. Maybe a mission statement or slogan.

By default, you can only choose one out of the four interlace themes. So that I could have all four I:

  1. created four sub-folders, interlaced1, interlaced2, interlaced3, interlaced4
  2. copied all the interlaced files into each subfolder. I wasn't sure which theme used which images, so I left all the images there.
  3. changed every reference to 'interlaced' to match the foldername, including the .theme file. Ex. interlaced.theme > interlaced1.theme, function_interlaced > function_interlaced1
  4. changed the style sheet reference according to the install.txt file.
  5. uploaded everything and enabled.

I found that the screenshots were too big, so I made them smaller.

Theme_box not themeable with PHPtemplate?

Hello. I'm trying to theme the theme_box function, because I think the 'Search results' and 'Your search yielded no results' texts (H2's) are quite ugly with my design. However, when I theme that function, I get the following PHP error:

Fatal error: Cannot redeclare phptemplate_box() (previously declared in /##/themes/engines/phptemplate/phptemplate.engine:289) in /##/themes/##/template.php on line 154

Pages

Subscribe with RSS Subscribe to RSS - Post installation