No I did not clear the menu cache. I am looking into how to do that now.<br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style><br>
<div class="gmail_quote">On Sun, Jan 30, 2011 at 3:06 PM, Ken Rickard <span dir="ltr"><<a href="mailto:agentrickard@gmail.com">agentrickard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>Did you clear the menu cache? <br><br><div><br></div></div><div><div></div><div class="h5"><div><br>On Jan 30, 2011, at 2:56 PM, John Mitchell <<a href="mailto:mitchelljj98@gmail.com" target="_blank">mitchelljj98@gmail.com</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div>I added a hook_menu function (see below) to my product_type custom module but when I go to "<a href="https://mydomain/" target="_blank"></a><a href="https://mydomain/" target="_blank">https://mydomain/</a><b>cart/refreshcart</b><div style="display: inline;">
</div>"<br>
it says "The requested page could not be found.". I have directly called other urls that were defined within the hook_menu function for the ubercart/uc_cart/uc_cart.module file and they came back fine like "<a href="https://mydomain/admin/store/settings/cart" target="_blank"></a><a href="https://mydomain/admin/store/settings/cart" target="_blank">https://mydomain/admin/store/settings/cart</a>". <br>
<br>Any idea why this would not work? <br><br>Thanks,<br><br>John<br><br>/**<br> * Implementation of hook_menu().<br> */<br><br>function product_type_menu() {<br> $items = array();<br><br> $items['<b><i>cart/refreshcart</i></b>'] = array(<br>
'title' => 'Refresh Shopping Cart',<br> 'description' => 'Refresh Shopping Cart',<br> 'page callback' => 'uc_cart_block',<br> 'access callback' => TRUE, <br>
'type' => MENU_CALLBACK,<br> 'file' => 'ubercart/uc_cart/uc_cart.module',<br> );<br><br> return $items;<br>}<br>
</div></blockquote></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell<br>