Drupal 7 Module Development Tutorial #2 - Creating a Default Flag with the Flag API

preview_player
Показать описание


In the second of ten Drupal video tutorials on custom module development, we begin by taking a look at the Flag API as we will be relying heavily on the Flag module for our custom work. In doing so, we call a flag hook which creates a default flag, flag application. Using the Flag UI, we are able to create the flag, get the associated code and update our .module file so that when our module is installed, it automatically creates the default flag application.
Рекомендации по теме
Комментарии
Автор

I enjoy following your tutorials due to your application choices, word choices and preferences of how you set up your applications/paths, etc.  They are very realistic and apply to my methods.  Moreover, they reflect experience.  

Thank you, Yaworski!

Sunnyside--Up
Автор

That is really very awesome series on module customization, One thing I would say that this tutorials really help me out to dig more on development in drupal otherwise I was stuck only in UI options provided by drupal administration menu. Thanks alot Peter. Keep it up I wish you all the best ....

ajitchavhan
Автор

Thanks Peter, I love your video tutorials

tonyn
Автор

hello,
i'm wondering is better to watch them all then begin to practice them one by one,
or without watching them all i begin right away applying one then the other?
Thanks in advance

omarelrafhi
Автор

I don't see the flag modules if I remove 'flag' folder eventhough I have the info and module files under 'CUSTOM' folder.
What is the role of 'flag' folder in your scenario?

kevinyilmaz
Автор

I want to create a module in which user should get redirected to dynamic page/node created by me

humasayyed
Автор

the code for my is displayed at the top of my site underneath the menu what could be causing that?

brandenbell