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

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:32:45 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 174
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 162
  • Total: 162

Levgal block code question

Started by njtweb, April 21, 2022, 12:33:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

njtweb

Hello, I'm testing out the levgal mod on the front panel block on my site index. It works as designed but I'd like to see if there is a way to add code to this php snippet to make it responsive when viewed on mobile. Currently, the title text does not scale down when viewed on handhelds. Thank you for any help in advance.


if (defined('LEVGAL_VERSION'))
{
// Displaying rows and columns of items. For example 1 row of 4 items would be $columns = 4; and $rows = 1;
$columns = 1;
$rows = 3;
LevGal_Portal_TinyPortal::getLatestItems($columns, $rows);
}


youthhockeyinfo(dot)com

@rjen

Seriously, I have no clue what you expect us to do...

You have a mod in a block and the mod is not responsive: that is not something we can fix with TinyPortal.

I am personally not familiar with Levgal at all, and the code you are posting does not mean anything from a layout perspective. It just call some other mod in a block. I for one cannot help you with this...

Perhaps Lurkalot has any idea what you can do, but that is outside of TinyPortal support imo...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

njtweb

Feel free to delete, I thought the block code that is enabled in TP is related, apparently not. Sorry for the inquiry.

@rjen

Is that the full blockcode you posted?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

njtweb


tino

It is all done in this function.

LevGal_Portal_TinyPortal::getLatestItems($columns, $rows);

Which is outside of TinyPortal, we just call it.

njtweb

Quote from: tino on April 21, 2022, 03:27:22 PM
It is all done in this function.

LevGal_Portal_TinyPortal::getLatestItems($columns, $rows);

Which is outside of TinyPortal, we just call it.

There's got to be some sort of lag with my hosting, like a full day before it catches up to changes I've made. The code is working now in the block on the front page. I made the changes around 11am est yesterday and just now they started working on both FF and Chrome on handheld. Sorry.