Skip to main content

Home/ Drupal for Developers/ Group items tagged in

Rss Feed Group items tagged

anonymous

The Great Pretender: Making your data act like a field | Lullabot - 7 views

  • Now, though, it's possible for any module to tie into CCK's field management page to control the positioning of custom content. The key is hook_content_extra_fields(), and in this article we'll show you how to use it.
  • Now, though, it's possible for any module to tie into CCK's field management page to control the positioning of custom content. The key is hook_content_extra_fields(), and in this article we'll show you how to use it.
  •  
    Dubai Independent Escorts Service Dubai Independent Escorts Agency Independent Escort In Dubai Independent Escort In UAE Independent Escort Service Dubai Independent Escort Agency In Dubai Independent Model Escort In Dubai Independent Indian Escort In Dubai Arab Call Girls In Dubai
anonymous

Free your content of PHP: Moving PHP code out of blocks, views and nodes | 2bits.com, I... - 2 views

  • From the early days, Drupal had the ability to embed PHP code in its content. This provides flexibility and functionality, most importantly, nodes and blocks can contain dynamically fetched data from the database using custom queries and displayed them in other content. This is an easy approach to get such data without writing a module. All you need to do is assign the PHP input format filter to the node or block and paste your PHP code in it, and voila, you have dynamic content. Code in Content: the issues However, this approach is suboptimal and has serious drawbacks, including:
  •  
    From the early days, Drupal had the ability to embed PHP code in its content. This provides flexibility and functionality, most importantly, nodes and blocks can contain dynamically fetched data from the database using custom queries and displayed them in other content. This is an easy approach to get such data without writing a module. All you need to do is assign the PHP input format filter to the node or block and paste your PHP code in it, and voila, you have dynamic content.
Daniel Gregoire

Restrict specific folders from public download (via .htaccess) | drupal.org - 0 views

  • If you set "public" as the download method, you can still protect some of your folders by settings in your .htaccess file, if you have mod_rewrite enabled. For instance, if your files live in sites/default/files, and you want to protect everything in sites/default/files/protected_download_dir, then you can add the following line to your central .htaccess file: RewriteRule ^sites\/default\/files\/(protected_download_dir\/.*)$ index.php?q=system/files/$1 The files in this folder (or, all files that match the regular expression) will not be served directly by apache, but by a full drupal request using the file_download() callback. The routing for system/files is defined in system_menu(). Access Checking for File Downloads Modules can do access checking on files downloaded through file_download(), by implementing hook_file_download(). For instance, the filefield module will do access checking for all files that you upload via filefield. It will only give access to people who are allowed to see the node and the field the file belongs to. In addition, you can look for modules that restrict file downloads based on the folder name or other criteria. Access Checking built-in with Filefield The filefield module has access checking built-in. To make use of this, please Make sure to use the latest dev version of filefield (for now). The current offical release (08/2009) has a bug in access checking. Have a look into filefield issue 516104. Configure the filefield you want to protect. Use the filefield path module, to define where the files for the filefield should be stored by default. Add a line to your .htaccess to protect this folder (see above). Use whatever modules to restrict node or field access.
Daniel Gregoire

Module Development - Schema Won't Install | drupal.org - 0 views

  • I had similar symptoms ... a simple install file that wouldn't create a table. However, I got it to work by going into the Drupal system table and deleting the record for my module. Then the next time that I enabled my module, Drupal freshly discovered it and ran the .install file to successfully create the table. Summary. When you have a module already in use (and so it appears in the system table), and *then* as a developer you create its .install file, it doesn't look like a *new* installation to Drupal (since the module name was already in the system table), so hook_install never gets called.
  •  
    Trick for schema's that won't install. If you have a custom module that you _had_ installed before making a .install file and including a schema, you need to: (1) Disable your module (2) Uninstall your module (3) Delete your module's row in the 'system' table in your Drupal database. Then you can re-introduce your module, and all its files will be recognized.
Hostforlife Hosting

How to Manage Comments in Drupal - 1 views

  •  
    In this tutorial, I'm going to explain to you how to manage comments in Drupal 7.
Hendy Irawan

