Hi!
I have some view which lists my module table entries.
What is the most elegant way to attach a form below the view to add record?
Waht I am trying to do know is:
I created dedicated form in my module:
function my_module_form_add_record($form_state) {
form fields.....
}
I added to the view theme file:
$add_form = drupal_get_form...
I've noticed that in Drupal after some users enter content into the body of a node, characters like quotes and apostrophes get saved as:
’
“
This is due the user entering odd characters or something...
Does this mean the Drupal database
hasn't been configured for utf8?
How can this be corrected so ’ is
actually saved as just '?
...
I noticed running some Drupal admin tasks if they take usually more then 10 seconds result in a 404 error. For example, I was running "Search and replace" and it always throws a 404 after about 10 seconds even though the task apparently works.
I only noticed this after migrating my Drupal install to Dreamhost. I've increased the max_exe...
I am using Drigg on Drupal 6.17. Drigg has a content type called as "Scoop". I try to change the labels and order of fields. Normally, this is done in Content Management > Content Types > Manage Fields . But some fields that are shown in Create Content screen are not shown in Manage Fields screen.
The screenshot of Manage Fields is her...
how do I change my activerecord model default behavior for the find method?
For example, i want to search for all books inside drupal nodes database, but drupal uses only one table for all data, and uses the 'type' column to find out the type
class Book < ActiveRecord::Base
set_table_name 'node'
def find(*args)
:conditions => {...
On my homepage I have a slideshow of pictures that are user selectable. I don't want the user to have to modify the image at all.
http://homespun-at-heart.com/ is the example except that the way that it currently is, the user has to modify the image.
What I would like to do is to have a div that is layered on top of the image so that ...
hi,
I need to import a big databases into Drupal CCK nodes.
Let's say I have 1 million of lines to import. Each line is a Drupal node, and each field is a CCK field. (this is the mapping I have in mind).
Is this something risky to do, or do you think I can easily import the data in my new Drupal installation ?
Could you suggest me to...
Hi,
Is Drush supposed to be listed in Modules administration pages when I copy its folder there ?
I cannot see it.
Thanks
...
Hi!
I am using hook_form_alter to disable some publishing options whet authors adds or edits the nodes:
/**
* hook_form_alter ()
*/
function mymodule_form_alter(&$form, $form_state, $form_id) {
global $user;
if ($form['#id'] == 'node-form') {
unset($form['comment_settings']);
unset($form['path']);
unset($form['revision...
I have a view that has the following settings:
Style: Unformatted
styleRow style: Fields
...
Filters
Node: Published Yes
Node: Type = Image
Node revision: Title begins
slideshow_q
...
Fields
Node: Title Title
Image: Image Image
I also have 6 image nodes. Yet only one of them--the...
hi,
I've recently been told to use Panels to dynamically load content into different sections with Drupal. However, I've just realized that there is an easy way to do it, I've added this jQuery code to all menu items:
$('.menu a').click(function(){
$('#content').load($(this).attr('href') + " #content");
return false; //to avoid...
I am looking for a tighter integration between forums and email. i wanted to setup my drupal instalation to:
send an email to users when a new answer is posted to the topic
create a new node when users answer by email (optionally, to a mailgroup)
what are the best modules to do this? how would i accomplish this?
...
Hi all,
I have a div container in the page.tpl file, which I want to use as a popup layer for images. These images are recieved from the nodes.
So every time i hover over the images i want to show the popup layer with content from the specific node.
How can I send content to that specific popup div from the node.tpl?
//Kris
...
hi,
is there any way in Drupal to add drag and drop ordering functionality to CCK fields in a specific node ?
My customer would like sometimes to change the order of the items for some nodes.
Thanks
...
hi,
I've created several displays for my View.
I thought that I could assign different styles (Gallery, Table, etc) of the view for each display but I realized that only 1 Style is used for all Displays.
The reason I wanted to change is because I'm using DraggableViews, and I would like to keep the same order for all displays, when th...
This issue irritates me much.
Somehow after installing wysiwig editor my comment body form turned into rich.. bla bla area.
I do not want this but I can not find the place where to turn back comment input format to the plain text (or filtered format).
I know how to change filter options for different content types but turning back commen...
We have the taxonomy image module installed, uploaded some taxonomy images a made a happy dance. Thumbnails where needed so we used the taxonomy_image_display() which does a fairly good job (although constrained to 150 x 150px). What we need now is a way to manually add a taxonomy image thumbnail for those special cases where the designe...
I don't know if I'm on the right track but I'm trying to let users of my web site create there own versions of pages on my web site.
Basically I'd like to make our documentation used as a starting point where they just add details and make a new page for themselves in the process.
I have a 'book' content type that I have changed with CCK...
hi,
can I automatically add a menu item when I add a node to the page in Drupal?
In other words, can I associate a menu parent with a node content-type, and then automatically add the children if new nodes are added ?
thanks
...
hi,
If I download a module which is not stable to run in Drupal (red color over download link), is this causing issues to my drupal installation even if it is not enabled ?
In other words, if I enable it, and use it.. could it cause issues to other modules or drupal core that remain there even after I've disabled it ?
thanks
...