The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I figured out the problem, I just need to figure out the correct place to put the "alt1" and "alt2" tags. They are set up with the border and color, but just can't place them right.
I go style manager > edit templates > forum home templates > then choose the file that I'm seeing under the "view source" but it's different when I'm trying to edit the actual file. Here is the code for "forumhome_lastpostby" where would I put the "alt2" tag? PHP Code:
|
#12
|
||||
|
||||
You should not have to modify the forumhome_lastpostby template. The columns are included in the template that calls that template (look for the <td> tags around $lastpostby or whatever the call is for that template).
|
#13
|
|||
|
|||
sorry lynne, but I'm losing you.
I tried to put the <td class="alt2"> tag in various places in the "forumhome_lastpostby" template and it worked, but it just through off the rest of the tables. I did the same thing to another template, and it worked. If you look at the site, you'll notice the background color and border on the far left where the icons are work fine, i'm just having problems how to fix the other columns. could you please explain what you meant in a different way? i would appreciate it! |
#14
|
||||
|
||||
You cannot just add a td tag into someplace. You need to just add the class="alt2" into *existing* td tags. It looks like you need to modify the forumhome_forumbit_level2_nopost template and add in the class. Look at this line, you have an empty place in where the class should be (highlighted in red):
Code:
<!-- BEGIN TEMPLATE: forumhome_forumbit_level2_post --> <tr align="center"> <td class="alt1"><img src="web/statusicon/forum_old.gif" alt="" border="0" id="forum_statusicon_13" /></td> <td class="" align="left" id="f13"> <div> <a href="forumdisplay.php?f=13"><strong>Member Welcome</strong></a> </div> <div class="smallfont">New to Solar Panel Talk? Come in and introduce yourself.</div> </td> <td class="" nowrap="nowrap"><!-- BEGIN TEMPLATE: forumhome_lastpostby --> <div class="smallfont" align="left"> |
#15
|
|||
|
|||
see i noticed that missing tag too, but when I go to the "forumhome_forumbit_level2_nopost" template it isn't there. thats why i'm confused. do you think it was named wrong?
This is what the template "forumhome_forumbit_level2_nopost" looks like: PHP Code:
This is what "forumhome_forumbit_level2_post" looks like: (i added the "alt1" right there in the beginning and replaced "$rowClass" that was there previously. thats what made the background color and border work on the icons that are on the left of the table PHP Code:
|
#16
|
||||
|
||||
Quote:
HTML Code:
<td class="$rowClass" align="$stylevar[left]" id="f$forum[forumid]">
HTML Code:
<td class="alt1" align="$stylevar[left]" id="f$forum[forumid]">
|
#17
|
|||
|
|||
Thanks so much for your patience and help Lynne. I got it figured out thanks to you and I also learned a ton. Thanks again!
|
#18
|
||||
|
||||
It looks very nice! :up:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|