Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 04:36 am EST
Geeklog Forums
Convert your index page to Headlines
Page navigation
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
yes, that sounds correct.
25
22
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Below you can find an updated version, for GL 1.3.11, of the hack that will enable you to list titles only on the front page. Original instructions in the first post in this topic.
1. firstly, you create a new template frontstorytext.thtml
with the following content
<tr>
<td colspan="2" align="left" bgcolor="#e1e2e5"><span class="articleTitle"><a href="{site_url}/article.php?story={story_id}">{story_title}</a></span></td>
</td>
</tr>
</table>
2. next, open index.php
3. find: $display .= STORY_renderArticle($A,'y');
4. replace with: $display .= STORY_renderArticle( $A, 'y', 'frontstorytext.thtml' );
5. save, and you're good to go
Geeklog Polish Support Team
1. firstly, you create a new template frontstorytext.thtml
with the following content
Text Formatted Code
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr>
<td colspan="2" align="left" bgcolor="#e1e2e5"><span class="articleTitle"><a href="{site_url}/article.php?story={story_id}">{story_title}</a></span></td>
</td>
</tr>
</table>
2. next, open index.php
3. find: $display .= STORY_renderArticle($A,'y');
4. replace with: $display .= STORY_renderArticle( $A, 'y', 'frontstorytext.thtml' );
5. save, and you're good to go
Geeklog Polish Support Team
25
25
Quote
jnuker
Anonymous
how can i add a short date to it, in dd/mm/yyyy format?
{story_date} returns long date, together with time...
{story_date} returns long date, together with time...
27
23
Quote
jnuker
Anonymous
Text Formatted Code
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr>
<td width="20%">{story_date}</td>
<td width="80%" align="left" bgcolor="#e1e2e5"><span class="articleTitle"><a href="{site_url}/article.php?story={story_id}">{story_title}</a></span></td>
</td>
</tr>
</table>
so if I used it like this, the date is "Friday, February 25 2005 @ 02:35 PM EST"
your hints are much appreciated
19
31
Quote
Ruchir
Anonymous
:banana:
Thanks a lot, specially to robin. This was of great help to me. The geeklog forum rules Dirk.
Regards,
Ruchir
Thanks a lot, specially to robin. This was of great help to me. The geeklog forum rules Dirk.
Regards,
Ruchir
33
31
Quote
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
Nevermind. There are 2 spots you must place it in index.php... fixed.
Shane | www.EyeCraveDVD.com
Shane | www.EyeCraveDVD.com
25
22
Quote
Page navigation
All times are EST. The time is now 04:36 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