This tag is for questions regarding Drupal 7 specifically. Version tags should be used only when strictly necessary, and not used just to report "I am using Drupal 7 in my site."
0
votes
2answers
14 views
Images not appearing properly when migrated from web server to local
I copied all the files from my web-server to my local-host. Then i imported the databases as well. All functionality on the site works perfectly, but most of the images are breaking.
I tried opening ...
1
vote
1answer
12 views
db_insert() returns wrong key
I'm trying to migrate from drupal_write_record() to db_insert() / db_update(),
but db_insert() returns a weird key instead of the last inserted key.
On an empty table, I'm doing an insert, and ...
0
votes
0answers
14 views
Show webform results on same page
i have a webform with a lot of fields(i am making some kind of calculator for my needs) and after submit i need to show custom output under my webform.
In hook_form_alter i have added custom submit ...
2
votes
0answers
16 views
Override Drupal views fields module with custom module
In Drupal 7.22, I want to override 'views-view-fields.tpl.php' views module with custom 'coutforum' module.
The steps I've followed include:
1- renaming the 'views-view-fields.tpl.php' to ...
0
votes
1answer
20 views
How to show “Add to compare” button in views using “dynamic properties” module in d7?
I need to list the products to compare using views. I have used "Dynamic Properties" module to compare the products.
On each product node I can see a "Add to compare" button. But how to show this ...
1
vote
0answers
10 views
Find and display most recent referencing entities
I have 2 different node types. The first one describes a factory and the second one describes a measurement of the water inside the factory. The measurement content type has an Entity Reference field ...
0
votes
2answers
22 views
How do I migrate my site without doing a direct DB export and site upload?
I'm in an odd situation. When I try moving my site from my dev server to my production server the whole thing blows up. I think it is something in my database, it even happens if I export the DB with ...
0
votes
1answer
12 views
MSAccess to SQLite install of Drupal and setup Custom Content Types?
I'm looking for information on how I could use or import a msaccess database into a SQLite install of Drupal 7. Is this possible or will I have to export the MSAccess tables to CSV or something and ...
0
votes
1answer
14 views
Self-hosted development and deployment control panel - does this exist?
My company requires a dev/staging/production environment for a new Drupal project. Plus some kind of control panel for managing development workflow and testing, upgrades and backups of code and ...
0
votes
1answer
10 views
Will disabling the Form Builder UI do anything to my webforms?
I want to disable the form builder UI so that I can select "multiple option" for a select list in the default webforms editor. This feature is missing in form builder. Can I do this or will it clear ...
1
vote
1answer
24 views
Are there any disadvantages in placing form elements in custom containers?
I've got a form layout in which form elements are separated between 2 divs: one with float: left, the other with float: right. I have to keep it that way.
Is it fine to place form elements in ...
0
votes
1answer
13 views
Alternative to Google Adsense content injector module
I want to "float" ads in the top right of my nodes for which Content Injector was nice enough in D6 moreover such ads convert well in my experience.
But for D7 is there any easy alternative? I know ...
0
votes
0answers
12 views
exporting/importing nodes without losing disqus comments / social media stats
I've been working on a website and the live version there is still content being created while i develop the local site.
Whats the best way for me to import the new nodes that have been created on ...
0
votes
1answer
17 views
Custom template for view page
When i created custom template for view page using 'theme information' in views,it's not affecting the page.What is the proper way to create template for view pages?
0
votes
1answer
12 views
Using ColorBox to popup “iFrame” shows original page content after the “iFrame” data?
I have a basic module that parses a JSON feed, stores it in cache, then shows a "gallery" of the objects - I know I should have maybe stored these as Nodes but it was supposed to be a quick simple ...
0
votes
0answers
15 views
How to get the url where an entity is flagged
How is it possible to get the URL of the content where the user was when s/he flagged an entity? I have content in a view in which I have the links to flag the entities so the URL where the entity is ...
0
votes
1answer
28 views
Show “Log in” link all the time (even for logged in users)
I have a menu item "My Shop" which redirects to the user/login page. But custom Drupal behavior hides this link whenever a user is logged in.
I would like to show this menu-item all the time. Is there ...
1
vote
1answer
22 views
determine value differences between form submissions
I have an entity form that user can submit multiple times. What i would like to do is during validation get current values in the database and compare with the once that user just entered. I'm using
...
0
votes
1answer
19 views
how to create the pagination for customized portfolio template
I will create the portfolio gallery page using custom content types with thumbnail and bigimage image fields. then i am using the following code for rendering content types
<?php
$content_type = ...
2
votes
1answer
29 views
In Drupal 7, how do I allow users to see their own unpublished content?
This Drupal page says that for Drupal 7 to allow users to view their own unpublished content to check "view own unpublished content" in permissions.
I have this checked, yet when someone clicks on ...
0
votes
1answer
15 views
How does the Search synonyms module work?
I've just activated the search synonyms module for D7, but I don't get how it works at all. Where do I set synonyms, I've tried editing forms or check the settings, but I can't find any new input ...
1
vote
1answer
17 views
Using different markup for views last item
I need to use different markup for last item displayed by views. Using first last css item does not do the job for me. I assume I would need custom php template probably views-view-fields.tpl.php. ...
0
votes
1answer
15 views
Single view to display related nodes
I am trying to display related nodes block using a single view for all the taxonomy terms. So that if user click on any node title he/she will see the related nodes based on the node's taxonomy term.
...
0
votes
1answer
22 views
how to show the date the node was created?
i have used the format_date() in my template files to try and output the date created.
i followed this tutorial http://webwash.net/tutorials/handling-date-and-time-drupal-7
i created a date format ...
0
votes
1answer
29 views
Is there a callback for the managed_file form element, called on succesful upload?
Is there a Javascript/PHP callback for the managed_file form element that is invoked when the file is successfully uploaded? (I mean when the "Upload" button is clicked, not when the form is ...
1
vote
1answer
24 views
Spam users and rules
I'm getting swamped by spam users. Can I use rules to automatically delete users that 1) don't have content/comments, 2) have never activated in a few weeks, and 3) have only activated the same day ...
1
vote
1answer
18 views
Image not found --> creates a path that doesn't exists
I'm trying to make a gallery with the Galleria module.
I did everything that the install guide said (module readme) and got the module to work, one time, but then when I went to my front page and back ...
0
votes
2answers
30 views
Add Block to Content but set it to appear after the node content?
I have added a block to appear in the Content region, however it appears above the content of the node for French, but below the content of the node for English - which is strange as (as far as I ...
6
votes
1answer
70 views
How do I get a block and its content commited to a Git repo?
Let's say I have created a block with some Full HTML (Facebook Feed) text inside. How can I commit the block and its text content into my Git repository, so my co-workers can pull it?
0
votes
1answer
14 views
How to preserve a “target” attribute on links in overlays?
How can I preserve target attribute functionality in Drupal 7 overlays? They appear to always be overwritten with target="_parent".
I have added a link to the help text of a field. I would like to ...
0
votes
2answers
33 views
How to theme a webform - D7 [closed]
I am in need to theme webform in D7.
How can I do that ?
In the search I've come to know that by using web-form-nid.tpl.php we are able to theme a drupal individual form.
Could any one guide me in ...
0
votes
2answers
21 views
Migrate files from directory to Drupal using Migrate
I have a folder with a large amount of files in. I need to migrate this into Drupals file system so I can then reference them in the content.
The ID of the file is the actual name e.g. 1234.jpg
...
0
votes
2answers
20 views
give node author ability to position the image when uploading content
I have a field of type image "COVER IMAGE" in my blog entry content type. The users should have the power to place it wherever they like...top, down,right or left, if not more and re size it. right ...
0
votes
0answers
27 views
Line breaks are ignored
This is the only filter defined:
but the the line breaks are removed and multiple paragraphs are joined into one paragraph.
How can I fix this?
0
votes
3answers
18 views
Where to put Commerce Kickstart translation po file?
After installing a blank Commerce Kickstart site, I'd like install another language as default for the site.
I can see the language .po file to download -> here
Where should I put the .po files and ...
0
votes
2answers
40 views
Function to list all the blocks
I am searching for a function that list all the blocks that are enabled in a theme. Is there any function for this purpose?
3
votes
1answer
78 views
How to allow special character in username?
Is there any way to allow the special character in username like "#" and "~"?
2
votes
2answers
19 views
“Jirafe credentials are not set” warning from Commerce
After install Commerce Kickstart 2.7, there is a warning:
Jirafe credentials are not set. Get your credentials at Jirafe
What is Jirafe and Jirafe credentials?
2
votes
1answer
16 views
How to make custom jquery method accessible from Drupal.behaviors, across multiple javascript files?
I have a custom views plugin. When the view is displayed, the javascript below gets loaded. Note the custom method, do_stuff, which gets called from within Drupal.behaviors.
(function ($) {
...
1
vote
2answers
20 views
Need help styling a field in a view
I am using D7 and subtheming the commerce kickstart theme.
There is a view named Collection Products. I have added a field to the view called Product category: Description (indexed) that pulls in the ...
-1
votes
0answers
22 views
Two different splash pages for different paths?
I need to create two splash pages. One which would display only on the front page and another to be displayed only on one internal page. Does Splashify module have that kind of customization and how ...
0
votes
1answer
13 views
Set all boolean certain fields to 0 if 1 with rules
I'm trying to reset all field_flag fields of all terms of a taxonomy value, where field_flag is TRUE (or 1).
Does anyone know how to do that?
Maybe some more back-story: I have a rule that gets ...
0
votes
0answers
14 views
iCal Feeds SSL error on Drupal 7
I installed Calendar, iCal and Feeds for import event feeds from Google Calendar. I created new feed and when I try to import feeds from GoogleCalendar I got the following error:
cURL error (60) SSL ...
0
votes
1answer
17 views
GROUP BY in hook_views_query_alter() doesn't work
I'm using Views 7.x-3.6 and I tried altering the GROUP BY clause with hook_views_query_alter()
function mymodule_views_query_alter(&$view, &$query) {
if ($view->name == "view_name"){
...
1
vote
0answers
27 views
How to check for Grouping field in Views submodule?
I'm developing on the Views Datasource module to enable grouping by field (not field aggregation). I've now got the output format that I want, but I don't know what variable the Grouping Field setting ...
0
votes
0answers
38 views
How to render multiple teaser and one full view mode (of the active teaser) on the same page?
I'm trying to do the following:
Show the teasers off all the posts (content type: application_formulier) in a horizontal scroll, this works using the "simplyscroll module and is already finished ...
2
votes
1answer
48 views
why some PDOException errors are displayed in details on users screen and some other not
A user reported to me seeing the following error on his screen:
The watchdog entry for this error looks like this:
PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try ...
0
votes
1answer
14 views
How to fix this error in drupal: ajax: ajax.form.ajaxSubmit is not a function
I am creating a form with ajax submission in my drupal custom form module when i click my submit button i got the following error:"ajax: ajax.form.ajaxSubmit is not a function". I am searching some ...
0
votes
1answer
25 views
block visibility based on user
I would like to remove certain blocks, so that admin can not see them.
In block visibility settings - in pages tab, I try to put followng php code but with no effect. (In user tab there is no php ...
1
vote
1answer
20 views
Alter markup around a webform [duplicate]
I have been trying to alter the markup generated by my webform. .
Example changes which I would like to do:
Add the class "form-horizontal" to the classes under <form class=""/>.
Add the ...

