So, if you enter a URL like http://example.com/node/25" (notice quote at end from a common user mistake, in this example, a pasted-in URL), you will receive a database error with a dump of the query that generated it. I altered node.module around line 367 or so, removed the switch that checks whether the query should be by nodeid or by custom search params is_numeric($params) and changed that function to the following (spaces removed for clarity):
I have just started to have a look at Drupal after spending a couple of weeks with Joomla and getting fed up with all the extra files/code and limited responses in the forums.
Anyhow I have been having a quick play and would like to know if you can make nested list menus in the format
link
link
second level list
Note: that the first level
with a submenu wraps around the
.
I just did a quick test and got the following output which is not really good for my cause as the
On my site (http://www.myallo.com) I've written some pages whose format is PHP code. In these pages I show data I fetch out of another database. Where should I look to find out what drupal facilities are available to such code - variables I can use, functions I can call, and so on? For example I would like to get the user name, format dates the way the site is set to show them, use a pager, format some things according to the theme, etc. [I've just updated to drupal 5] -A. Newbie
I need to display external images from a url stoerd in a field in a table. You would think this would be quite simple, but I belive Drupal is doing something to the code. I am building a module that displays infomation about some objects in a table;one of them is an image of it. I will include a snipit of my fuunction below, but when drupal displays it, all I get is the "alt" text. I can right mouseclick on the cell and view the image, but it will not show in the table. I viewed the source of the page, cut the text to a html file and can view it in my browser.