Drupal administration or configurations.
2
votes
2answers
28 views
Is there a compelling reason to track sites.php with version control?
I'm wondering if sites.php is a file that should be tracked? I can see it being useful because domains tend not to change for any given site (not true for development, as I usually run a ...
1
vote
1answer
62 views
Adjusting Apache Solr bias based on content length?
I have a site using the Apache Solr Search Integration module with a short-form content type that is getting weighted too highly in the Solr index. I've tried adding "Bias" to the other content types ...
0
votes
0answers
24 views
Trigger an email to admin sending user details when 'welcome (no approval required)' is set in Drupal 7
I am working on a drupal 7 site where i had set "Who can register accounts?" to Visitors in accounts settings. Now the problem is i am unable to send an email site admin providing the user details. Is ...
0
votes
2answers
50 views
Localhost configuration and problem with file permissions
Whenever I work on my local machine I am almost always experiencing problems related to file permissions settings, and since I guess they may be related with my local machine configuration I would ...
1
vote
1answer
29 views
Setting up sub sections with their own editors
I'm new to Drupal (v7.21) and hoping to use it for a site that contains several sections each run by a separate owner and their team of editors. Just wanted to ask if it would be possible and how I ...
1
vote
0answers
19 views
Splash screen for product category doesn't show
The version is Drupal 7. It is a B2B inquiry store and I just started at the company whom asked me to fix the splash screen function on their store.
The menu on the site looks like this:
-Main cat 1
...
0
votes
2answers
77 views
Is it possible to put Drupal.settings javascript in separate file
I am trying to place all javascript in external files, is it possible to place Drupal.settings javascript in an external file? It is displayed like:
jQuery.extend(Drupal.settings, { "basePath": "/", ...
0
votes
2answers
36 views
Phising warnings (in gmail) when using a gmail address as the website email address. How to avoid it?
I would like to use a gmail address (a simple email address. i'm not using google apps) as my website's email.
The problem is that users receiving messages from the websites (notifications etc..) ...
1
vote
1answer
50 views
How to build an install profile progmatically
I need to create an install profile from an existing site. My question is what to do with the site configurations? The site is pretty complex, so putting them manually in the profile is out of the ...
0
votes
0answers
16 views
D7 Infinite Fields in module administration page
Is it possible to have an infinite field/group of fields in a drupal module administration page? if so what's the standard way of producing this?
What I would like is for a user to enter details, then ...
0
votes
1answer
43 views
How to add content in custom menu block?
I have own menu type "Footer menu". When I add new content, "Footer menu" is not display in Menu setings. Where is the problem?
0
votes
1answer
19 views
Can't reorder items in Text formats
On Drupal 7.15, I cannot save reordered draggable items at /admin/config/content/formats.
That is the dialog with all text formats and their options, and dragging them in order force their order of ...
0
votes
1answer
30 views
How to save file as a settings
How can i use settings form http://api.drupal.org/api/drupal/modules%21system%21system.module/function/system_settings_form/7 to make a file saved and retrieved using variable_get() ?
I am using ...
0
votes
0answers
45 views
Taxonomy terms listed as taxonomy upgrade extras after d6 to d7 upgrade
I have got a problem where every time I upgrade to a newer version of Drupal, the settings from my custom modules are lost. So each time, after each upgrade, I have to redo the settings that come from ...
1
vote
2answers
91 views
How to add checkbox to existing administration page
For a custom module i would love to add a checkbox to "BANDWIDTH OPTIMIZATION" under "admin/config/development/performance". I know how to add a new admin page but this is just one checkbox and i ...
0
votes
1answer
102 views
How to display featured or new products on main Ubercart catalog page?
I'm having a little difficulty setting up Ubercart that may be related to the particular way I am wanting to use it. I'm sure I've just missed a setting somewhere or something.
I have the front page ...
1
vote
2answers
65 views
How to programmatically add menu for content type?
E.g. article has main menu as default, I want to add (and remove) second menu as available to article content type in my unit tests, how can I do it?
4
votes
3answers
117 views
Variable saved as string, not as integer
I have a problem when updating a variable with return system_settings_form($form) - Basically, I store a variable as an integer, but when I press Save configuration, it works very well except that it ...
0
votes
3answers
477 views
Disable user language setting in user-edit page [Drupal 6 to Drupal 7]
I want to unset this specific part of the settings form in template php. I found some code example for Drupal 6, but can't figure out how to do it in Drupal 7.
I tried this without result:
if ...
1
vote
0answers
41 views
Have all internal links in drupal leave out subdirectory where docroot resides
I've successfully followed some instructions online to get our plain url to direct to the content found in a subfolder (drupaldev) so that when you enter any url for that site even without the ...
0
votes
1answer
38 views
Configuring Drupal for Upstream Deployment
I'm trying to help a co-worker configure a Drupal site so that we can deploy the same site upstream without making database changes. We're having trouble with file paths. Here's what I have:
A Nginx ...
0
votes
1answer
51 views
How to configure the views slideshow from the CMS?
Currently I am configuring the views slideshow from the views edit. where I can set the interval time, slide show type and effect, control of the slideshow pause/stop/start etc.
My need is that I ...
0
votes
1answer
16 views
how to edit number of characters to be shown in “readmorecontrol” module?
Any idea on how to edit the number of characters to be shown before the "Read More" link is displayed?
I remember this to be an editable field but not able to locate anymore how to do so.
Link to ...
1
vote
1answer
64 views
Error on module admin configuration page
I cannot find any documentation or similar problem with mine.
Whenever I am trying to go to the configuration page of some installed module like "Pagetitle" module and Add menu links module.
The ...
0
votes
0answers
51 views
Drupal, Apache, and %{REQUEST_URI}
I have a live Drupal site with content at www.mysite.com/about. When trying do to an HTTPS to HTTP redirect with the following code:
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteCond ...
0
votes
0answers
36 views
Unable to assign region,weight for newly created blocks
I can create new blocks but I cannot assign it to a region nor modify weight.
I am updating it in tables as of now.
What can be the problem here ?
0
votes
1answer
49 views
How to create a custom Aegir Drupal interface
I'm interested in using Aegir to deploy Drupal websites. I'm wondering if there is a way to customize the user experience of setting up a new site, while still maintaining the Aegir mechanism. ...
4
votes
2answers
88 views
How can I isolate *content* from *configuration* in the database?
There's no obvious way (that I can see) to isolate a Drupal site's configuration (which is of course all in the database) from its content (which is of course in the same database) when doing any ...
0
votes
0answers
51 views
Asynchronously load form control into block configuration?
Is there a way to asynchronously load a form control into a block configuration.
I have a module where I create a block. Then in the block_configure hook I create a select form control with two ...
1
vote
1answer
179 views
Any chance for alter system settings form via hook_form_alter?
I would like to create module based on other custom module. One thing that will be nice to able to do is to alter module settings form fields. Is this possible?
2
votes
2answers
44 views
Is there a way to log changes to module settings for better long-term administration and debugging?
We run quite a complicated Drupal 6 site with a lot of custom modules which was already migrated from D5. There are a few site administrators and we have had situations where a change in the settings ...
1
vote
1answer
59 views
What's overriding my local_settings.php?
I'm using a local_settings.php file, that includes several $conf settings. All of the settings were working as expected until just recently when the mail_system setting started getting overridden ...
1
vote
1answer
219 views
How to get a value from block configuration's form control?
I'm new to drupal stackexchange and drupal too.
I have made an example module that creates a block called "example". I added a textfield form control to the "example" block's configuration page using ...
0
votes
2answers
122 views
Pressflow Install - Redirect to database configuration without error
I am currently installing the database in the conguration distribution "Pressflow." I have already installed apc and varnish.
During installation, I put the access to the database and when I click ...
3
votes
1answer
207 views
Why variable_get() returns all values of checkboxes list, even if checkbox is not selected?
I have checkboxes list in system settings form:
$form['mymodule_menu_perm_menus'] = array(
'#type' => 'checkboxes',
'#title' => t('Menus'),
'#options' => menu_get_menus(TRUE),
...
0
votes
1answer
104 views
Saving the module configuration form data
I am using Drupal 7.
I want to create an add-on module for Entity External Rating module.
In that I want to give the form to users where users can select the content types, and based on that ...
0
votes
1answer
111 views
Drupal 6 Module Storing configuration setting in file
I have built a module that uses encryption and I need to store the encryption key somewhere so that it is configurable.
I would like to put it in a file (the equivalent of web.config of .NET website) ...
0
votes
0answers
238 views
In Views how do you edit Styles
I am new to Drupal 7 and I just installed views. I have a view all set up with a text field and an image.
This view would be used as a Welcome paragraph to my site. It will also have a picture of a ...
5
votes
3answers
685 views
How to choose between Bean, Boxes and Fieldable Panels Panes?
Bean, Boxes and Fieldable Panels Panes all provide similar functionality. I have trouble understanding what exactly the differences between them are.
What are their advantages/disadvantages compared ...
1
vote
1answer
99 views
Parsing a multi-valued theme-setting into to two defaults results in theme-settings not saving
The intention here is to parse out the two integers on either side of the dash, and save them as separate defaults. The problem I'm running into is nothing will actually save when I submit the ...
1
vote
1answer
285 views
Drupal Commerce: How to validate payment method settings?
The code add settings for commerce_mymodule (for example) commerce payment module. Can I validate 'mymodule_deadline' variable and how?
/**
* Payment method callback: settings form.
*/
function ...
1
vote
3answers
790 views
Alter field settings using hook?
EDIT: I need to alter the settings of an entity reference field for administrators only. I need to change from the settings in the first image, to the settings in the second image.
The reasoning ...
0
votes
5answers
362 views
How/where to change the default size of inline images?
For the life of me, I can't seem to figure out how/where to change the default size of inline images (that is, images that have been inserted into the body by way of the wysiwyg editor's Insert/Edit ...
2
votes
0answers
125 views
Cannot edit regional settings in drupal 7
I cannot edit any of setting presented in regional settings category under admin/config/regional/settings. Whenever I for example remove tick from "Users may set their own time zone" and click save ...
0
votes
0answers
86 views
Cannot access configuration pages
Dead configuration link
Hi, I am developing a Drupal 7 website with MAMP and everything works ok, except that when I access on some configuration pages, all that appears is a non themed breadcrumd ...
0
votes
1answer
80 views
Configure Modules from a Script
I'm interested in created a sort of "deploy" script. I basically want it to take a fresh drupal install (plus my versioned work in sites/) and disable and enable modules as needed and then ...
1
vote
0answers
20 views
Passing JS settings local to an instance of a field
When attaching a behavior to an object there are two parameters, context and settings. As I understand, settings object is global to all the page. But what to do if I need to send different settings ...
1
vote
0answers
269 views
Having Problems configuring Sharethis Module with Drupal 6
Firstly, this is my first post in this forum so if I am posting in the wrong place or anything similar then please point me in the right direction!
What I have is the Sharethis module - ...
0
votes
0answers
89 views
Enabling Drupal for IPv6 - typical problems
I am planning on enabling IPv6 on my Drupal6 installation. From the server side it seems to be all ready. I have looked through the core issue queue for typical problems and will backport them as ...
1
vote
0answers
112 views
Welcome email body not changing to reflect account settings
I'm in /admin/config/people/accounts and have changed the text that new users will be sent when signing up accounts, but the body of the messages remain the same, although the subject line is ...