More info | Social Networking - 0 views

  •  
    "Essentially, this website is built around the Facebook-style Statuses module and the Facebook-style Micropublisher extension for it. These two modules (plus the ubiquitous Views module) are what power the "streams" of status updates, links, and images that you see on this site. The rest is mostly fluff. Cool fluff, but fluff nonetheless. My name is Isaac Sukin, a.k.a. IceCreamYou. I frequently blog and tweet about social networking, and I'm planning a blog series about topics I covered in my DrupalCamp presentation in the coming days and weeks. I wrote the Facebook-style Statuses suite, and I am mentoring the Micropublisher initiative for Google's Summer of Code. I've been working on social networking in Drupal since 2007."
anonymous

Using CTools for form item dependency / visibility | computerminds - 0 views

  •  
    One of several helpers included in the ctools module, ctools dependency is described on the module page itself as "a simple form widget to make form items appear and disappear based upon the selections in another item". It's designed to make it easy and quick to hide/show form elements based on the value of other form elements in the browser using javascript.
Jackie Fields

IT Management Conference & Expo in NYC Oct.14-16 - 0 views

  •  
    http://www.manageit.me ---The greatest minds in IT in 50+ presentations : top industry-leaders: Creator of MySQL Michael "Monty" Widenius, Internet Celebrity Gary Vaynerchuk, Co-Creator of PHP & Zend CTO Zeev Suraski, Richard Sheridan, CEO of Menlo Innovations & Pioneer of Agile eXtreme Programmi...
Justin Pierce

Enjoy An Excellent Bookkeeping Service - 1 views

It is a small grocery with just 4 staff that I started 6 months ago. I thought I can smoothly run it on my own. But then I noticed that I always encounter troubles in doing the payroll and other mo...

started by Justin Pierce on 28 Dec 12 no follow-up yet
Hendy Irawan

Social Networking in Drupal: my SouthEast LinuxFest Drupal Day presentation | Isaac Sukin - 0 views

  •  
    " * I gave a presentation on Social Networking at DrupalCamp South Carolina on June 13th, 2010 (hosted by the SouthEast LinuxFest). Here are the slides I presented (complete with my notes on them) in various formats, as well as a link to the demo site (feel free to play around) and the downloadable Feature I exported based on the demo site. Demo site: http://sndemo.dev3.webenabled.net/ Feature: http://community.featureservers.org/project/self-social-network (also attached) View slides online: http://www.slideshare.net/mediacurrent/social-networking-in-drupal-isaac... If you want to download the slides, I recommend the PPTX. Finally, thanks to Mediacurrent and Doug Vann for making it possible for me to give this presentation."
Angela Ann

Personal Loans With Bad Credit - Cash Advance Without Any Credit Check Formalities - 0 views

  •  
    Personal loans with short term help offers easy monetary aid to handle your cash woes in the same day of applying . You can arrange fast funding through online way without any credit check verification. Best way to solve your cash hassle according to your needs .
  •  
    Personal loans with short term help offers easy monetary aid to handle your cash woes in the same day of applying . You can arrange fast funding through online way without any credit check verification. Best way to solve your cash hassle according to your needs .
  •  
    Personal loans with short term help offers easy monetary aid to handle your cash woes in the same day of applying . You can arrange fast funding through online way without any credit check verification. Best way to solve your cash hassle according to your needs .
amelia_joe

Drupal 8 Bug Bounty Program: Find an Issue and Get Paid - 0 views

  •  
    Anybody can participate in this bug bounty program and try to find the issues in Drupal 8 within 31st August 2015.Read more at:http://losangeles.fortuneinnovations.com/news/drupal-8-bug-bounty-program-find-issue-and-get-paid
Hendy Irawan

