Isn't it easier to configure the view path at views configuration page? 2010/7/7 Hendry <hendry.htc@gmail.com>:
Thanks for the reply, I had just go with the option 1 to implement a custom module and let the hook_menu and hook_menu_alter to handle these. Actually I will have not only one but several pages, so yeah I think it's the best option.
# Hendry
On Wed, Jul 7, 2010 at 10:01 PM, Metzler, David <metzlerd@evergreen.edu> wrote:
Depending on how complicated the php is you have basically two choices:
1. Implement a custom module that displays the page you want on the path you want. 2. Create a node that contains the page, using PHP input filters to add code to the page.
Really if you're just planning on creating a static html page, you should just create a node and give it a path.
If you want to go the custom module route, then it's as easy as creating two functions and an info file. See the module developers guide for more information. -- [ Drupal support list | http://lists.drupal.org/ ]
-- *Les normes hi són perquè hi pensis abans de saltar-te-les *La vida és com una taronja, què esperes a exprimir-la? *Si creus que l'educació és cara, prova la ignorància. *La vida és com una moneda, la pots gastar en el que vulguis però només una vegada. *Abans d'imprimir aquest missatge, pensa en el medi ambient.