Skip to main content
Naveen Valecha's user avatar
Naveen Valecha's user avatar
Naveen Valecha's user avatar
Naveen Valecha
  • Member for 12 years, 6 months
  • Last seen more than 1 year ago
awarded
revised
Loading…
revised
Loading…
Loading…
awarded
comment
Placing block from a module not working
Share your code so that someone would be able to help you.
revised
What are all the directories for?
Move vendor directory to the project root.
Loading…
comment
Hide specific sections on admin configuration page
The solutions seems good to me. I would suggest to use a contrib module config_permissions drupal.org/project/config_perms to extend the permissions. you can also create the custom permissions as well.
awarded
comment
How to load a node based on current language?
I'm guessing it's because the en recipe node id is 10, and it doesn't load the translated node. >> Yup the translated node will also its dedicated node id.So for fr language you will have to pass the nid of fr language recipee node.
comment
Is this the correct way to add a page with hook_menu()?
No Return is fine.You have some thing mismatch in your block configuration.
comment
Is this the correct way to add a page with hook_menu()?
Yup if the module name is yop then hook_menu should be yop_menu() {} The callback function name can be anything but as per drupal coding standards it should be prefixed with your module name i.e. yop in your case.
Loading…
suggested
Reject
answered
Loading…
awarded
comment
How to apply specfic coupon in ubercart while creating an order from backend means admin pages
I have specified the Example for D6 ? Are you using D7 ? I think it will be same for the d6 as well.
Loading…
comment
Alter weather block behaviour?
Finally Contrib module block_noresults is out for this.Use the contrib module for the no results behaviour drupal.org/project/block_noresults
revised
variable api vs custom table
added 18 characters in body; edited tags
Loading…
1
2 3 4 5