Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Hiding panels - main settings

Asked Modified Viewed 2,858 times
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
asked
Member

Hi

I have problems understanding what the "hide panels" in the main settings in systemadministration, is for.

I have a panel, the panel file is radio_panel.php. I type in (hide panels right): /infusions/radio_panel/radio_panel.php

Nothing gets hidden. Panel still showing.

How is it different from setting access rights or activate / inactivate panels through panels administration?

Anybody who can explain for me :)
Edited by mojkan on 22-08-2008 21:39,
0 replies

12 posts

S
starefossen
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
answered
Senior Member

Welll, your theme must support it.. Just change theme and you will see it works, if not there is somethign else wrong.

Then tell the author of the theme that he must make a fix for it :)
0 replies
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Member

Ok, I believe you ;)

Changed themes to gilette. In hide right panels I typed in:
/infusions/radio_panel/radio_panel.php

I go to startpage, the panel is still there (yes, I saved settings) and I go to forum, panel is still there.

Must I type in ALL panels to the right in order to see a result, or should it be enough to just put the link to one of them, to see if it works?

Also, I'm doing this on a sub-installation. www.clana-smaka.se/v7 is the URL. Maybe this doesn't work with the sub?

Since it doesn't work for me, mabye somebody can tell me exactly what is supposed to happen, and how is it different from activating/inactivating the panels through panel administration? :)
Edited by mojkan on 22-08-2008 22:25,
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

you enter the url of a page and the panels are disabled on this site.
try forum/index.php for example.
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

The radio panel infusion is a panel and not a site page and for that reason you cannot use the panel block exclude list in main settings to control where the panel is displayed. Your only options are to display the panel in left, upper center, lower center or right panel block.

If you wish to take control of which pages the radio panel is displayed, then try this mod from the beta site:

http://beta.phpfusion-mods.com/forum/...;pid=10682

0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

WEC wrote:
The radio panel infusion is a panel and not a site page and for that reason you cannot use the panel block exclude list in main settings to control where the panel is displayed. Your only options are to display the panel in left, upper center, lower center or right panel block.

If you wish to take control of which pages the radio panel is displayed, then try this mod from the beta site:

http://beta.phpfusion-mods.com/forum/...;pid=10682


Well, you could add something like

if ($_SERVER[PHP_SELF] != "/directory/name.php"){
openside();
// and all the rest of the code
closeside();
}
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Yes, but most common users do not have this kind of code snippets available, so the mod makes it easy to manage panel display without knowing how to code.
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

WEC wrote:
Yes, but most common users do not have this kind of code snippets available, so the mod makes it easy to manage panel display without knowing how to code.

Fair enough. I was just adding to the thread on how you could fix the issue.
Edited by googlebot on 23-08-2008 00:04,
0 replies
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Member

Quote

WEC wrote:
Yes, but most common users do not have this kind of code snippets available, so the mod makes it easy to manage panel display without knowing how to code.


Would this mean that I could for instance show the panels (infusions) to the right on first page. But when users get into the forum, the right panels disappear and they get a "larger" forum?
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

If you simply wish to get rid of the entire right column of panels in forum, then you should just use the core exclude list in system admin, main settings:

Exclude right panels:

/forum/index.php
/forum/viewforum.php
/forum/viewthread.php
/forum/post.php

The mod i posted link to deals with single panels display.
0 replies
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Member

Oh, my god. I have missunderstood it all :D hehe

You are supposed to define in what views/files you want to get rid of the right panels.

Hehe, so sorry!

THanks a lot WEC!

EDIT:
Works so well!

Actually WEC, my second thought was being able to exclude some panels of the left side as well, while in forum view. But it's not possible to exclude only 2 panels from the left then, right?
Edited by mojkan on 23-08-2008 13:19,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

That is where you can use the mod i posted link to. It lets you define urls where single panels shouldn't be displayed.
0 replies
M
mojkan
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
answered
Member

sweet WEC!!
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 12 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

M
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
S
S
www.postexus.com - Follow Postexus on Facebook.
  • Senior Member, joined since
  • Contributed 359 posts on the community forums.
  • Started 20 threads in the forums
M
M
mojkan 10
  • Member, joined since
  • Contributed 129 posts on the community forums.
  • Started 32 threads in the forums
  • Started this discussions
G
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet