Hello.
I wonder, which Drupal modules I can use to implement the following system:
User has X amount of credits on his account (I think CCK can store this value). He can create specific Nodes (requests for admin). Each Node has a Type (Taxonomy defined, may be. Or via CCK). Each Type has associated number of credits. When user publishe...
I noticed, forms "story_node_form" or "node_form" are formed like this: form->div->div->div-standard+div-admin+submin-button
My custom content type is not formed this way:
I have 49 checkboxes. I placed them with drupal_render() into table like here: http://eugen.gotdns.com/test/zeitplaner.png
After that i've done drupal_render($form)...
I have recently started working with Drupal on the side and have had to tackle the limitations I come up against in the Views API. More than not I find it faster and more powerful to code it myself.
It is hard to create custom views that have a specific look and feel without create custom files anyway.
Creating the pages from scratch ...
I want to display the query that is executed in the drupal view. Currently in the view editor it shows the query however I have a need to use that query in my code to download an excel version of the view.
Is there a way to get the executed query the same way it's shown in the "editor" window of the views menu? I want this at the time...
I am trying to accomplish the following. I need to use Drupal 6 as a project requirement, but I want to use it with my own HTML and CSS stylesheets for each node/view/panel etc.
The problem is, whatever the theme, I always found that Drupal applies to my HTML content both my CSS stylesheets and the CSS related to the theme chosen. I hav...
I have a blog where you can add tags. I wanted to see the related blogposts to this tag in a view so i created one with the module Similar By Terms.
However, i can't seem to link old blog posts to new posts. Only new posts to old posts.
what does this mean? when i add a new blog i get all past blog post with the same tag posts. But whe...
I added some users from an excel via a script to my drupal database. This works fine except for one thing, i use the profile module to store some information, one of them is the date of birth.
In my excel the date is stored like '18/02/1995' but in the database a date field has a format like this 'a:3:{s:5:"month";s:1:"2";s:3:"day";s:2:...
When a user signs up at a Drupal site, there is a configurable message that Drupal will send the user letting them know their username and password.
I have about 1,000 users that I imported, but at the time, I didn't want to notify them - but now I do. Is there a way notify the users without reimporting them?
I looked through some of t...
I have set Drupal to determine the language from the URL (path prefix), thus / is english and /da is Danish.
This works fine for all pages except /da
The frontpage for Danish is /node/14 but it doesnt show when I go to /da
Also content marked Language neutral is not showing for any language.
Any ideas?
p.s. I'm using Drupal 7.0 Alpha...
I want to have on my page something like "This page last refreshed on: {DATETIME}"
I have tried to get the cache date but I have having trouble with the View display_handler object. $view->display_handler->get_plugin('cache'); is NULL, even though the View cache is currently set to 1 min. Any ideas how to print the DATETIME of the ca...
I've got a Drupal 6.x install, and there is one block generated by the Station module which displays the name of the show currently playing. Is there a way to make just that block exempt from caching? Alternatively, can I insert a 'refresh' for only that block at 00:59:00 ?
I'm not a php guy, but have found the place in the module wher...
hi,
I don't understand why I get this error when I upload images...
The selected file intersection.png could not be uploaded. The file is not a known image format.
It is just a png file, and the problem came when I moved the website on the server. On localhost everything was perfect.
1) I've deleted the "files" folder and created it...
I'm using Drupal's Views 2, and need to retrieve min values from fields in a custom table. The query for this is easy if I were writing it by hand--something like, "SELECT foo, min(bar) FROM table GROUP BY foo." But how would I do this using Views? I've already defined the table in a views.info file, so there's no trouble getting views t...
I need some help modifying the Webform Module so that it can work for my project.
I use Webform right now for single page, basic forms, and it works wonderfully.
What I need to be able to take multiple webforms and string them together based on some initial selections a user makes.
Let me give an example.
The user is sent to a "General ...
I try to use this tree menu in taxonomy menu[tree menu][1]
First I add js files to drupal and i add a node to the tree by using add functionn.add(16, 8, 'mytitle', 'cat/16');It works well.
The first param is node id and the second is a number referring to the parent node. The value for the root node has to be -1.
But i try use this tr...
Using Drupal: When I click on button "Save" to save the changes to a page, the top of the back-end is immediately removed, and all the content is shifted up for some reason..
How can I fix this?
...
hi,
is drupal vulnerable under some aspect ?
Or is it in general a secure CMS ?
What about the cron.php. Can it be overloaded ?
thanks
...
I have a view page that accepts a taxonomy term id as an argument at /foo/%bar. I want to add several menu items to the primary links in the form of /foo/actual-bar.
Whenever I try to do this I get the error message "The path '/foo/actual-bar' is either invalid or you do not have access to it."
How can I add such menu items?
Thanks,
...
What's the "right" way in Drupal to create reports? I was hoping to use a view but am not having much luck. My goal is to create a table of rows containing three fields: user name, location, SUM of volunteer hours. Once I have this part working, I plan to expose filters for Location and Date.
Views Calc only allows you to group by one f...
I have a form that displays two submit buttons. The first submit button sets $form_state['storage'] to a value. The second submit button then reads this $form_state['storage'] value. If the value is set, then a success message is displayed. If the value is not set, then a fail message is displayed.
Here is the code that will reproduce m...