drupal

ASP.NET developer trying to learn Drupal and PHP

Hi guys, I know ASP.NET C# very well. I make a lot of stuff like surveys and custom web applications. I'm having a lot of trouble wrapping my head around Drupal and figuring out how to do 'special' programmatic things, like searching a list of clients, or creating a web application. 1 - I've been reading books and drupal API but I'm ...

sifr menu list problems, height of object calculated wrong

I am using Drupal and have sifr set on list items, and also a, a:hover are set via Drupal so that the links hover. I looked at the sifr3-rules.js file drupal's render module creates and it looks good. and in fact my other sifr items look fine... But the list item ones are goofing for some reason... There is extra space below the list, so...

Should I use ImageMagick or GD2 with ImageAPI in drupal?

Why? What are the pros and cons of each? ...

Drupal module to edit regular db tables

I have a few custom tables in my Drupal database that were created manually. Is there some Drupal module to allow viewing and editing records in custom tables? Tables are simple, no joins used. Or it's best to build some grid/record interfaces manually in custom module? ...

Drupal 6: Anonymously created nodes result in 404

Nodes of this certain types can be created by anonymous or registered users. If a registered user creates it, everything works fine. If an anon creates it, going to that node's page results in a 404 error. The node clearly exists, however. If I edit its entry in the node table and set its uid to be something other than 0, everything wo...

Drupal: Creating anchor only link with l()

I'd like to output this <a href='#namedanchor'>link</a> using the l() function, so that the link just jumps to an anchor on the current page. I expected this to work l('link', '', array('fragment' => 'namedanchor')); but it creates an absolute link to www.example.com/#namedanchor instead of www.example.com/currentpage#namedancho...

Custom URL aliases in Drupal 6

I have several pages in my drupal website that produce custom query strings. The query string values and aliases I want to use are referenced from a MYSQL database. I've seen examples for this in Drupal 5 using the custom_url_rewrite function but not in 6... can somebody provide me with an example of how to do this? Thanks ...

Drupal view rows output

I'm trying to create a page by using view 2. This page list all the nodes and grouping by their taxonomy term. In this view the Style as Unformatted and Row style as Fields. The fields as following: Node: Title Node: Teaser Taxonomy: Term The problem is that I want the first row under each term display both Title & Teaser and the re...

Which one would be better to a members website, Joomla or Drupal

Or maybe other OS cms? I want to form a members website, with registration, member profile and member personal photo galleries What would you suggest? I'm pretty advanced with PHP just don't have the time to develop from scratch ...

change block content

I want to change content inside $block->content, which drupal hook i should to implement? ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site with multiple pages, review it and then publish it? Is it best or easiest to create two Drupal Sites and push the contents of one to the othe...

How to log error message in drupal

How to log our own error messages(for ex: error due to invalid user date entry) which is generated in php program to drupal error log. ...

Access Drupal views arguement in the same views header or footer section.

In drupal views module, is there any way to access the arguements in the header or footer section? What i need to do is show a more/[arguement-1] link in the footer section of the view. I've changed the input format to php and stuck as to how to access the views variable. ...

Web application integration with Drupal

We want to build a web application, that is specific to our domain, but also include forums, blogs etc in this application. Some integration points to Twitter and Facebook are also required. There will also be a desktop application that connects to our web application for uploading data and downloading configuration and reports. The q...

Drupal Views 2 path

At the moment you can use arguments in you view path, for example user/%/friends where % is an argument (user's ID). But is it possible to use an argument in different way, let's say user-%/friends, so the normal path would look like user-123/friends instead of user/123/friends? Thank you. ...

drupal multiple node forms on one page

I have a view that displays several nodes. I want to place node form below each displayed node. Both node_add and drupal_get_form directly in template.php works fine, but I get forms with same form ID of NODETYPE_node_form and validation and submitting does not work as expected. If you had to put several node forms on one page, what wou...

Drupal development and use by professional programmers .. are there specific pitfalls or advantages?

Background: Long ago Microsoft Access gained a lot of popularity because you could build pretty powerful desktop database applications with point-and-click ease. It seems like Drupal is now doing the same thing, except for the web. This is definitely good in some aspects, but it seems to have some drawbacks as well. From the perspective...

batch create users?

Hi, I have an excel list of 600 users with name, email, and role - that I need to add to the drupal site I'm building. There are 2 roles distributed among the users. As an added complication, the site is using the Content Profile module, so it would be a great help if for each new user account created, a corresponding profile node was...

Add a function to OnLoad in Drupal

Hello, I have a HTML/text default module in the left bar of one of my skins/themes. I have some Javascript in there I'm trying to set today date to my javascript date dropdowns. I am unable to use 'body.onLoad' because Drupal is blocking it somehow? I found a solution saying I can add my javascript function here: if (isJsEnabled()) { ...

Custom comment form in CCK template

Pre-abmle: I am using MakeMeeting module to create/display meeting polls. This module has its own Content Type and I can't get comments to show on the screen (whether I choose to show comments or on same page or not in Comment Settings for this node type). The MakeMeeting module has it's own theme functions, but perhaps they're not guilt...