Drupal ThemesUser login |
Drupal Module DevelopmentENQUIRY ON SOME MODULES *IMPORTANT*Pls can people give me the best modules for these functionalities: Job application form - Can post job application forms on my site and applicants can apply. Live Chat - open source online registration forms. Thanks you guys. Categories: Drupal
creating text file from a view.I am about to start building a module that I would like to have views integration, but want to get some advice before I start. I am thinking that there are a couple solutions, but I want to make sure I am not missing something obvious. Option 1... theme a VIEW. Some special tips on this would be interesting. Just fyi... I want to use VIEWS becuase even thought there is only one set of data on the DRUPAL server ( the master ).. there are about 5 different machines that need to pull from this DB and they are all different, and require different file layouts. thanks in advance... Categories: Drupal
" Warning: date_create(): " error installing D7Hi, I'm updating my own module from drupal 6 to drupal 7, and so I've downloaded the drupal-7.0-alpha2.tar.gz file and tried to install it. Before even trying out my module, on one of the very first screens (after unpacking drupal and setting up the requested folders in the 'sites' directory) I get this error: Warning: date_create(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in format_date() (line 1814 of .../common.inc). (I've removed some personal info...) This message repeats many many times, and I cannot enter my password or root user name. I have a database in place and the settings file is set up properly. Since this isn't the nightly snapshot, I thought that there wouldn't be much of a problem installing it so that I could continue work on my module. I've searched the drupal site and found not much about date_create(). Can anybody point me in the right direction to understand this problem, and how I can fix it? Thanks. Categories: Drupal
Problem with adding tab to user profile page using hoolk_menu() and MENU_LOCAL_TASKI'm trying to add a tab to the user profile page. The hook_menu() documentation states that menu items of the type MENU_LOCAL_TASK is rendered as a tab by default. I implemented the following hook_menu() in my module <?php This hook displays the appropriate tab on the user profile page right next to the 'view' and 'edit' tabs. But when I click on the tab I get the following error - Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/modulename/user.pages.inc' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\irp\includes\menu.inc on line 346 Why does this error show up? And why does the module require a user.pages.inc file? Also does this error have something to do with the missing menu item type MENU_DEFAULT_LOCAL_TASK ? Please help.. Categories: Drupal
hook_menu_link_alter not calledI'm need to modify some links as they are added to the menu_links table, but the menu_link_alter hook does not seem to be running. Maybe I'm not understanding when the hook is called or I need to enable it somehow? I've tried echoing and logging with no results. Also having the same problem with menu_alter. function mymodule_menu_link_alter(&$item,$menu) { Categories: Drupal
Block module not picking up .po files?Hi. I'm currently working on a block module that takes some text input and creates a standard footer. At the moment the block is up working, but now I want to add translations for the static text (wrapped in t() in the module and is successfully generated to .po files). For this I've used the Translation Template Extractor (POTX) to generate a standard modulename.pot file from which I've created sv.po and en.po files with Poedit (following this guide). The files currently resides in modulename/translations/ and as far as I can see, it should work so that when I switch between the sites different languages the block text should switch accordingly. Only thing is, it don't. I've tried to inactivate and reactivate the module and flushing cache to no avail but the module still doesn't use my .po files. As it is now I feel I don't know what else to try. Is there perhaps something I need to add to the .module or .info file manually to get Drupal to look for the translations? Full code for the module is available here. Categories: Drupal
problem with the PHP filter in viewshi, I installed the module viewsphpfilter " and when I put the filter in place I have selected node Fitlre PHP Here are my source $ nid = array ('1136 ', '1116'); Thank you for your help Categories: Drupal
content on white pageI have a module that does some stuff. One of them is showing a lot of information i a table. But there is so much info to show that it doesn't fit in the layout of the site. How can i do this? I would like to keep the css theme since the table uses this. Categories: Drupal
Data Tables, Forms, ReportsIs there any module available with the following features (As like MS - Access)? 1. Data Tables Admin can enter or import or view data in Table format If a module is available, it will be very useful to do the following: 1. Processing Applications for Job / Course Categories: Drupal
trigger JS for anonymous session start, by visitor country... input?My client needs to show (anonymous) foreigners a message when they arrive at the site... no matter which page they're visiting. I can't seem to find any documentation on (1): how do I determine if this is a visitor's first page-view (for this session)? Categories: Drupal
using #ahah along with either the popups module or the modal dialogue moduleHi, I've gotten started on it as you can see below, but my first issue is that with modal dialogues, I can't get the dialogue to open to my menu item that I've defined ('relation_ab/search')..it always opens simply to 'node/add'. I've tried it with other paths as well to no avail. Am I going about this properly? So far what I've got: in the function that creates the form: Then in my ahah call back function: Categories: Drupal
how i can get value of #disabled=true textfield?i found, that after submiting form, items that are #disabled are not present in $form_state['values']. Categories: Drupal
Book Pages in panel/ViewsIn my website i have more than 30 books with approx 6000 book pages (NODE). And i have used extensively book navigation in website. Now i want to give diff look of those book pages using Panel or Mini Panel with different other information and some ads. So i need a views or something that while using panels i can use column with books pages and others column (panel if with 3 column) some thing other be it ads or others links. Ho w do i go ahead, will this can be achieve using panels and views, if yes how to use or create views with book pages and the same view can be fit in panels Categories: Drupal
Mailchimp API-Email Form OnlyI've installed the "mailchimp" module (http://drupal.org/project/mailchimp) on a site I am developing, but don't really need or want the "first name", "last name" forms. I am only interested in the "email" form. I've tried copying the code in firebug and reconstructing the parts I need in a new block. However, once I try to submit an email, nothing goes through to mailchimp. Any one know a solution or interested in making an attempt? Check out my site if you'd like to play around. www.sproutonlinetherapy.com. Thanks. Categories: Drupal
Shortcode equivalent?Hello, I've built plugins for Joomla and Wordpress, and they both have some form of a "shortcode". Basically a snippet of code you can put into a page that will get rendered by the plugin. Looking at the docs, this doesn't seem to be possible with Drupal. What is the best approach to doing this? I've seen mention of full page nodes... but am still confused about how the user would embed something in the post. Thanks! -J Categories: Drupal
form API - make element required only if another element is selectedIs this possible through the Drupal form API? So for example, I have an address form. The postcode field is required unless you select Ireland as your country, then it's optional. With the Drupal form API, you set what is required and then Drupal renders the form. Is there a way to alter requirements using JavaScript? Thanks Categories: Drupal
Image not dispaly in manage image and sort image tab in node_gallery moduleI have recently installed the Node Gallery module and it looks like everything is working fine. I create a Gallery and then go to upload images into that gallery and it looks like the images upload but then when I go to Manage or Sort images, no images show up in the Gallery. Does anyone know why this is happening? All the permissions are set correctly. Categories: Drupal
NODE_ACCESS MODULE PROBLEMI have used the node_access to module for specific modes.this is because i want these nodes to b accessed by only authenticated users that i have created.But after enabling this module i am unable to deny edit and delete permissions for authenticated users.i do it for anonymous users.there are check boxes for permissions for each node.i check the deny edit and delete for authenticated users nad click on save permissions.it shows changes saved but again these boxes automatically become unchecked and permissions are not set thus allowing authenticated users to edit the content.i dont want these. please help.immediate help will be really appreciated .i am doing it as a third projetc which i need to submit this week.so please try and help me quickly. Categories: Drupal
Documentation in book structureHello! I wonder where in the book structure I should place my documentation nodes for my modules: I've been searching for hours now without finding any clues. Can someone point me in the right direction? Categories: Drupal
Indexing custom made pageHeya, I made a custom page, like this: $items['mailing_list'] = array( I define the content in mailing_list_page(). But now, is it possible to index the content on that page, so it can be found by searching? Categories: Drupal
|
Popular contentDrupal Showcase
drupal security feed |