phplist Integration Module | drupal.org - 0 views

  •  
    This module provides a basic level of integration between Drupal and phplist. one-way synchronisation of user accounts from Drupal to phplist targetting of mailshots using Drupal user profiles users can manage their phplist subscriptions in "My Account" bulk import to phplist for existing Drupal installations anonymous sign-up (via a block), confirm and unsubscribe access to lists based on role NEW in D6-DEV - send mailshots directly from within Drupal (thanks to seutje #449024: future direction) All the functionality of PHPlist is retained - this is just a way of automatically getting Drupal users into the phplist database and incorporating them into any mailshots that get sent.
Scott Blackburn

Views Help: How to get a field to "Link this field to its user" besides username | drup... - 0 views

  • Though one would think the $field object is what we wanted-- the actual object we needed is $row (even though we're only looking at one field in the row). Put the following into the field tpl file to see what the necessary info is: <?phpprint '<pre>';print_r($row);print '</pre>';?> Then, to actually make the link, put the following in your field tpl file: <?php$account = user_load($row->uid);print l($row->profile_values_profile_fullname_value, 'users/' . $account->name);?> Change 'profile_values_profile_fullname_value' to the proper field alias (based on the $row output). Also, be sure to change 'users' to whatever the path is for your user accounts. I also had another thought-- given your use case, you may want to consider the http://drupal.org/project/realname module as well. It will replace usernames with whatever field(s) you designate all over the site. EDIT: I had another thought. I'm not sure of the performance implications of doing a user_load in the template file. Another option is to add the 'User: name' field to the view but exclude it from display. Then you could avoid the user_load and change the code in the tpl file to: <?phpprint l($row->profile_values_profile_fullname_value, 'users/' . $row->users_name);?>
  •  
    theming the field tpl files for Views2
Scott Blackburn

How to make CCK fields do some of the same tricks as taxonomy terms | !&# - 0 views

  • In Drupal, taxonomy.module implements hook_term to provide links among content which shares a given term. Site builders often use this feature to provide indexes and RSS feeds of their content. Taxonomy.module's purpose is to support the creation of controlled vocabularies which we can use to classify our site's content. If taxonomy.module were a prescription drug, this would be its "on-label" or indicated use. Using taxonomy.module vocabularies and terms to store essential data about our content is what I call an "off-label" use. You're not really creating a controlled vocabulary, and the term-node relationship in these cases isn't always classificatory. However, a clever web developer will use the tools that get the job done, and often taxonomy.module is the perfect tool for making this happen. Because this information is essential to your node's content, CCK fields are indicated for this use. However, CCK fields don't have built-in linking among nodes which share values for the same field. Also absent is any built-in RSS feed for a CCK field's value. This requires some theming and Views.
Scott Blackburn

How to get rid of PHPSESSID in Drupal and other PHP applications | The Baheyeldin Dynasty - 0 views

  •  
    PHPSESSID in Drupal and other PHP applications
Daniel Gregoire

Wrapper ID (form-item) not displayed for Checkboxes / Radio Buttons CCK Fields | drupal... - 1 views

  •   if (!empty($element['#id'])) {    $output .= ' id="'. $element['#id'] .'-wrapper"';  }  else { // if we can't get the #id from $element['#id'] just build it from $element['#name']    $id=explode("[value]", $element['#name']);    $output .= ' id="'. $id[0] .'-wrapper"';  }
  •  
    Small fix for giving radio/checkbox form elements a proper ID on their wrapper. By default in 6.16 and CCK, no proper CSS ID is given to the wrappers of radio buttons and checkboxes, making it impossible to theme the layout of those elements in the form (specifically for me, the node edit forms).
Fabola smith

Drupal Blogs,Do It with Drupal,Drupal Development Blogs | Ebizon NetInfo - 0 views

  •  
    Do It With Drupal - 2009 is coming up in New Orleans and is set to be bigger and more fruitful than the event held in 2008.
Megan Lloyd

WordPress Development Edinburgh| WordPress Developer Company| UK - 0 views

  •  
    Fortune Innovations is WordPress Development Company in Edinburgh which have core expertise in WordPress to offer creative and profitable WordPress development service.Read more at: http://edinburgh.fortuneinnovations.com/wordpress-cms-development
amelia_joe

Top iOS8 Challenges for developers - 0 views

  •  
    When it turns up in the approaching weeks, Apple's ios 8 is readied to bring a few novel peculiarities, including its Healthkit and Homekit platform, to the iphone and ipad. A ton of the advances are client situated and focused on building an immaculate encounter crosswise over ios gadgets and Macs running the approaching OS X Yosemite. Presently that Apple has arranged a Sept 9 occasion where quite a few people envision recognizing another iphone, its plausible that ios 8 will be in the hands of clients really soon. While the working framework does not have the comparable sort of sensational outline redo that accompanied ios 7, it has various enormous changes that give opportunity for good and awful.
1 - 20 of 143 Next › Last »
Showing 20 items per page