drupal

Cannot save a Panels flexible layout for reuse

I wanted to save a flexible layout that I've already customized so that I can use it on the other pages on my site. After hitting the save button, I get a pop up with the following message: Unable to complete operation. Fatal error in modules_dir/panels/plugins/layouts/flexible/flexible.inc on line 1741: Call to undefined fun...

Sending email with attachment

I've a custom form (created with form API) that need send an uploaded file by email. The current form submit handler send the email withouth attachment using drupal_mail(). So I'm looking for a solution to properly send email with attachment from Drupal. Mime Mail seems overkill because HTML mail, templating and its other features are n...

The cost/benefit of learning multiple content management systems

I'm a PHP developer who uses drupal whenever the job looks like it could benefit from a CMS. I was having a discussion with a colleague who said that it helps him a lot with clients that he knows multiple content management systems. To me, this sounds like dividing one's efforts, and I'm not sure if it's worth it to invest the time learn...

Brilliant Gallery: where to put [bg|...] tags?

Hi, I want to use the Brilliant Gallery (Drupal) to show a public Picasa album. According to the documentation (http://vacilando.net/bg), the RSS feed of your album should be a tag: Then, in your your web version of the album, right click & copy its "RSS" link, and simply use that link instead of the local path in the [bg|path...

Do most clients know what a CMS is?

I currently work in an agency and have been considering trying to branch out on my own. In my current setup, whenever I interact with a client, it's at the later stage after they've hired us and after someone from sales did all the front work with them. I suspect it's very different for developers who deal with clients directly. My que...

Exposing a table to Views

I have a table that's been created by a module. I need to include some of its fields into an existing view. I tried using the table wizard module, but all it does is create a separate view for that table. I'd like to be able to choose fields from that table to be added into an existing view as additional fields, or through relationship...

Best practices to list books and books childs with hierarchical style in Views.

Im developing a website about travels. My needs is to build a view that output: France Guide - Guide to Paris* -- Hostels in Paris - Guide to Lyon* - Guide to Hostels in France Ireland Guide - Dublin* -- Hostels in Dublin - Cork* Italy Guide - Rome* - Florence* The nodes with the asterisk * has a location field, and i need to show th...

Input field width and height: how to change them

I've never touched drupal's theming layer before, so I apologize for the basic question. I'm trying to change the default width and height for the input fields used in drupal forms. Is there a generic template that I need to change? or do I have to find everywhere where there's a form, find its template, and change it. Any tips on how ...

Mail verification based on token mail action

good morning, I have created a new content type - petition, a last step has to be verification of their mail address by sending them a link to prove or to delete them from the petition. I need to get some sort of unique link which then I send as tokenized action mail to the mail account provided in the form. the tokenized link should th...

Organic groups access to /og

How do you limit access to the /og page to only authenticated users? I don't see to see an option under /admin/user/permissions. ...

Allow client to see invoice in UberCart?

When using Drupal and UberCart, I can view an invoice by going to: admin/store/orders/10006/invoice, but.... clients can't access this, even with the "view own orders" permission. Is there a way to either give them access to only that link, or an alternative link where they can view it? ...

Breadcrumb separator code?

Drupal uses this symbol for breadcrumb seperation: » However, it shows up really messed up when I put that in code. I.e. It shows this question mark thing. What is the correct markup to display this properly? ...

Cron configuration

How to set cron to clean drupal cache every 2 days ??? ...

How to put the pager on top and bottom of a page?

I know that I need to use theme_pager function to render the code: http://api.drupal.org/api/function/theme_pager/6 I know that it is pre rendered into the $content of the page.tpl.php and if I would like to theme it I only had to overwrite the theme_pager function into template.php. I know that in Views I only had to use the variable...

Webcam Solution

Is anyone successfully embedding webcam videos in nodes where those videos are private on the hosting service? I especially would appreciate hearing about OG-supporting solutions. Thanks. ...

From custom formatters to a field?

I've made a field using Custom Formatters (Drupal, CCK). Now I got this PHP code to export /** * Implements hook_theme(). */ function product_attribute_theme() { return array( 'product_attribute_formatter_product_attribute' => array( 'arguments' => array('element' => NULL), ), ); } /** * Implements hook_field_formatte...

How to have the block driven by the page being visited as opposed to the user who is signed in

Im very new at drupal. My problem is that the block is consistent and not changing. It seems to be based on the user signed in as opposed to the page being visited (ie, in the multi-user blog, each block should reflect the page of the blogger being displayed and not the user who is signed in. I would like the info to be displayed based o...

How to create a 'blog settings' tab in drupal to move all blog related edit forms to one place

I dont know if im asking the impossible, but i want to have a tab in my user edit area that houses all blog related items (ie blog theme, blog info, user blogroll) as opposed to them being inside the user/%/edit and user/%/edit profile. Im putting together a multi-user site and this is crucial for user-friendliness. Thanks for any idea...

Node template for blog teaser node

I'm trying to create a teaser node template to display all Blog teasers. For the page tpl I have page-blogs.tpl.php For the Blog node tpl I have node-blog.tpl.php (This one is looping to display all the blog teasers) Now how do I create a node template to surround the node teasers? My URL for the page with all the blog teasers is: /blog...

Configuration settings transfer from developer machine to production

Hello All, Thanks for your time. I am new to Drupal. I am working on a website and lets assume I am testing 10 modules and select that "X" module suits me well. Now I configure this module to my requirements and then see that this suits the project really well. As you know some modules like profile module may have 10's of form fields whi...