Code development

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Latest techniques in site development; simpletests, coding practices, scalability, deployment and so on.
asif.mulla's picture

Linking anonymous user and content created by him

Hi All,

I am newbie to Drupal 6.

My requirement is that any anonymous user can come and create content of particular content type. Before saving content to the database,I need to capture his email address (if not loggedin) so that I can send him a link to view,edit and delete for the content created.

Here I thought that before sending mail, I'll make an entry in the user's table with email address registered. So that I can make a relationship between content he has created.

Read more
eric_sea's picture

Drupal Dojo Session: Building with Drupal 7

Start: 
2011-01-13 13:30 - 14:30 America/New_York
Event type: 
Training (free or commercial)

Introduction and Discussion re Building with Drupal 7

Drupal7 Site building - Is it all that different in Drupal7? Not really, but it's different enough that you might get lost along the way as you navigate the changes. Join us and take the short path to getting up to speed on the Drupal7 way of doing things!

View Archive: http://drupaldojo.com/session/drupal7-site-building

Read more
starsinmypockets's picture

Passing argument between views

I want to create a View of event nodes where each Event displays an associated venue node beside it. I'm using Display Suite with views to ouput a view of all Event nodes (as full node views). I've created a second view, called Venues. I want to pass an argument (the NID from a nodereference field on the Event node type) to this view, which will display as a block. I can then add a block-field to the Event node display (in display suite). The supplied argument will output a view of the proper associated venue and my view will be complete.

Read more
cithukyaw's picture

No Tab Link

Hi,

I have hook_menu() similar to this form example tutorial, but no local tasks are rendered as tabs. What happen ?

$items['examples/form_example/tutorial'] = array(
'title' => t('Tutorial'),
'page callback' => 'drupal_get_form',
'page arguments' => array('form_example_tutorial_1'),
'access callback' => TRUE,
'description' => t('A set of ten tutorials'),
'file' => 'form_example_tutorial.inc',
'weight' => -20,
);
$items['examples/form_example/tutorial/1'] = array(
'title' => t('#1'),
'page callback' => 'drupal_get_form',

Read more
cithukyaw's picture

Login page for anonymous user

Hi,

I don't want the anonymous user to see "You are not authorized to access this page.".
But, will be redirect to login page as usual.
Any idea ?

Read more
cithukyaw's picture

Login page for anonymous user

Hi,

I don't want the anonymous user to see "You are not authorized to access this page.".
But, will be redirect to login page as usual.
Any idea ?

Read more
cithukyaw's picture

Integrating image_attach with custom node type

Hi everyone,

I am new to Drupal. I creating a site with a custom node type.
I have also image attach module enabled and integrated with my custom node type.

I have a page similar to "mysite/?q=node/add/mynodetype" to be accessible by a user role.
My page has no "Attached images" section which is appeared on the page "mysite/?q=node/add/mynodetype".

I want the "Attached images" section in my page like "MENU_LOCAL_TASK" and want to change it with user-friendly interface.
How can I accomplish this ?
Any idea ?

With regards,
Sithu

Read more
spideep's picture

Problem with Twitter submodules and Oauth (missing)

Good day, this is my first discussion, glad to be here...

While OAuth module is active, the submodules of Twitter show it as missing. Why is this happening? And how I can fix it?
PD: check the attached image please.

info:
Drupal 6
OAuth 6.x-3.0-beta3
Twitter 6.x-3.0-beta3

Thanks

@spideep

Read more
kvantomme's picture

Drupal Dojo Session: Documenting (in) Drupal: the next generation

Start: 
2010-11-23 12:30 - 13:30 America/New_York
Event type: 
Training (free or commercial)

The book module is often seen as the documentation in/for Drupal. But it falls short in a couple of areas:

  • There is only 1 hierarchy that never really fits all needs
  • There are no standards in structuring the information inside a post, so 1 post might actually explain more than 1 topic
  • You can only export individual pages or top level chapters with their children, you can't easily export cherry-picked topics (across chapters) into 1 document
  • Version management is handled through the forking of the whole documentation
Read more
maurya777's picture

This should definitely not be the way to do this !!!!!

So far I have been developing sites on my local machine and dumping all the files + database to my live server after the development is done. These were some small projects for which I used some contributed modules and wrote some small modules for them.

Now I have a requirement to provide some changes and updates to my live projects. The only way I can do it now is to keep working on my local site and keep a track of all the steps I have performed. Once I am done with the local site perform the same steps on live server.

Definitely this should not be the way to do this !!!!!

Read more
Subscribe with RSS Syndicate content