Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 939
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Block location

Started by Nori, October 28, 2009, 09:54:30 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Nori

I'm having a problem getting the blocks to display where I want... I have SP setup as a standalone portal, so I go to the site and get index.php (standaloneportal.php) and if I navigate using the top menu it directs me to /forums/index.php
I can get the blocks to display everywhere I want except I can't figure out how to get them to display on /forums/index.php
I've checked every single box under the advanced portion and it just won't show up... Any ideas?

Nathaniel

Checking the 'Forum' action should make this work, but it doesn't for Standalone mode.

This is a bug, I have added it to the bugtracker: http://simpleportal.net/index.php?issue=308.0

For now, here is the solution below:
Code ("Find (sources/Subs-Portal.php)") Select
elseif (empty($action) && empty($board) && $modSettings['sp_portal_mode'] == 2 && in_array('forum', $display))

Code ("Replace") Select
elseif (empty($action) && empty($board) && ($modSettings['sp_portal_mode'] == 2 || $modSettings['sp_portal_mode'] == 3) && in_array('forum', $display))
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Nori

Sweet, I'm not going crazy and I found a bug... I figured it was supposed to work...  :)

Nori

Okay, so it works if I select show on Forum from the dropdown box. But what I was trying to do is to have it show everywhere but a few spots. For instance the calendar block doesn't make sense to display when a user is viewing the calendar...  :)

Nori

Okay I got it to where I want. SP has a nice little thing to set where not to display blocks and i just clicked all of those and now I'm happy. Thanks for you help.

Nathaniel

Well, I was referring to the 'Forum' action when you have enabled 'Advanced Display options', that should display the block on your main forum page only. With the edit above, it should work.

Glad that you got it working how you want.

Marked as solved.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.