Welcome to Geeklog, Anonymous Saturday, November 23 2024 @ 03:41 am EST
Geeklog Forums
Future Stories Block?
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
If you saved them as drafts, at least with a title even if you haven't written the content yet, then you could easily create a block to list the draft stories.
If you need help, there should be all the code needed in public_html/stats.php.
Cheers,
Euan.
-- Heather Engineering
-- No job too small
If you need help, there should be all the code needed in public_html/stats.php.
Cheers,
Euan.
-- Heather Engineering
-- No job too small
10
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by euan: If you need help, there should be all the code needed in public_html/stats.php.
You'd have to reverse the logic in the SQL requests, though. Geeklog always excludes stories that have the draft flag set (or that have a publishing date in the future).
bye, Dirk
6
12
Quote
Status: offline
Euan
Forum User
Full Member
Registered: 04/22/02
Posts: 292
Quote by Dirk:
You'd have to reverse the logic in the SQL requests, though. Geeklog always excludes stories that have the draft flag set (or that have a publishing date in the future).
bye, Dirk
You'd have to reverse the logic in the SQL requests, though. Geeklog always excludes stories that have the draft flag set (or that have a publishing date in the future).
bye, Dirk
I was thinking more of the draft stories block? Sorry if I'm wrong (I haven't checked), but I thought that was in there too?
Cheers,
Euan.
-- Heather Engineering
-- No job too small
9
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by euan: I was thinking more of the draft stories block? Sorry if I'm wrong (I haven't checked), but I thought that was in there too?
Right, forgot about that one. It's in admin/moderation.php, though.
bye, Dirk
9
6
Quote
MarkB
Anonymous
I'm looking more for a "teaser" block, that basicly just gives the article title and nothing more... kind of a "come back and see this soon!" kind of thing
9
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by MarkB: I'm looking more for a "teaser" block, that basicly just gives the article title and nothing more
Yeah, but such a block does not exist, so you'll have to write it yourself. The SQL requests you'll need to grab the draft stories (or the stories in the submission queue, if you want to display those) can be found in admin/moderation.php. You can safely ignore all the template-related code there ...
bye, Dirk
16
10
Quote
MarkB
Anonymous
Quote by Dirk:
Yeah, but such a block does not exist, so you'll have to write it yourself. The SQL requests you'll need to grab the draft stories (or the stories in the submission queue, if you want to display those) can be found in admin/moderation.php. You can safely ignore all the template-related code there ...
bye, Dirk
Quote by MarkB: I'm looking more for a "teaser" block, that basicly just gives the article title and nothing more
Yeah, but such a block does not exist, so you'll have to write it yourself. The SQL requests you'll need to grab the draft stories (or the stories in the submission queue, if you want to display those) can be found in admin/moderation.php. You can safely ignore all the template-related code there ...
bye, Dirk
I assumed I'd have to write it myself, but I figured I'd ask first rather then reinvent the wheel.
14
8
Quote
All times are EST. The time is now 03:41 am.
- 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