TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 231
  • Total: 231

breadcrumb "on"/"off" configurable?

Started by jensderknipser, March 01, 2007, 10:08:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

This is the line you should be worrying about.

Line:12
<div style="margin-bottom: 4px;">', theme_linktree() , '</div>';

Make it look like this:
<div style="margin-bottom: 4px;"></div>';

jensderknipser

Funny: I changed the line #12 as you said, currently with no effect... and as I was a bit concerned about the semicolon after the px, I have deleted this also, but again no change...

By the time I suspect now, that it maybe again a matter of"wording" (as I am rather new with smf/TP and fell in love with it - after testing other solutions..), like "frontpage" to me is the page I see first when typing the url - currently I am using article-blocks here, no frontpage-blocks. So if this was the misleading story???

jens

G6Cad

Always remember to clear the cache and temp internet files and do a hard refresh with ctrl F5 when you edit code, many things uses cookies, and if the check runs the cookie, you dont see the changes ;)
So clear the cache and do a hard refresh and look gain :)

jensderknipser

Done (as always ;)), even restartet FF to have a "super-strong-refresh... but sorry to bother you all with that little peace of code - what's it :-\

greetz from
8)"mission impossible" 8)
jens

IchBin


jensderknipser


IchBin

If you remove the linktree from the index.template.php like you did from the TPortal.template.php it won't show. However, removing it from the index.template will remove it from all pages at the top.

jensderknipser

#17
Well, this is where this thread was starting from: doing so I would loose the linktree in the forum ???

I am still thinking of solving this problem by finding the place - and correct syntax - where to set a line of code like i.e.

echo '<td width="100%" align="left" valign="top" style="padding: 8px;">';
        if($context['TPortal']['centerbar'])
                     echo '<div>' , TPortal_sidebar('center') , '</div>';
echo '
<div id="linktree">' , theme_linktree2() , '</div>';
}


//inserted by me//
echo '<td width="100%" align="left" valign="top" style="padding: 8px;">';
        if($context['TPortal']['current_board'])
                     echo '<div>' , TPortal_sidebar('center') , '</div>';
echo '
<div id="linktree">' , theme_linktree2() , '</div>';
}

//eof my inserts

this is my index.template.php, line #370-386.

As my skills of reading and understanding the TP/smf's code are still minor (but growing, I hope), this Idea again didn't cause any change. But wouldn't this be a chanceful direction?
Thanks 4all,
jens

This website is proudly hosted on Crocweb Cloud Website Hosting.