SPPB4 - Responsive Fields for XXL - Forum | JoomShaper
Solved SP Page Builder

SPPB4 - Responsive Fields for XXL

Asked by Alvaro 4 years ago Last activity 4 years ago

When a field is defined as responsive => true,FIELDNAME_xxl in the editor returns empty, but in the public part it returns the correct value. This causes addons that do not have a public static function getTemplate() to not show the correct changes in the editor. The problem only happens withxxl and in the editor where FIELDNAME is an OBJECT,
It would be great if they improve this.
admin.php field example

'count' => [
    'type' => 'slider',
    'title' => Text::_('Items Per Column'),
    'min' => 1,
    'max' => 6,
    'responsive' => true,
    'std' => ['xxl' => 5, 'xl' => 4, 'lg' => 3, 'md' => 3, 'sm' => 2, 'xs' => 2],
],

render() function code

var_dump($settings->count_xxl);

Returns in live editor:
Warning: Undefined property: stdClass::$count_xxl in

Return in Public part: string '6'

Regards

Accepted answer

Marked as the solution
Toufiq Senior Staff

Please ignore to use the desktop feature now. Cause, the desktop feature is not ready fully. We will improve it in the future. Thanks

4 more replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Is this happen on Page Builder 4 or 3? And Is it Slideshow addon?

-Thanks

Alvaro Asked this

This happens in Page builder 4, and the problem is in all addons, all addons that have 'responsive' => true only work up to XL no XXL, even the device control (from the top) is activated by default for LAPTOP, when desktop is activated and configurations such as width, height, padding, margin, line-height, font-size, etc, etc are added in the addons none are generated.

On the other hand, it is assumed that in SPPB4 you have added a greater responsive control, but if you are going to edit the COLUMN OPTIONS, you still have the control of tablets (768px) and mobiles, I think that is another point to improve.

regards

Toufiq Senior Staff

Can i expect a screencast video about the full scenario? And Will you please provide me the Joomla administrator access to check the issue?

Log in to reply.