Hi,
is it possible to do the settings like so, that the breadcrumb will not be shown at the frontpage???
Or where and how could I change the code (like "if page0frontpage then breadcrumb=0" ---> you see, I'm still at the beginning of lerning php-syntax ;)
Thanks in Advance
jens
Using epsilon
The only things you have to display are the copyrights, you can fiddle to your hearts content with anything else, though that is not recommended on a live site.
The breadcrumbs can be commented out /* yada */ to see what happens if you are feeling reckless bold ;)
ALWAYS MAKE A BACKUP FIRST
Hi,
Thanks for the fast reply. Commenting out the relevant line is what I had before, wich led to not having breadcrumbs at all. Would be ok so far, but I think, breadcrumbs are necessary inside the forum-pages though. That is, what I am thinking about. Maybe another Idea???
Thanks,
jens
Breadcrumbs? or Linktree?....
Breadcrumbs.
Sorry, but I don't know what breadcrumbs are....
would this be it? http://en.wikipedia.org/wiki/Breadcrumb_(navigation)
ok, so breadcrumbs = linktree. Yes its possible to not show the linktree on the frontpage. You'll need to take it out of the TPortal.template.php file. It will continue to show in all other places.
Breadcrumb is a sort of navigation right ???
Hi,
thanks for help so far and sorry for the inconvenience about the wording "breadcrumb" - in many other programs they use this , up to now "linktree" to me was the "main-navigation on top. sorry again for this...
@ichBin
hopefully I commented out the lines #9 to #14 in TPortal.template.php, but - I'm sorry for this - the linktree still appears at my frontpage ooo Are there other places where to 'delete' something???
Thanks again,
jens
PS.: Forgot to mention: I'm using Bloc's theme Exodus
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>';
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
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 :)
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
What theme are you using?
Using Bloc's ExodusTP.
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.
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