Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 15, 2022, 09:58:12 PM

Login with username, password and session length
Members
  • Total Members: 3842
  • Latest: Kokoro
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 53
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 49
Total: 49

Author Topic: Levgal block code question  (Read 329 times)

0 Members and 1 Guest are viewing this topic.

Offline njtweb

  • Jr. Member
  • **
  • Posts: 15
Levgal block code question
« on: April 21, 2022, 05:33:15 AM »
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.


Code: [Select]
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);
}

Code: [Select]
youthhockeyinfo(dot)com

Offline @rjen

  • Support Team
  • *
  • Posts: 3285
    • FJR-club Nederland
Re: Levgal block code question
« Reply #1 on: April 21, 2022, 06:49:08 AM »
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

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

Offline njtweb

  • Jr. Member
  • **
  • Posts: 15
Re: Levgal block code question
« Reply #2 on: April 21, 2022, 06:52:33 AM »
Feel free to delete, I thought the block code that is enabled in TP is related, apparently not. Sorry for the inquiry.

Offline @rjen

  • Support Team
  • *
  • Posts: 3285
    • FJR-club Nederland
Re: Levgal block code question
« Reply #3 on: April 21, 2022, 06:56:13 AM »
Is that the full blockcode you posted?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

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

Offline njtweb

  • Jr. Member
  • **
  • Posts: 15
Re: Levgal block code question
« Reply #4 on: April 21, 2022, 07:43:25 AM »
Is that the full blockcode you posted?

That's all of it.

Offline tino

  • Developer
  • *
  • Posts: 2613
Re: Levgal block code question
« Reply #5 on: April 21, 2022, 08:27:22 AM »
It is all done in this function.

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

Which is outside of TinyPortal, we just call it.

Offline njtweb

  • Jr. Member
  • **
  • Posts: 15
Re: Levgal block code question
« Reply #6 on: April 21, 2022, 08:35:05 AM »
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.