|
Autor |
Nachricht |
Blisk
|
Titel: No code in posting_body.tpl
Verfasst am: Do, 29 Dez 2005, 11:17 |
|
|
I have installed UploadPic mod, but there is no line for file posting_body.tpl
Code: |
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
f_help = "{L_BBCODE_F_HELP}";
#
#-----[ AFTER, ADD ]------------------------------------------
#
up_help = "{L_UPHELP}";
#
#-----[ FIND ]------------------------------------------
#
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td nowrap="nowrap" align="right"><span class="gensmall">
<!-- BEGIN switch_uploadpic -->
<strong><a href="{S_UPLOADPIC}" onclick="window.open('{S_UPLOADPIC}', '_uploadpic', 'HEIGHT=400,resizable=yes,scrollbars=yes,WIDTH=450');return false;" target="_uploadpic" class="nav" onMouseOver="helpline('up')">{L_UPLOADPIC}</a> <br /></strong>
<!-- END switch_uploadpic -->
<a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
|
|
|
Nach oben |
|
boris
Beiträge: 11057
|
Titel: Re: No code
Verfasst am: Do, 29 Dez 2005, 11:55 |
|
|
Blisk @ Do, 29 Dez 2005, 10:17 gab folgendes von sich: |
I have installed UploadPic mod, but there is no line for file posting_body.tpl |
I suppose, you're using a different template than "subSilver" ?
Basically you'll just have to put the following code anywhere in your posting_body.tpl:
Code: |
<!-- BEGIN switch_uploadpic -->
<strong><a href="{S_UPLOADPIC}" onclick="window.open('{S_UPLOADPIC}', '_uploadpic', 'HEIGHT=400,resizable=yes,scrollbars=yes,WIDTH=450');return false;" target="_uploadpic" class="nav" onMouseOver="helpline('up')">{L_UPLOADPIC}</a> <br /></strong>
<!-- END switch_uploadpic --> |
Also check the FAQ, II. 9. (here)
____________ beehave - home of humbug ... [we can't afford to be neutral]
|
|
Nach oben |
|
|
|
ähnliche Beiträge |
|
Thema
| Autor
| Forum
| Antworten
| Verfasst am
|
|
Film: Source Code |
boris |
zelluloid |
0 |
Sa, 28 Jan 2012, 09:24 |
|
Film: Code 46 |
boris |
zelluloid |
0 |
So, 22 März 2009, 18:52 |
|
[youtube]-Code am Start |
boris |
werkstatt |
0 |
So, 26 Nov 2006, 17:00 |
|
UploadPic auch in anderen tpl´s als posting_body.tpl? |
Tec |
mod support |
2 |
Do, 14 Sep 2006, 20:43 |
|
html code? |
ashopedies |
mod support |
10 |
So, 19 Feb 2006, 13:14 |
Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
|