


Scheduler module not working even after cron run
Installed ‘Scheduler module’ and try to publish a content on specific time. But it seems like it is not working. I tried with ‘Run cron manually’ also, But it doesn’t ,While trying with Scheduler light weight cron it is working. Why is it... read more
Limit filter operators
Is there a way to limit the operators for views-filtering for users. I want them to only have “starts-with”, “contains” and “same”. But not the rest. Do I have to form_alter with a custom module? Or is there some intern way to... read more
Add percentage based fee/tax to specific product types on checkout
In Drupal 7 Commerce, I have two product types, a service product and a physical product. I would like a 6% fee added to all physical products only when the user gets to the cart review page. Ultimately it would be a custom line item like a sub-total or tax. Currently... read more
How do I use an external data source in a view?
I am trying to display some TV schedule information from a thirdparty json api. I need to know what is the best way to do this. I have tried various module wsclient module,json query plugin, wsclient view integration. But none of them worked and overkill. I can write... read more
Editing the ‘default front page’ base URL
I rebuilt a new server from another server’s image. And I want to use it for a new domain, but I’m finding that the new server continues to redirect to the original server’s domain. Going to the new server’s drupal admin console, I see that the... read more
Loading current revision node
How do I construct an entity condition so that it loads current revision of all nodes? This is my attempt. $query = new EntityFieldQuery(); $result = $query->entityCondition(‘entity_type’, ‘node’) ->entityCondition(‘bundle’,... read more
How can I add a field in Entityform / hook_form_alter
I’m trying to add a field to the form in hook_form_alter. What’s the proper way of adding fields in this hook in case of entityform? I tried to add it this way: $form[‘leadname’] = array( ‘#type’ => ‘hidden’,... read more
How can I load content on the same page from a search
So the idea is to load the results of the search on the same page. I was told to look into SOLR, but it looks like we have something similar to SOLR , and we just need to know how to load new page content into our drupal site. Alternate to iFrame. read more
CKEditor placeholder text doesn’t work (config.js)
I’m trying to add placeholder text to my ckeditor screen like for example Type here … . You can do this with the configuration helper plugin. I’ve placed the ckeditor library in sites/all/libries. I’ve pasted the plugin in... read more
Drupal 7 Webform Components Related To Individual Nodes
I am attempting to create a decision making “questionnaire” in Drupal 7. I am currently using the Webform module to create the questionnaire. The questionnaire (webform) will create a list of related nodes based on the users submission. What I need is a... read more
Modal/dialog box
This sound like a really dumb question, but for the life of me I cannot find something that works. I want to trigger a modal/dialog box for some basic content. Its just HTML, not the login page or password reset or webform, or an image. I just want to pop some content... read more
Schema.org ="url" inside anchor object (link)
I’m trying to use the preprocess function to change the default outpot of links <a href> to include Schema.org’s =”url” inside the anchor object, as well as adding a <span =”title”> to the title of the... read more
How to create a custom header with print module and tcpdf
I’m using print module to generate pdf files of the articles. I’m using tcpdf library, I couldn’t find the header options in the settings page. I can see options for Logo and footer, but no header options. When I tried to get the pdf file. In the... read more
Entity Reference and Views to allow a nested structure
I’m trying to implement a nested structure in such a way as to get a table (within a view?) similar to this: Parent Child Grandchild Age Sex John 56 M Lisa 29 F Jim 4 M Louis 6 M Mark 24 M Sanda 21 F Marcela 45 F Sam 21 M Andy 18 M … For this I defined the... read more
How do I get a paginated view to display rel="next/previous" tags?
Using Drupal 7. I’ve got several views (most of which listing articles which have been posted) that paginate and I’d like to add; <link rel=”prev” href=”http://example.com/recent-articles?page=0″ /> <link... read more
Drush bootstrap level error
Im running onto some issues with Drush. I worked with php 5.3 and after upgrading to 5.5, i ran into some issues and decided to downgrade my PHP version back to 5.3. Now im running into the issue that Drush isnt working anymore. Command cache-clear needs a higher... read more
Profile2 regpath move account email field, into profile2 form and handle submit
I have a profile2 regpath displaying my profile2 form, and the system default account registration form below it. I need to move the account email field up into the container with the profile2 fields. I have altered the form and moved the account mail field from the... read more
Pass multiple ids as Views Arguments in the Rule action Save PDF as file on server
I’m using views PDF to print out a list of nodes on a single PDF, one per page. Now I have more than 1000 nodes/pages on a single generated pdf, so I’m trying to use VBO and Rules to create a view where I can filter/select the nodes I need and execute a... read more