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

Having Block Visibility issues, not flexible enough

Basically I want some blocks to be seen on both their taxonomy page, say taxonomy/term/5, and also on their page type, say type "agent." Right now to get this done I have to create 2 blocks. Are there any modules or hacks that extend the visibility options of blocks?

Thanks.

How do I create a Block that shows the title of a node in alphabetical order as links to that node?

I suppose this will be pretty easy. I need a PHP block I guess that pulls nodes from taxonomy "agent" and orders them alphabetically. One more wrinkle, the Title is actually the agent's full name, it would be nice if I could sort by his last name. I don't know if there's an easy way to do that in the SQL. I'd like to do it this way instead of having a menu where I manually have to add names and sort them with weight (we all know that's a beating).

Thanks for the help.

Simple way to publish XML within a node?

I asked this question before but I think I worded it in a confusing way, so I'll try again.

Lets say I have a file called data.xml which calls template.xsl as a transforming template. How can I get the transformed results of data.xml to appear as content within a node?

I have previously done an SSI-like function as a PHP tag within the body of my node, but the same technique doesn't work with XML and I don't know enough about it to know why.

Anyone have any ideas?

Thanks!

Sean

Block Caching and LGPL

I've got a couple of questions concerning a module I'm creating:

Admin action notifications/confirmations not clearing until logout

I am using Drupal 4.6 with the theme Pushbutton.
Whenever I do an action command, I get a dialog box that says 'Configuration options complete'. All is well. I go to another page.. and it comes up again.

What is happening is these actions are not being cleared. So after making a few adjustments I've got an entire page of confirmation messages.. and they don't go away until logout, or emptying of the session table.

Is this a template issue causing the session information not the be cleared on page load? Or is this an issue with session management on the server end?

modules serving data from external non-MYSQL sources

Hello,

I am developing a node module that involves access to a different type of database using a different set of database access functions. Certain important node hooks ask for a return value that is a query result resource. The problem would be solved if there is a way to return a query result resource that imitates the expected result resource? Is there a standard advised way to do this?

Alternatively, is there any way to get around using a query result resource to return data, so that the module hooks can provide data from other sources?

Pages

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