Hi, I have looked to see if anyone has had this problem, but I can't find anything.
On my frontpage, I have a link to the forum that I cannot find how to remove it. I'm now scratching my head, I have looked everywhere. I have the "front page blocks" chosen in the frontpage settings.
Do I need to go into a template to remove it?
You can see my problem here on my frontpage site draft here...
http://www.schreeandbaby.com/updates/ (http://www.schreeandbaby.com/updates/)
are you asking about a forum button or the link tree??
one thing i have noticed, you have doubles in the link tree..
like:
Forum > Forum > Announcements > Announcements > Important Announcements
What you are seeing is the linktree which is telling you the location you are currently in. If you go to another section of your forum you will see that is changes.
Darn Smokey beat me to it. :coolsmiley:
;) that is why im Smoky :D
oh okay, cool, so it's the link tree. Is that something that I can remove?
Also, what have I done to have a double link tree? What could cause that?
i dont know what exactly you have done to the theme, but yes you can remove it, if you wish..
it is used as a placemarker and/or a navigation route.. but yes..
open up the index.template.php file, and search for all spots saying "linktree" and remove..
before uploading it again, you might want to back up the old file like this:
index.template.php = index.template1.php
so that you know which is which and if you dont like the effect, you can change it back ;)
Aw, cool, thank you so much for your quick reply. I've only added my own header into the index template so not sure why the coding would have been messed up to double the link tree. That's weird. Since I want to remove it, at least that will wipe out that problem.
Thanks for the backup up, that's exactly how I do it. I keep the "orig" and then I keep working with a numbering system to backtrack on.
You guys rock, thanks for such quick response!
My forum status "TP challenged" says it all! haha!
glad to help ya out.. good luck with your site ;)
Thanks a bunch, it worked! ;D
Hi Smoky, I've just run into a problem after removing the link tree. I'm now discovering that I do in fact need/want the link tree or bread crumbs on my forum page. It looks great not being on the rest of my site that I've built into articles. Do you have any suggestions on what is the easiest way to get the link tree added back into JUST the forum?
My first thought was that I would have to make 2 different themes, one with the link tree and one without. Then give the forum the theme with the link tree. Is that route I should take or is there easier way?
Put your code back to the way it was. Then in your article options, choose the option to NOT show the linktree. See if that helps. The reason the linktree shows twice is most likely because of the way the theme is made. Not any error on your part really.
Ohhhhh, very cool! Thanks I'll do that. Now that you say it, I did see the linktree option.
Once I add it back in, I'll have to look at the double issue. I think I noticed what didn't look right in the coding that was in the theme. If I can't sort it out, I'll come back here.
Thanks so much for all your help. You all are so nice here! Especially to us "TP Challenged" :uglystupid2: folks...hehe! I'm getting there though. :-)
Hi Ichbin, not sure if I should go ahead and ask about the double link tree issue here or start a new thread. I'm guessing here since we've been on the topic here.
I've looked and I don't see anything that I could pick up easily that could be problem for the double stuff.
Here's what I have in my theme for the link tree. Anything that you can see?
Also, here is a site page that has the linktree so you can see it again just in case:
http://schreeandbaby.com/updates/index.php?page=about
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context, $settings, $options;
echo '<div class="nav" style="font-size: smaller; margin-bottom: 0px; margin-top: 0px;">';
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];
// Show the link, including a URL if it should have one.
echo '', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' . $tree['name'] . '</a>' : $tree['name'], '';
// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo ' > ';
}
echo '</div>';
}
Are you talking about the Forum -> About -> About ? What is the name of the category that you have put your "about" article in? The theme linktree code is just fine. I think you have named the category about, and then the article is named about as well. So it is showing the links in this way (Forum->Article Category name -> Article name).
its doing that in her forum as well ICH..
i cant see a thing wrong with the link tree code, but i just got in so.. :P
Smoky,
I looked at the site a little while ago and I didn't see this doing it in the forum, only with articles. I think Ichbin is correct.
ZarPrime
Its most likely doing forum -> forum because she named her forum "forum". :)
When viewing the forum it shows "Name of forum-> Forum". Go into Admin -> Server settings -> Change forum title.
Quote from: SmokyBlue on February 14, 2009, 10:35:52 PM
are you asking about a forum button or the link tree??
one thing i have noticed, you have doubles in the link tree..
like:
Forum > Forum > Announcements > Announcements > Important Announcements
this is what im talking about, Zarprime ;)
follow that link in her forum. its not an article issue...
edit ya sure ICH?? that might be true then.. was just picking out the links.. didnt pay attention to where i was.. ::) ^-^
Ichbin is correct.
http://schreeandbaby.com/updates/index.php?topic=1.0
The first Forum is the name of the Forum, as Ichbin says. The second one is "action=forum". The first Announcements is a category and the second one is a board in that category. If topic 1 was called "Announcements" instead of "Important Announcements" there would be 3 "Announcements" in a row.
Go to the link above and hover over each item in the linktree. There is nothing wrong with the linktree in the Forum, it's just the way it's worded.
ZarPrime
Oh wow, thanks for looking into this for me! That makes sense. So the link tree is okay, it's just how I'm wording things. I must be the Director of Redundancy! LOL
I'm going to go in and change it up so it will fix that issue so it won't look like that.
Thanks again for all your time! :-)
Quote from: Dianna on February 16, 2009, 07:01:11 PM
Director of Redundancy!
:2funny: You could put that as your personal text in your profile here and it will display below your Avatar all the time. :2funny: :2funny:
I hope we've got you all squared away now. ;) :up:
ZarPrime