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

taxonomy

i have a problem i n creating taxonomy images and node.
please help me

redirect url in cod.module

Hello all,

I am editing the cod.module in the admin page.

What I am trying to accomplish is making the 'Page to go to after payment:' page go to the user invoice page located at:

store/transaction/view/(%n)

how would I go about adding this url to the page.

Trouble creating 4.6 Version of my project

my module is session_limit.modules (under 4.7)

I built it successfully, and it appeared almost instantly online under teh 4.7 modules downloads.

however, when i then made mods to the code to support the old style forms,
and tagged it against DRUPAL-4-6, I still do not see anything in the 4.6 downloads section

What am I missing?

Help getting sql results displayed using Drupal

I am writing a very simple module to learn how to code for Drupal. I am having a problem integrating the result of sql calls into html and then applying the theme to the resulting code and displaying it all. I hope this makes sense. The function included should give an idea of what I am trying to do. I have written many php websites but my coding is completely self taught and I haven't done much with the kind of stuff needed to get this working. I think the answer is probably quite simple, I am just not seeing it.

Basically what I am attempting to do is query the database to get some records and then display the data in a table much like what is displayed when you go to the administration page and it shows the access log.

Here is the funtion, it works with the exception of trying to format the output:

function pipe_show() {
// content variable that will be returned for display
$content = '';

$query = "SELECT client_fname, client_lname FROM " .
"{node_client} ";
// get the data
$queryResult = db_query($query);
while ($output = db_fetch_object($queryResult)) {
$client_fname = $output->client_fname;
$client_lname = $output->client_lname;
$content = print "

\n";
$content .= echo "
";
$content .= print "

";
$content .= echo "

";

$client_fname $client_lname

module settings

I'm trying to add a configure page for my module.

In the menu function I have:

$items[] = array('path' => 'admin/blog_list',
'title' => t('Blog List'),
'callback' => 'blog_list_manage',
'access' => user_access('administer blog list'),
'weight' => 7);

And for the function blog_list_manage I have:

noteworthy problems developers are working on

I've been following the developer thread and find it's a good way to find out about important problems in Drupal code. Just this morning I found out that if you enable clean url's, links will break you move subdirectories. This would be a big problem for me. I decided to start this thread because there have been quite a few problems that I've learned about this way instead of the hard way.
(I'll describe the problem in more detail in the following comment.)

Pages

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