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

Change Pager URL

Is it possible to change the pager url from something like:

url.com/node?from=10
url.com/node?from=20
...

to something like:
url.com/node/2
url.com/node/3

I suppose this could be done with a URL Alias, but is there an automatic way to do this?

Thanks!

HOW to change a store into a node?

at now, the store is not a node,so we can not track,taxonomy,subscription,serch by content type,favorite and event a store,just like a node.
so i want to create a content type of named "netstore" just like OG. we can put anything into OG but only product into netstore.
i plant to add this modul by change OG.MODUL . The mathe is to cope OG.modul and rename to netstore.modul and change the name of "og_" into "netstore_" .
i want to know if it is validity? are there some clash between OG.MODUL AND NETSTORE.MODUL?

search_index()

Does anybody know, how the $type Variable value in the search_index() function has to be in case of a book page? I try to exclude book pages from the search indexing. Or is this not the Variable who builds the index?

Thanks in advance

event module error

I installed the event module and ran the mysql script to create the required table. When I go in to Blocks, and check the box to activate Events, I get the following error:

Fatal error: Call to undefined function: base_path() in /home/bikecalg/public_html/modules/event/event.theme on line 421

Anyone know what that means?

thanks
Stewart

Attachment ,did someone know it can work in 4.7?

i run attachment in drupal 4.7, but i find it has code error with filename of the attached files.
can it support utf-8?
i use chinese drupal 4.7.0

Get node value within list

I have theme_mymodule_content AND theme_mymodule_list.

I need to be able to call $node->cat from the theme_mymodule_content to use within theme_mymodule_list.

This is so that I get "cat" for that specific node and not a list of nodes using a sql query.

The purpose of doing this so that I get the "cat" for that node, so I can filter theme_mymodule_list with LIKE "$node->cat".

Any ideas on this OR a different method?

Thanks!

Pages

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