TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 521
  • Total: 521

Controlling Panel & Block Visibility with the Calendar

Started by Bryan, August 07, 2008, 04:09:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bryan

Using TP 1.0.5 beta 1 and SMF 1.1.5 with DilberMC theme:

I'm having difficulty controlling the visibility of panels and blocks with respect to the calendar.  In “Panel Settings” if I check “Calendar Screen” in “Hide panels when in these sections”, the panels still show when the calendar is displayed (the other choices in this hide list work OK).  The workaround for this is to add calendar to the “Hide panels when in custom actions” box, which works as expected.

I would prefer to control the blocks individually, but again with respect to block visibility on the calendar page I can't seem to accomplish this.  Leaving the panel settings to allow visibility with the calendar and then trying to turn off visibility for an individual block by leaving the calendar box unchecked in visible options while checking the other actions where I do want visibility, the block still shows with the calendar. (the “Display on all pages and sections” is unchecked).

My installed mods are below:

1. No Temp Directory Removal 1.0
2. Auto Embed Video/Audio Clips 3.1.1
3. TinyPortal 1.052
4. Custom Profile Field Mod 3.19
5. Enhanced Calendar 1.1

Note:  The Enhanced Calendar mod was installed after I noticed the problem and did not have any effect on the problem.  Enhanced Calendar, although no longer supported by the developer, is working fine.

Ken.

I had not tried to use a block in just that manner, but after trying for the past 10 minutes to make it work my results are the same as yours.

Hopefully another Team member will have a better answer for you.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

G6Cad

did you add just the calendar or what did you add ?  and remember to separate the actions with a , sign

Bryan

Quote from: G6 on August 07, 2008, 04:47:49 PM
did you add just the calendar or what did you add ?  and remember to separate the actions with a , sign
The calendar is the one that is included with SMF.  I'm not having any problem with adding “calendar” to the custom actions box â€" that works fine as I described above.  It's the check boxes in the panels settings and block visibility options that control visibility with the calendar that I can't seem to get to work.

G6Cad

No, i meant the action you type in to the hide for this action box.

Like IE   gallery,arcade,calendar


What did you add to the box and did you separate it with a , and with out a spacing between them ?

Bryan

The “Hide panels when in custom actions” works fine as a workaround for the checkbox not working.  The only action I tried adding to that box was calendar and the result was as expected, but I would prefer to control the blocks individually using the block visibility options instead of hiding all the panels with the calendar

Bryan

What I described is really two problems related by the fact that both involve visibility settings when the calendar is displayed.  The first problem with panel visibility is interesting because it involves the calendar, but there is a workaround and this is not really my problem, although the checkbox not working for panel visibility with the calendar may be a bug.

The second problem with block visibility when the calendar is displayed is my real problem.  To try to further clarify, what I'd like to figure out is how to do this, if possible:  Create three blocks in any panel, make two of them visible everywhere except when the calendar is displayed.  Make the third block visible only when the calendar is displayed.

This website is proudly hosted on Crocweb Cloud Website Hosting.