drupal 6 - Changes in module_menu() aren't applying -


I have a custom module called tf_partner. I have added another logic to modify it. Inside the module I have:

  function tf_partner_menu () {// ... more code ..... $ item ['partner' / letters / words / replacements /% /% /% Array (4, 5, 6, 7), 'type' = & gt; '% 1' = 'array' ('page callback' = & gt; 'tf_partner_replace_image', 'use callback' = & gt; TRUE, 'page logic' => MENU_CALLBACK, 'file' = & gt; ; 'Tf_partner_letters.inc.php',); // ... more code}   This is what it used to be ... 
  function tf_partner_menu () {// ... more code ..... $ Item ['partner / letter / word / replacement /% /% /%'] = array ('page callback' = & gt; 'tf_partner_replace_image', 'access callback' = & gt; TRUE, 'page logic' = & Array (4, 5, 6), 'Type' => MENU_CALLBACK, 'file' = & gt; 'tf_partner_letters.inc.php',); // ... more code}   

  function tf_partner_replace_image ($ help, $ letter, $ status, $ randstr) {echo "here"; // is not visible}   

The problem is that when I try to go to the new URL, it does not work and goes to the / partner / letters / word. I had already gone to the admin / build / module, but still there is a problem. I checked the database (menu_router table) and it looks correct.

Edit: Besides, I created such a new function and a new menu item. I started with 1 argument and added one at a time. He allowed me up to 3. When I added the fourth person, then it does not work anymore. Clear the cache by filling in the

admin / settings / display or in the cache_ {name} table.

The code looks ok, I think the menu is not created right now.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -