Drupal ThemesUser login |
DrupalFile API: hook file_save: Some clarification on when it is calledHi I am new in using File API: http://drupal.org/node/555118 I was reading through some code of a posted Drupal module, and within it was a custom implementation of hook file_save: http://api.drupal.org/api/function/file_save/7 Question #1: When this module is added, then will Drupal call this module's implemented file_save hook upon every event that involves a file save/upload? Question #2: If Question #1 is true, then is Drupal only providing user upload/saves of media (files) to be only within files directory (./sites/default/files/*)? Thanks Jeff in Seattle Categories: Drupal
Redirect user to specific page after registrationHello there, I am using below code to give redirection and it is working. It takes me to the desired page <?php It redirects the user to the desired page but as I have unset main "user_register_submit" it doesn't create a new user :D So how can I create the user from miscellaneous module? Or is there any other way to accomplish this? (I don't want to edit user.module file) Categories: Drupal
viewing contents on hovering over a tabi wanna have module that displays content if we hover on the corresponding referring tab..help plz.. Categories: Drupal
viewing contents on hovering over a tabhey..i wanna show n change content by hovering over the tab that references that content..is there any module available for it..?? Moved per forum guidelines by VM Categories: Drupal
LadybugThis theme has the sharp and large picture of a ladybug in the header. The picture comes from a Joomla theme (GPL.) The Drupal version of the Ladybug theme is based on the Sky theme. FeaturesThe theme is fixed at 960 pixels. It supports simplemenu and is supposed to work with the AdminMenu too. The Primary menu appears in the green rectangle below the header. The menu uses superfish to make it a dropdown menu. The theme supports a logo, large title, and slogan (all optional.) You can have a left and right sidebar (optional.) There are a content top and a content bottom areas where you can insert blocks. There is a footer area where your footer information is shown. You can also include blocks. SponsorsMade to Order Software Corp. created the Drupal version of this theme. Note that it has nothing to do with the Joomla version, other than the header image. Themza for the header images (a Joomla GPL theme.) Categories: Drupal
uploading image problemm not able to upload image in my site..wht can be the possible reasons..plz help fat its urgent..!! Categories: Drupal
Luxury theme1. General description 2. Colors Categories: Drupal
How does one overite a template in a module?I want to be able to rearrange the user registration form by making it two column instead of one and add more fields. Categories: Drupal
Add additional fields to user_register form and have them in a two column setup instead of one..how?I have the following functional code but I am lost in how to add additional fields that would go in a 2 column setup. I know I may have to over right a template in my module but how? I have been struggling with this for hours now <?php Categories: Drupal
It is amazing how difficult it is just to make a normal form in Drupal even after you follow tutorialsError I get is : Skipping broken view Contents of my Module file: function modulename_menu() { Categories: Drupal
Multilingual Sites work good in Firefox, but error in IE, Opera, and ChromeI'm building a multilingual site, with English and Indonesia. Categories: Drupal
Lost On Galleria (help please)Have downloaded Galleria and all necessary supporting modules. Have enabled them, configured permissions. Where do I go from here? I am trying to create a gallery with a scrolling carousel beneath. Please help, new to Drupal, and feeling in over my head. :P Categories: Drupal
Executing custom code after system_settings_form_submit()Can someone point me to a documentation page which explains the workflow for changing admin settings? Something like http://drupal.org/node/165104 is what I'm after, although I realise that there is no standard route. Specifically I'd like to know what function I can use which gets executed after system_settings_form_submit(). A typical sequence I have seen in several modules is:
My problem is that I need to call menu_rebuild() after the settings have been changed, because they affect certain tabs which may be turned Hope someone can help. Jonathan Categories: Drupal
File upload not working in formI am struggling with a file upload form that isn't working. So I tried the default form that Drupal presents when I navigate to node/add/upload and that also isn't working so I think the problem isn't with my code but with the uploading in general. They both have the same behavior...I am able to choose a file but when I click on the submit button, the browser says it is loading but it just spins and spins and spins... I do have the Drupal core Upload and CCK FileField modules enabled and permission for this user's role to create upload content. Also, I have the form validate and submit functions with a print statement but it never seems to get to either one. Does anyone know what the problem is or how I can debug this? All help is greatly appreciated! Mona Categories: Drupal
giving a date field a default value [solved]$form['birthday']= array( I'm trying to give my date field a default value. This didn't work and I have tried a bunch of variations. Does anyone know the answer to this? Categories: Drupal
Form file upload errorI have developed a module with a form, one of the fields is a file upload. It all works correctly including saving the file to disk but Drupal shows this error message: warning: Invalid argument supplied for foreach()... I am uploading a jpg which is one of the allowed file types. Can someone point me in the right direction to remove the message? Thanks! Categories: Drupal
Drupal Studs help me with my form_alter hook ( I am almost there)So I think I am almost there conceptually but need some missing pointers. Objective is to add a few more fields to the normal user registration form, style it a little, then submit it with storing the extra fields in a table. This is what I have so far. Can someone give me the final nudge and get me going. Please help me. Also how do I apply some minor styling like aligning the new form fields ? Thank you so much !!!!!!!!! function module_menu() { return $items; function module_school_register(){ function module_school_form_alter(&$form, $form_state, $form_id) dsm($form_id); if ($form_id == 'user_registration_form') } function _module_registration_submit($form_id, $form_values) { function module_registration_validate($form, &$form_state) Categories: Drupal
Which Views hook to modify View results?Hi Folks, What Views hook do i call for this situation: Thanks! Categories: Drupal
Newbie... kick me if this is the wrong place to ask about elements I need...I'm versed in building old-style non-interactive html websites using just css files. I've basically built such a site with the LOOK I want, but I need the interactivity of Drupal so new Participant vendors can each have yearly-paid access to a pre-formatted set-sized division (think of a directory introducing a growing number of Participant vendors displaying their company splash as you scroll down the page). Categories: Drupal
module development code flowsHello I have been reading tutorials about developing modules but none was for me. Strange sort of tutorials are there. Never code flows explained. It is never explained how you can write your html in module. how that html can ineract with javascript. how Php will work with this html. what is meant by $items. Everything just bull-shit. Can any buddy help me develop my custom modules I really need that. thank you Categories: Drupal
|
Popular contentDrupal Showcasedrupal security feed |