Example code:
------------
Note: Paste the below code in any custom module file.
/* Start of Event Registration - Admin Interface */
$items['admin/content/eventregistration'] = array(
'title' => 'Awaiting for Approval',
'page callback' => 'drupal_get_form',
'page arguments' => array('listof_eventregistered_users'),
'access arguments' => array('access administration pages'),
);
$items['admin/content/eventregistration/list'] = array(
'title' => 'Awaiting for Approval',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10);
$items['admin/content/eventregistration/confirmed'] = array(
'title' => 'Approved Users',
'page callback' => 'drupal_get_form',
'page arguments' => array('listof_eventconfirmed_users'),
'access arguments' => array('access administration pages'),
'type' => MENU_LOCAL_TASK,
);
$items['admin/content/eventregistration/cancelled'] = array(
'title' => 'Rejected Users',
'page callback' => 'drupal_get_form',
'page arguments' => array('listof_eventcancelled_users'),
'access arguments' => array('access administration pages'),
'type' => MENU_LOCAL_TASK,
);
/* End of Event Registration - Admin Interface */
Showing posts with label Tab effect functionality in drupal admin. Show all posts
Showing posts with label Tab effect functionality in drupal admin. Show all posts
Tuesday, January 25, 2011
Subscribe to:
Posts (Atom)
Popular Posts
-
1. How old PHP language is? - PHP began in 1994, so 14 years old. 2. What are different names of PHP? - PHP originally stood for Persona...
-
HTML: a. HTML is a markup language that is used to build static (non interactive and nonanimated) webpages. b. HTML is Case-Insensitive. So...
-
A payment gateway is an e-commerce application service provider service that authorizes payments for e-businesses, online retailers, bricks...
-
Note : This is not a perfect sort order, we have just displaying the list of PHP companies. 1. Photon Infotech No. 2/102, Arvind IT Park (N...
-
Hai all, Simple show hide sample using Show/Hide? Simple Show/Hide code
-
- count() -- Count elements in a variable - syntax for count() [int count ( mixed var [, int mode])] - If the optional mode parameter is set...
-
Sharing PHP, MySQL, Javascript, CSS Knowledge, We can share our PHP knowledge on the basis of PHP versioning, Javascript, AJAX, Stylesheet, ...
-
Use the below code and you can get the exact value in php as us saw in browser. Code: $encode_data = iconv('UTF-8', 'windows-125...
-
Download and Enjoy!
-
1. Rasmus Lerdorf Rasmus Lerdorf (born November 22, 1968 in Qeqertarsuaq, Greenland) is a Danish-Greenlandic programmer and is most notable ...