Drupal is up and running but how do I ...?

Next/Last page buttons

Hey everyone,

Ive got a quick question with the next/last buttons at the bottom of my drupal page. It only shows a max of 5 numbered pages that I can click, then the next and last page button.

Is there anyway to show every page i have?
i.e. 1 2 3 4 5 6 7 8 9 10 11 next etc ?

Thanks in advance,
Chris

count nodes

Is there a function that will count nodes of a specific content type?

I'm trying to code a 'stats' block and I'd like to display: Total videos: 12, Total Events: 43, etc.

I don't mind querying for this, if there is no function. I started, but...

$countresult = db_query("SELECT n.type FROM {node} n");
$countobject = db_fetch_array($countresult);

Then what? I'm stumped.

Thanks in advance.

-Jesse

How do I: Sort book pages by created time?

I'm sure I'm not the only one who has noticed that when you are adding book pages, in a logical order, and you want them to stay in that order, they do not stay in that order in the book navigation menus. I may be crazy, but when I'm writing a book and book pages I write from beginning to end. The book navigation menus are sorting my pages the opposite way, with the newest at the top.

Database Problems... Why Doesn't This Code Work???

With the following code i want to open another database within a php enabled node, and print all of the data in the table i select. i've made mydb the one i want to open, and def a variable for my drupal one, so i can send drupal back to its database... but my code doesn't work, doesn't do anything... why is that?? i think the print command is screwed up, and maybe something else. drupal is so hard to work with with other databases, but what do i need to fix below?

does shipping calc actually get something other then (error -2147219490)?

So I have setup the e-commerce module on several different sites and every single time I get the following error message.

Invalid value for origin ZIP Code. (error -2147219490)
usps configuration error. Please notify the site administrator.

I do have a USPS account and have update the shipping settings accordingly.

Pages

Subscribe with RSS Subscribe to RSS - Post installation