News - Features - Downloads - Forum - Team - Support - Switch View: Screen
Login - Registrierung - Passwort vergessen

Antworten: 6
Seite [1]
nbaumann


Beginner




Beiträge: 13
# Thema - 30.10.2007 um 20:51 Uhr
Hey I was wondering how I could remove the newspic on view: index.php?mod=news&action=view

If you check here: http://www.gamers-domain.us/start/index.php?mod=news&action=view&id=59
I don't want the newspic to display.

Thanks.
Inaktiv
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 1 - 30.10.2007 um 20:55 Uhr
news management -> click the picture icon on the matching news row inside the html table

to change/remove category images select the category management, news in dropdown and the matching category via edit button


------------------
ClanSphere - professional clan care starts here

Zuletzt editiert von hajo ClanSphere Team am 30.10.2007 um 20:56 Uhr (1x Editiert)
Inaktiv
|
nbaumann
Thread-Ersteller


Beginner




Beiträge: 13
# Antwort: 2 - 30.10.2007 um 20:58 Uhr
I don't want to entirely remove the newspic, I want it removed only on view.php and not on recent.php.


Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 3 - 30.10.2007 um 21:12 Uhr
line 19+20 of themes/base/news/view.tpl:

{if:catimg}
<img src="{page:path}{news:url_catimg}" style="float:right" alt="" />{stop:catimg}

remove those lines



------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Ramires ClanSphere Team

Supporter
Supporter



Herkunft: Waldeck
Beiträge: 1900
# Antwort: 4 - 30.10.2007 um 21:12 Uhr
then check the entry,...

{if:catimg}<img src="{page:path}{news:url_catimg}" style="float:right" alt="" />{stop:catimg}

in themes/base/news/view.tpl and remove this,...


------------------

Verschwende keine Energie an Dinge die Du nicht ändern kannst...


Inaktiv
|
nbaumann
Thread-Ersteller


Beginner




Beiträge: 13
# Antwort: 5 - 30.10.2007 um 22:46 Uhr
Hehe,

I would do that if that piece of code was in the view.tpl
I only have this
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
1. / 2. / ... 
 <br />

<
table class="forum" style="width:{page:width}" cellpadding="0" cellspacing="0">
<
tr>
<
td class="newshead">
{
news:news_headline}
</
td>
<
td>
<
div style="float:left">
{
news:news_time} - {news:users_link}
</
div>
</
td>
</
tr>
<
tr>
<
td class="bottom" colspan="2">
<
div style="float:right">
{
news:comments_link} ({news:comments_count})
</
div>
</
td>
</
tr>
<
tr>
<
td class="leftb" colspan="2">
{
news:news_text}
</
td>
</
tr>
</
table>


I NEVER touched view.tpl before today!

Could I be using an old version?


Zuletzt editiert von nbaumann am 30.10.2007 um 22:50 Uhr (1x Editiert)
Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 6 - 30.10.2007 um 23:55 Uhr
which version is your current one?


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Antworten: 6
Seite [1]


Sie müssen sich registrieren, um zu antworten.


ClanSphere Project - Mailus - Imprint - Disclaimer - Scriptinfo