Node type in URL

I have a 'News' section, which has its own taxonomy menu associated with it. A typical menu URL appears like this: /?q=taxonomy_menu/3/9.

The problem here is when I click the 'Read more' link the URL switches to the default URL: ?q=node/17 .

There is no 'node type' identifier in the latter URL, that will allow me to ask the system to keep the correct menu block for particular node types.

For the menu to work the URL should look like this:?q=flexinode-4/node/17 or in the case of another 'node type' ?q=story/node/17, or something similar with an identifier.

Merge Recent Comments and Live Discussions?

Moveable Type-based blogs often have a "Recent Comments" section which shows only one recent comment from each thread, together with the total number of comments in that thread.

The effect of this design is to guide readers to the most active threads without clogging up the Recent Comments section with a bunch of comments from one thread only.

An example:

unexpandable menue

Hi there,

I have a menue item X here (visible under /admin/menu as a menue item as a child of the global navigation). It points to an existing node and contains to subelements, one created via "add menu item" with parent X and the other as a node of type "page" and a set parent item X.
But...
Item X doesn't expand. It just doesn't care about it subitems. The administration panel shows the small structure as is was intended to be, but within the frontend X doesn't work.

Any hints where I might find the solution?

Thanks,
McMan

categories broke edit - i disabled, now site gone.

I had just started putting a new site together with 4.7 from CVS from a couple weeks ago.

I am sort of new to Drupal but was pretty sure I needed to use tox to classify my nodes. I have only added a few nodes so far but had added terms to them. I then started to try out a couple other tox mods to see how this all worked; I had the tox_block and tox_theme mods working fine.

Then I figured I should likely start looking at categories since I thought this was likely the way I SHOULD be doing this.

I went through install process (even though I think install.txt is a bit confusing) - but I think I did things correctly. I imported my existing nodes from one vocab to a category. This worked fine.

NOW... the issues:

- some of my nodes don't show up as orphans - no big deal

- when I am logged in as admin and I go to a node - I can no longer EDIT the node

- I read a post about this and someone suggested disabling/enabling categories to fix this.... OOOPS!!

- once I disabled "Categories" module and hit save; my site was gone.

I get " Call to undefined function: category_select_nodes()"

So I guess it makes sense that I wouldn't be able to find this function since I just disabled it - but pretty sure it shouldn't kill my site.

Hopefully just removing the category mod will repair this - but I kinda doubt it... stay tuned...

Have I installed something incorrectly here?

box_grey looks strange in internet explorer, but fine in Firefox

Please have a look at this page:

http://www.sphynxkatter.se

In IE the boxes overlap the header. But in Firefox everything looks fine.

This is the css file:

http://www.sphynxkatter.se/themes/box_grey/style.css

I've looked thru it, but I cannot find wat's wrong. Can you?

Block access control and database

I'm modifying block.module to allow Drupal to display blocks based upon the role a user is assigned. I have this code:

  $rroles="SELECT name FROM role";
  $rrroles = db_fetch_array(db_query($rroles));
  
	   foreach ($rrroles as $reles => $names) {
		    $options = array();
		    $options[] = t($names);
	    }

But it only returns one result. I've tried a while loop but the page hangs. All help would be deeply appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x