Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a cg_core module with a settings form for the homepage blocks #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AliHassan7
Copy link

No description provided.

// describe the page for the menu system. site visitors will not see this
'description' => 'Staff configurable page with custom settings form.',
// function that is called when visiting the new path to generate the page's content
'page callback' => 'cg_core_settings_form',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The page callback should be drupal_get_form. The page argument(s) should be cg_core_settings_form.

See the corresponding lesson to be 100% sure.

@AliHassan7 I'll merge this PR in once this is addressed.

@AliHassan7
Copy link
Author

@ashabed Let me know if I addressed your comments in my latest commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants