Welcome to Geeklog, Anonymous Sunday, September 01 2024 @ 01:20 am EDT
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.
20
20
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
21
21
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...
22
20
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
15
24
Quote
Ruchir
Anonymous
![cheerful cheerful](https://www.geeklog.net/forum/image_set/moods/cheerful.gif)
: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
28
27
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
21
19
Quote
Page navigation
All times are EDT. The time is now 01:20 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