This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Pathauto Module: What does "Verbose" do?

Pathauto Module: What does "Verbose" mean

Hi.
In Home | administer | settings | Pathauto
Verbose
It is used to display alias changes (except during bulk updates).

Q:
- I'm not sure if the changes are displayed to admin/mod only, or any registered users, or all people (including anonymous).
Does anyone know the answer?

===========
I'm using Drupal 4.6.3
Thanks for people who are eager to help me :D

Link problem

I have a link problem. I put some links to navigation bar. I wrote the file name in the path. But it links to ?q=filename.php. I want it to link only filename.php. What does ?q= mean?

Tiddywiki export challenge

Tiddywiki from Postnuke

If you aren't familar with Tiddlywiki, it's a nifty little tool - a selfcontained wiki in one html page. The above code takes Postnuke content and converts it to a TiddlyWiki html page.

Your challenge: port this to Drupal. Shouldn't be too hard... as an added challenge, allow selecting only certain nodes such as by type or author.

Flexinode- "latest entries"

Would it be possible to code a block that shows the latest entries for a certain type of flexinode? Thanks for your help.

How to Create the SQL tables.

Hi,
I want to install chatbox module in drupal.
But it says:-
Installation
------------

1. Create the SQL tables. This depends a little on your system, but the most
common method is:
mysql -u username -ppassword drupal < chatbox.sql

How can i add sql table?? where i hav to go for this??
Plzz help me.
Thanks

Newbie: Problem getting MENU_CALLBACK to work

I am writing a new module called mynode.module for learning the drupal system. The trouble is that I cant get the http://mysite.com/?q=mynode to get to generate what I want. I get a "Page Not Found".

My mynode_menu is as follows:

/**
 * Implementation of hook_menu().
 */
function mynode_menu($may_cache) {
  $items = array();

  if ($may_cache) {
    $items[] = array('path' => 'node/add/mynode', 'title' => t('New node type'),
      'access' => mynode_access('create', NULL));
    $items[] = array('path' => 'mynode', 'title' => t('New node type entries'),
      'callback' => 'mynode_page', 
      'access' => TRUE,                  /* Allow access for anybody */
        'type' => MENU_CALLBACK);
  }

  return $items;
}

I have coded mynode_page similar to blog_page_last() in the blog.module(basically, it generates last few posts of 'mynode' type). Still when I go to http://mysite.com/?q=mynode to get to generate what I want. I get a "Page Not Found" error.
What could be the reason that ?q=mynode is not recognized? Am I doing anything wrong in the hook_menu? How can I debug this?

Little bit background into what I did:
I started from page.module & changed it for mynode.module. In the process i created mynode_form, mynode_validate, mynode_insert, mynode_load, mynode_view as per documentation at 4.6 node_example.module

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions