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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:04:57 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 310
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 307
  • Total: 308
  • lurkalot

Upgraded to 2.2.2 and am having an issue with panel display

Started by pulgoki, May 19, 2022, 06:23:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pulgoki

Judging from past experience, this has to be something I've screwed up.

I upgraded to the new version of TP today.  I have the upper panel set to display blocks in three columns and then have 3 blocks set up. Before the upgrade, the blocks displayed in a horizontal row of the 3 blocks each taking up 1/3 of the upper panel.  Now, the blocks display in a column of 3 blocks off to the left side of the upper panel. I can't get them to  display correctly. 

Any suggestions to get this resolved would be appreciated.

@rjen

Running Latest TP on SMF2.1 at: www.fjr-club.nl

pulgoki

I tried that and got no love.  I'll post back in a few minutes. I managed to get it to show the blocks in the 3 columns, but I had to change the way they were displayed to grid and set the size to 33%.

I've never had to do that before so I'm not sure why it would act that way now. 

I changed it back to 3 columns and it went right back to displaying the blocks in a 1 column row.

For now, until I can get this figured out, the grid display works? 

If I had more time I would set up a test server and try this from scratch.  I would imagine that this is more difficult to trouble shoot on an upgraded install than on a fresh. 

pulgoki

Yikes!  When I try that, it throws tons of errors. Apparently that isn't the solution. 

forum/Sources/TPortal.php (Line 2040)
Undefined variable $grid_recycle



pulgoki

The grid error was my fault. I missed checking the grid layout. It indeed works, but isn't what I'm looking for.

I've tried Horizontal, 2 colums, 3 columns, and 4 columns, and all of them display the blocks in 1 single column aligned to the left of the page.

Is it possible to downgrade back to 2.2.1? I don't wan to toast my install.

pulgoki

Ok, so I went through the trouble of removing an old version of TP from my test server. I made sure the database was completely cleaned out of any TP entries.

I upgraded the test server to the latest version of smf (2.1.2) and then installed the latest version of TP (2.2.2)

I set the upper panel up to display 3 columns like I had on my live forum. I created 3 blocks in the upper panel.

The result is the same. It doesn't display the blocks in 3 columns. It displays them in a single row off to the left side of the panel.

I haven't tried to do this in any of the other panels so I don't know if I would see the same results.


edit: to add, I reverted my test forum back to 2.2.1 and the blocks displayed in a horizontal row as expected.

Is it safe to downgrade from 2.2.2 to 2.2.1? 

@rjen

There is no issue downgrading TP2.2.2 to 2.2.1: just uninstall 2.2.2, leave the data intact and install 2.2.1

Try it on your test server to be sure.

But before you do that to your production forum, can you share a link to your forum where this can be seen? There are no changes in TP2.2.2 that would explain what you are describing.
Perhaps it is related to the theme you are using, I would like to check this out...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

Quote from: pulgoki on May 19, 2022, 07:03:01 PM
Yikes!  When I try that, it throws tons of errors. Apparently that isn't the solution. 

forum/Sources/TPortal.php (Line 2040)
Undefined variable $grid_recycle


That's not very nice, and it is actually a bug. I'll fix that for the next version...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

pulgoki

Quote from: @rjen on May 19, 2022, 08:53:45 PM

Perhaps it is related to the theme you are using, I would like to check this out...

I'm using the default theme on the test server. I also use the default theme to admin the live forum.

Can I private message you a link to the test forum?  You can see it happening there. I upgraded back to the current version of TP and it immediately broke the columns again.