News: February 16th, 2020, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.5! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

February 26, 2020, 07:53:52 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189514
  • Total Topics: 20801
  • Online Today: 165
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 109
Total: 110

Author Topic: Blocks COLLAPSED at startup possible?  (Read 1252 times)

0 Members and 1 Guest are viewing this topic.

Offline Wichtlmex

  • Full Member
  • ***
  • Posts: 102
Blocks COLLAPSED at startup possible?
« on: January 18, 2020, 01:05:20 AM »
Hi,
I can see the option to have blocks with articles collapsible or not.
But I want the block to start up in collapsed form..... is that possible?
regards
Michael
« Last Edit: January 18, 2020, 11:39:34 PM by Wichtlmex »
SMF 2.1 RC1, TP 1.6.3

Offline @rjen

  • Support Team
  • *
  • Posts: 2002
    • FJR-club Nederland
Re: Blocks COLLAPSED at startup possible?
« Reply #1 on: January 20, 2020, 01:49:05 PM »
There is no setting for that. I guess it is possible with a code change but I do not really see the point...
Running TP1.6.4 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 RC2
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 6449
    • Camera Craniums
Re: Blocks COLLAPSED at startup possible?
« Reply #2 on: January 20, 2020, 03:30:06 PM »
I did a search on this last night actually, it's been asked for only a few times over the years.  Looks like a lot of work to make it happen tbh.

Offline Wichtlmex

  • Full Member
  • ***
  • Posts: 102
Re: Blocks COLLAPSED at startup possible?
« Reply #3 on: January 22, 2020, 09:26:17 AM »
Yes, it has been asked for not many times but already years ago ;-)
The point is, that there might be blocks which should be there, e.g. for legal reasons, like disclaimers etc.. So noone wants to see that really as a  prominent element of the page when first entering.
After the fiest time, a collapsed block stays collapsed, so it does not matter anymore.

IMHO if there is a tag "collapsible", it seems logical to have a tag "start collapsed".
Sorry, I was not aware that is much work.
 
I will have to live with it, just it was a NTH

Regards
Michael
SMF 2.1 RC1, TP 1.6.3