Closed (fixed)
Project:
PJIRC
Version:
5.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
8 Mar 2007 at 10:22 UTC
Updated:
7 May 2015 at 14:53 UTC
Create a module configuration (settings) page
(Note: This was done using hook_settings in Drupal 4.7 and is a major change in Drupal 5)
Comments
Comment #1
Patroleom commentedThis was really taking a while for me to work, so if you suffer the same problems with the pjirc-5.x-1.1.tar.gz module, here is what I tried and what finally made the settings page appear to me:
1st thing was to add the following part to the pjirc.module:
so that it looks like this:
2nd thing were some few corrections to the function admin settings including to rename it to pjirc_admin_settings() to fit the drupal 5 naming standards of functions.
Now the module provides you with two links:
* http://www.yoursitename.com/pjirc
*http://www.yoursitename.com/admin/settings/pjirc
Comment #2
fbomb commentedthanks, I've committed your changes with a slight tweak to match what's in the official drupal doc. I'm creating a new release as we speak.
Comment #3
(not verified) commented