TinyPortal

Development => Support => Topic started by: MrBiggz on September 20, 2010, 06:42:24 PM

Title: Where is this content coming from?
Post by: MrBiggz on September 20, 2010, 06:42:24 PM
Link to my site: http://theparc.handlersspot.net
SMF version: 1.1.11
TP version: 1.0 beta 5-1
Theme name and version: blueskies by Bloc
Browser Name and Version: Firefox (most current version)
Mods installed: Tiny Portal
Related Error messages: None

I'm confused!  Very confused! My upper panel block just has the 10 recent topics, that's it!

Now why when I look at my site I see that under neath the upper panel block is 'My Community' a portion of a post. I don't know where that content is coming from.  Or .. is that SMF related material?

If it is SMF related (without having to jump boards) could you tell me where it's hiding at in the options? If not .. that's ok, I'll hop over to SMF and ask.

Thanks for your time!
Title: Re: Where is this content coming from?
Post by: IchBin on September 20, 2010, 06:52:40 PM
Your link does not work for me. However, I'm guessing that what you are talking about is the Theme's linktree() function that is in the index.template.php. Hard to tell without seeing though.
Title: Re: Where is this content coming from?
Post by: MrBiggz on September 20, 2010, 07:31:31 PM
Doh! I fixed it in my post. Although I'll do it again! http://theparc.handlersspot.net

Sorry about that.
Title: Re: Where is this content coming from?
Post by: IchBin on September 20, 2010, 07:46:58 PM
Yes it is the linktree. If you don't want it to show on the frontpage you'll likely have to add a little code to the function. In the index.template.php of your theme add this code right after the global line of the theme_linktree() function.

    if (count($context['linktree']) < 2)
        return;
Title: Re: Where is this content coming from?
Post by: MrBiggz on September 21, 2010, 06:37:03 AM
Ok .. I did that!

function theme_linktree()
{
    global $context, $settings, $options;

    if (count($context['linktree']) < 2)
        return;

    echo '<div class="nav" style="margin: 1em;">';


Know what? .. It's still there! I had to laugh!  Thanks though!
Title: Re: Where is this content coming from?
Post by: IchBin on September 21, 2010, 04:21:12 PM
It's not there on your frontpage when I look at it.