Welcome to Geeklog, Anonymous Thursday, May 16 2024 @ 07:57 pm EDT

Geeklog Forums

Trackback error


jeremy1701

Anonymous
I just upgrade from 1.3.11 to 1.4. I grabbed the upgraded Classic theme from geeklogdownloads. I keep getting this error in various places:

Template Error: set_root: /var/www/html//layout/Classic/trackback is not a directory.
Halted.

So I copied trackback from professional over to Classic. Now it works sans error, but I've got three columns rather than two. The copyright box is in a third column rather then along the bottom. I've got the third column disabled in config.php.

Any ideas how I can change that? I've looked through the trackback code and I'm not seeing it.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Check article/article.thtml. It probably uses a different format than the Professional theme. The Trackback templates are pulled in where the {trackback} variable is in that template.

bye, Dirk
 Quote

Status: offline

jeremy1701

Forum User
Newbie
Registered: 04/24/06
Posts: 8
Location:Wisconsin
Okay, it wasn't really a trackback error so much as a general comments error. To solve the problem, I made the following changes to article.thtml

Original
Text Formatted Code
{formatted_article}<br />                            {commentbar}
                                   </td>                
                         <td>
                            <img src="{site_url}/images/speck.gif" height="1" width="10" alt="">
                        </td>


Text Formatted Code
{formatted_article}<br />                            {commentbar}<br><!--
                                   </td>                
                        <td> ->>
                            <img src="{site_url}/images/speck.gif" height="1" width="10" alt="">
                        </td>


Just an FYI to whomever maintains the Classic theme. Is this the right place to report on this?

Next, there are not {trackback} tags anywhere in Classic. I'll start working on added them in. From above, I can see they go in article.thml, anywhere else I should be looking?

Thanks!
Jeremy


Registered Linux User #346571
 Quote

Status: offline

jeremy1701

Forum User
Newbie
Registered: 04/24/06
Posts: 8
Location:Wisconsin
I think I got it. In storybodytext.thtml

Original

Text Formatted Code
<tr>
                    <td>
                        <div align="right">
                            {edit_link}
                            <br />                            {readmore_link}<a href="{comments_url}">{comments_text}</a>&nbsp;{email_icon}&nbsp;{print_icon}
                            <br />                            {recent_post_anchortag}
                        </div>
                    </td>
                </tr>


Mod

Text Formatted Code
<tr>
                    <td>
                        <div align="right">
                            {edit_link}
                            <br />                            {readmore_link}{start_trackbacks_anchortag}{trackbacks_with_count}{end_trackbacks_anchortag} | <a href="{comments_url}">{comments_text}</a>&nbsp;{email_icon}&nbsp;{print_icon}
                            <br />                            {recent_post_anchortag}
                        </div>
                    </td>
                </tr>


In article.thml

added
Text Formatted Code

<br> {trackback}
 


to the last line.
Registered Linux User #346571
 Quote

All times are EDT. The time is now 07:57 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content