PDA

View Full Version : template edit question


karel1985
09 Jul 07, 22:07
In forumdisplay.php on the left side next to 'Forum Tools' and
in schowtread.php on the left side next to 'thread tools'


i want to add the text 'Donate' wich is linking to http://... donate.php (example)

on wich place in template do i add this. I can't find the correct spot...

thx for the help

karel

CyberAlien
09 Jul 07, 23:29
In showthread template find this:<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php?t=$threadid&amp;pollid=$pollid" method="post" name="threadadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
</tr>look at next table row and add similar one.

In forumdisplay template add similar code after this:<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php?f=$forumid" method="post" name="forumadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
Code would be like this:<tr><td class="vbmenu_option"><a href="donate.php">Donate</a></td></tr>

karel1985
11 Jul 07, 11:36
so does this make something like this? (see atatchment)

now i am using ca serenity

karel1985
19 Jul 07, 23:00
any reply?

thx !

CyberAlien
20 Jul 07, 00:23
No, that would add new item in thread tools menu. Sorry, I misread your question. To put it on left from those menu items, just add one more table cell to tables where those menu items are. Unlike default vbulletin template, my style uses separate table for header, so you can add it safely without worrying about other rows.