Welcome to Geeklog, Anonymous Friday, July 11 2025 @ 05:41 pm EDT
Geeklog Forums
Display the number of stories in home
Status: offline
Forum User
Chatty
Registered: 12/01/03
Posts: 43
Sorry for my bud english :-(
I want to insert in the home page the number total of stories. I have
tried on the forum but I have not found information.
Suggestion?
Tnx
rob
I want to insert in the home page the number total of stories. I have
tried on the forum but I have not found information.
Suggestion?
Tnx
rob
16
16
Quote
Status: Banned
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
that depends on where on your home page you would like it to display...
a simple SQL statement will get your number, then it's just a matter of outputting that number in a block or a staticpage centerblock or right into the functions returning the templates, etc.
the easiest way: you can place a bit of PHP into the header.thtml file that will output a number and have it displayed in the header portion of your homepage.
a simple SQL statement will get your number, then it's just a matter of outputting that number in a block or a staticpage centerblock or right into the functions returning the templates, etc.
the easiest way: you can place a bit of PHP into the header.thtml file that will output a number and have it displayed in the header portion of your homepage.
19
18
Quote
All times are EDT. The time is now 05:41 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content