Asked my template question is the wrong section, so here we go again: How to edit the classic template?
Posted by TTV
Asked my template question is the wrong section, so here we go again: How to edit the classic template? September 04, 2014 07:25AM |
Registered: 9 years ago Posts: 32 |
As derived from this question which was placed in the wrong section:
[www.phorum.org]
I am trying to edit the classic template to look like this:
[feyenoord.startpagina.nl]
Yeah i know it is not the best looking site graphically, but it is what my audience would love to see... Because they have been using it for years now, so i gave them the choice to choose between templates....
So far i have been able to set the colors etc... The problem i do have is how to code in images to add to sticky posts, i a have very little knowledge on how to work with code, but i try to DIY myself through it. This time i must admit i am completely stuck on how to do it, i really have no freaking idea on what to change at all...
There was an old thread that explained how to do it for version 5.1, but there is no thread that explains how to do it in 5.2 so no luck....
[www.phorum.org]
So can someone, anyone help me out with my question?
[www.phorum.org]
I am trying to edit the classic template to look like this:
[feyenoord.startpagina.nl]
Yeah i know it is not the best looking site graphically, but it is what my audience would love to see... Because they have been using it for years now, so i gave them the choice to choose between templates....
So far i have been able to set the colors etc... The problem i do have is how to code in images to add to sticky posts, i a have very little knowledge on how to work with code, but i try to DIY myself through it. This time i must admit i am completely stuck on how to do it, i really have no freaking idea on what to change at all...
There was an old thread that explained how to do it for version 5.1, but there is no thread that explains how to do it in 5.2 so no luck....
[www.phorum.org]
So can someone, anyone help me out with my question?
Re: Asked my template question is the wrong section, so here we go again: How to edit the classic template? September 08, 2014 01:31AM |
Admin Registered: 18 years ago Posts: 566 |
No guarantee everything works.
Add this to settings.tpl provide a sticky.gif, and a new.gif
Locate in list.php
Replace with
Edited 1 time(s). Last edit at 09/08/2014 11:01PM by Scott Finegan.
Add this to settings.tpl provide a sticky.gif, and a new.gif
Language: PHP{! --- This is the sticky for messages in the thread list --- } {VAR stick ';<img src="templates/classic/images/icon_sticky.gif" border="0" width="8" height="8" alt="" />';} {! --- This is the N for new messages in the thread list --- } {VAR neuw ';<img src="templates/classic/images/new.gif" border="0" width="8" height="8" alt="" />';}
Locate in list.php
Language: PHP{marker} {IF MESSAGES->sort PHORUM_SORT_STICKY}<span class="PhorumListSubjPrefix">{LANG->Sticky}:</span>{/IF} {IF MESSAGES->moved}<span class="PhorumListSubjPrefix">{LANG->MovedSubject}:</span>{/IF} <a href="{MESSAGES->URL->READ}">{MESSAGES->subject}</a> {IF MESSAGES->new} <span class="PhorumNewFlag">{MESSAGES->new}</span>{/IF} {IF MESSAGES->pages}<span class="PhorumListPageLink"> {LANG->Pages}: {MESSAGES->pages}</span>{/IF} {IF MODERATOR true}<br /><span class="PhorumListModLink"><a href="{MESSAGES->URL->DELETE_THREAD}">{LANG->DeleteThread}</a>{IF MESSAGES->URL->MOVE} • <a href="{MESSAGES->URL->MOVE}">{LANG->MoveThread}</a>{/IF} • <a href="{MESSAGES->URL->MERGE}">{LANG->MergeThread}</a></span>{/IF}
Replace with
Language: PHP{IF MESSAGES->sort PHORUM_SORT_STICKY} {IF MESSAGES->new}{neuw}<span class="PhorumListSubjPrefix">{LANG->Sticky}:</span><a href="{MESSAGES->URL->READ}">{MESSAGES->subject}</a> {ELSE} {stick}<span class="PhorumListSubjPrefix">{LANG->Sticky}:</span><a href="{MESSAGES->URL->READ}">{MESSAGES->subject}</a> {/IF} {ELSEIF MESSAGES->moved}<span class="PhorumListSubjPrefix">{LANG->MovedSubject}:</span><a href="{MESSAGES->URL->READ}">{MESSAGES->subject}</a> {ELSEIF MESSAGES->new}{neuw} <span class="PhorumNewFlag"></span><a href="{MESSAGES->URL->READ}">{MESSAGES->subject}</a> {ELSE} {marker}<a href="{MESSAGES->URL->READ}">{MESSAGES->subject}</a> {/IF} {IF MESSAGES->pages}<span class="PhorumListPageLink"> {LANG->Pages}: {MESSAGES->pages}</span>{/IF} {IF MODERATOR true}<br /><span class="PhorumListModLink"><a href="{MESSAGES->URL->DELETE_THREAD}">{LANG->DeleteThread}</a>{IF MESSAGES->URL->MOVE} • <a href="{MESSAGES->URL->MOVE}">{LANG->MoveThread}</a>{/IF} • <a href="{MESSAGES->URL->MERGE}">{LANG->MergeThread}</a></span>{/IF}
Edited 1 time(s). Last edit at 09/08/2014 11:01PM by Scott Finegan.
Re: Asked my template question is the wrong section, so here we go again: How to edit the classic template? September 08, 2014 02:04PM |
Registered: 9 years ago Posts: 32 |
Re: Asked my template question is the wrong section, so here we go again: How to edit the classic template? August 01, 2018 05:41AM |
Registered: 5 years ago Posts: 7 |
Sorry, only registered users may post in this forum.