Drupal ThemesUser login |
DrupalPHP Exec executes some commands, but not othersI'm trying to get the difference between 2 files on my Debian system. <?php Gives a page with "<hr><hr>". However, this: Gives me a listing of the directory as expected. Do the executables need to be registered somewhere? Categories: Drupal
Shadowbox in DrupalHi all, Categories: Drupal
Mark Sholtez - www.marksholtez.comMark Sholtez is an Australian singer/song writer. The development of the site was a collaborative effort between Level Four - development (http://www.levelfour.com.au/) and Babekuhl - Design (http://www.babekuhl.com/) on behalf of The Grindhouse (http://www.thegrindhouse.com/). Comments welcome. Cheers. Categories: Drupal
display subtotal,Free shipping,discount,order total preview?HI example:www.example.com/cart Thank you very much Categories: Drupal
db_fetch_object stopped working?Okay, I'm very confused. I had this code in my hook_block under the view operation and it worked fine. I decide to put the query in its own function to pretty up the code and it stops working. <?php The $data = db_fetch_object($result) is coming up null. I've run dsm($result) and it's given me objects, but the function is not working. dsm($data) is NULL. So, so, so very confused. Categories: Drupal
Lebanese PM Fuad Siniora Official WebsitePM Fuad Siniora Official Website is built to be a portal to provide information for the lebanese community worldwide and to allow communication with the public. Why Drupal?Drupal is a proven content management framework that provides a wide toolkit while providing the ability to customize every aspect of it. While its arabic support is below Joomla for example and other content management frameworks, its solid multilingual capabilities allow to fill in the gaps. ModulesThe website uses a set of proven track modules such as: CCK, Views, Imagecache, Lightbox It is critical that the website stays online 100 per cent of the time, so careful planning and fine-tuning of the server settings has been made to make sure that the web server never crashes to an influx of visitors. Moreover a PHP opcode has been used to speed up performance and the cache module to use it as a preferred alternative to slow database caching. GoalsIn the recent days, the website has succeeded to achieve its goals by allowing a great deal of visitors to be able to send their messages. Categories: Drupal
Explain custom fields in D7 vocabularyGive some example why would you add custom fields to a vocabulary. Categories: Drupal
St Petersburg Music Conservatory / Санкт-Петербургская государственная консерватория музыкиNow this is a real honor: the St. Petersburg State Conservatory of Music – the oldest academy of music in Russia -- uses Drupal for its web site: I spotted this while doing some research on Chopin. Categories: Drupal
multipage form not workingHi, I'm trying to build a multi-page form but nothing happens when submit is clicked after the first step. <?php }else { $form['step'] = array( switch($step){ $form['choice'] = array( Categories: Drupal
Difference between [a/%b] and [a/%] in pathsHi, And this one: what's usage of writing b after percent? Categories: Drupal
Book of nodes for customized Proposals.I am not sure if I should try doing this in D6 or D7, but thinking that this might be interesting to try both ways. We begin with a template, probably a template of a book. In each book section the author can attach references to other nodes. The finished Book would be en entire node that we could invite Prospects to see. Just an outline: I would also want the project to have limited access to just prospects, and probably time limited as well. So we can send an invitation to a prospect to view the project, but no one else except for internal people can view it. Then use time or limit viewing by IP address or something like that. My thoughts on doing this would include: Categories: Drupal
Form in block (D7): Am I wrong or is it a bug?Hi, I want to display a custom form in a block. My block: My form: Submission code: When I try to submit the form, I get an error message because of the execution time is greater than 30 seconds, sometimes I also get a memory error, that the maximum memory (64MB) is too less. If I try to load the form on a single page and disable the block, everything works fine. Any idea, what there is wrong? Best regards, Categories: Drupal
Video not found or access denied: drupal-6.16/sites/default/files/sites/default/filesModule : SWF Tools 6.x-3-0-beta4. I have install this module at the local machine (Ubuntu 9.10) with the Apache2 mod rewrite enable and clean URLs configuration. Why the same problem still occur again ? Maybe setting of Apache is wrong ? Windows system not yet tested. I like this module, a lot improvement. Categories: Drupal
hook_schema / hook_insert versus hook_field_* / drupal_executehi drupal community, I want to programmatically populate a new content of my own ( job status extracted from SAP). I think there are many ways first by directly creating a table in the database using hook_schema and populate with hook_insert second add field to existing content using hook_nodeapi and hook_insert third by creating a custom content with cck ( hook_field_*) and populate with drupal_execute I'm thinking to use the third way for reusability reason. Hope somebody understand my problem and has an idea about it. Thanks for any clue Categories: Drupal
permission and rolei have created role and assign permission to a newly created user.but when i login it through the newly created username and password the permission which i have not assign to it is also coming. i think it's not working . Categories: Drupal
Create form using Form APIHi all, Categories: Drupal
Probably a Stupid Question...I know this is going to end up being a stupid question, but I have a problem that thus far I have been unable to find the answer to. I have Googled and even tried loading code up into XDEBUG and still can not find what I am looking for. My problem is this...I have a website that I am working on that started off using Drupal. The user database is all based in Drupal. What I am trying to do is tie Drupal's credential system into the pages that I am creating. Now what I do know is that when a user logs into Drupal is creates a PHP session and sets a cookie. This means that Drupal is setting a PHP $_SESSION variable and checking to find out if a user is logged in. What I need to know is what the name of that variable is for standard user and for admin users so I can verify if the user is logged in when they visit my page. At this point I am open to any ideas.. Thanks, Whit3fir3 Categories: Drupal
Selecting name in taxonomy arraySo, basically, I'm creating a $tmpNode = node_load($nid). I'm then inputting dsm($tmpNode->array). My results are below: # $tmpNode->taxonomy->name doesn't work, since I'm one level too high for the name. It's in an array within the taxonomy array, titled by my term id ("3 (Object) stdClass"). But I can't figure out how to iterate down through that second array. Help would be immensely appreciated. Categories: Drupal
User registration confirmationI am trying to display a page after a user has filled in the registration form, where a confirmation message would appear. Are you sure you want to register? Yes / No. User should be created only if the answer is Yes. I have some code here, that fails to override the core user register submit function.
function confirm_registration_user_register_submit(&$form, $form_state) { function _confirm_registration_confirm(&$form_state) { return confirm_form($form, Categories: Drupal
Need Help with installing / using Google Maps on my site...I am a newb Drupal user (3rd day)....wanted to ask for some help... I am trying to install a Google Map onto my site....and cannot get it to work...here is where I stand: I found the GMapEZ module, downloaded it, unzipped it, used my FTP to transfer it into my hosting center - drupal/modules...it is there now, I activated the module. I then went to Google and got me a Google Maps API key....which I then input in the GMapEZ module section... What do I do now? What code do I actually use to put into the body of the page in order to get the Google Map to apprear? I tried to copy various forms of code from other forum discussions, but none of them have worked...definitely need some help here. (dont know php at all...btw) Whatever you can do to help would be much appreciated. Andrei Categories: Drupal
|
Popular contentDrupal Showcasedrupal security feed |