/admin/settings/performance<br><br>Click the clear cache button on the bottom of that page<br><br>Best,<br>William<br><br><br><div class="gmail_quote">On Sun, Jan 30, 2011 at 3:23 PM, John Mitchell <span dir="ltr"><<a href="mailto:mitchelljj98@gmail.com">mitchelljj98@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;">No I did not clear the menu cache. I am looking into how to do that now.<div><div></div><div class="h5">
<br><div style="display: inline;"></div><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" target="_blank">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><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></div></div><font color="#888888">-- <br>John J. Mitchell<br>
</font></blockquote></div><br>