I'm creating a module that dynamically generates webpages. It uses hook_menu to generate MENU_CALLBACKs which point to the function that creates the page. I've got two 'problems':
- I need to check if a path already exists. There is drupal_lookup_path() for aliases, but how do I check if another MENU_CALLBACK item hasn't already used this path?
- If I register a path with hook_menu, a node can still be placed at that same path. The dynamically generated page is not accessible more when that happens.
Hello. I hope this post is in the right area. My problem is I've succesfully embedded a flash/swf file into my page, but when I go to view it, I don't see the controls or the skin I uploaded. The video plays fine. All the files required are uploaded to my server in the appropriate directory. I've tried various ways of exporting the file from Flash 8 and I've searched for similar posts, none of these seem to have an answer either.
* user warning: Incorrect table name 'a4s5titles18Ephesians210as3urls73httpwwwbiblegatewaycompassageversion31ampsearchEphesians210s4bodys1' query: LOCK TABLES a4s5titles18Ephesians210as3urls73httpwwwbiblegatewaycompassageversion31ampsearchEphesians210s4bodys129ldquoForweareGodsworkmanshipcreatedinChristJesustodogoodworkswhichGodpreparedinadvanceforustodordquos6notices70PoweredbyahrefhttpwwwbiblegatewaycomBibleGatewaycoma WRITE in /var/www/virtual/koish/cru.koish.com/includes/database.mysql.inc on line 172.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':4:s:5:"title";s:18:"Ephesians 2:10</a>";s:3:"url";s:73:"http://www.biblegateway' at line 1 query: UPDATE a:4:s:5:"title";s:18:"Ephesians 2:10</a>";s:3:"url";s:73:"http://www.biblegateway.com/passage/?version=31&search=Ephesians 2:10";s:4:"body";s:129:"“For we are God's workmanship, created in Christ Jesus to do good works, which God prepared in advance for us to do.”";s:6:"notice";s:70:"Powered by <a href="http://www.biblegateway.com/">BibleGateway.com</a>"; SET data = '-1', created = 1187038145, expire = 0, headers = '' WHERE cid = 'biblegateway votd' in /var/www/virtual/koish/cru.koish.com/includes/database.mysql.inc on line 172.
I need to show a different taxonomy/term/id page depending on what term/id is being loaded. In my example, I want the taxonomy/term/id page to only show the node thumbnail if the term/id is from a certain content type. In order to accomplish this, I have manually hard coded the taxonomy_render_nodes function located in taxonomy.module.
Is there a better way to do this? Perhaps overriding somehow within the template.php or creating a module?
if you look at my site http://www.fansportsunion.com/fan/ you can see that I put the menu in the header I know how to move it around with in the header. But my problem is this - you can see that I have a banner in the header as well is there any way that I can Position the menu to the lower left and the banner in middle right of the header?
(1) I have a custom module that implements a node called 'odclass'.
(2) I create a form in odclass_form
(3) When presented, the form includes a taxonomy fieldset titled "Categories"
(4) I investigate and find this fieldset is created and added to the odclass menu in taxonomy_form_alter
(5) I try to remove the field in odclass_menu_alter, but taxonomy_form_alter is called AFTER odclass_form_alter.
Is there some way to signal that taxonomy_form_alter should not add to the form once odclass_form_alter has run?