Code development

Latest techniques in site development; simpletests, coding practices, scalability, deployment and so on.
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
gdd's picture

Drupal Dojo Session: Deploy module and the future of staging and deployment in Drupal

Start: 
2010-10-05 12:30 - 13:30 America/New_York
Organizers: 
Event type: 
Online meeting (eg. IRC meeting)

[NOTE - This session has been rescheduled to Tuesday, October 5; we apologize for the short notice.]

In the last two Drupalcon keynotes, Dries has stated that content staging and deployment is one of the highest priorities to be solved in Drupal 8. This session will discuss some approaches to this problem. The first part of the session will talk about the Deploy module complete with a live demo. After that I will discuss some possible approaches to solving this problem in Drupal 8 and take questions.

Read more
Ono's picture

Do's and don't with PHP in a page

Hey all, firstly let's start off with the good old: "I'm new to drupal" trying to struggle my way into better understanding.

At the moment I'm doing a bit of custom development, on one side in drupal and on the other side in plain old PHP. Now I found the versioning system in drupal a handy tool so wondered if I could place my regular PHP in a drupal page. A lot of the things I'm doing does work but there's one page with a HTML form using POST that writes to the database which doesn't work.

Read more
drupalninja99's picture

Drupal Dojo session: Features Everywhere! Feature-Driven Development

Start: 
2010-08-31 12:30 - 13:30 America/New_York
Organizers: 
Event type: 
Training (free or commercial)

I gave a presentation recently to the Mediacurrent staff where I shared my thoughts on integrating 'Feature' development with your normal workflow. I also blogged about it here:
http://mediacurrent.com/blogs/features-everywhere-slidecast. And I plan on going even more in-depth in my DrupalCamp Atlanta session explained here: http://drupalcampatlanta.com/sessions/features-everywhere-feature-driven....

Read more
Subscribe with RSS Syndicate content

Drupal Dojo

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: