You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add better support for PWG_Stuffs into Bootstrap Darkroom, the templates can be overridden by the theme, which is great.
But I'm having a really hard time understanding some of the template variables.
Though, I'm unable to get a $block.WIDTH assigned to the template. If I set a blocks line ID to something, let's say A, and width to 50, this is what I get when doing a {$block|@print_r} in the template's foreach loop:
I'm trying to add better support for PWG_Stuffs into Bootstrap Darkroom, the templates can be overridden by the theme, which is great.
But I'm having a really hard time understanding some of the template variables.
For example in stuffs_blocks.tpl there is a
{if !empty($block.WIDTH)}style="width: {$block.WIDTH}%;"{/if}
https://github.com/Piwigo/PWG_Stuffs/blob/master/theme/template/stuffs_blocks.tpl#L6
Though, I'm unable to get a $block.WIDTH assigned to the template. If I set a blocks line ID to something, let's say A, and width to 50, this is what I get when doing a
{$block|@print_r}
in the template's foreach loop:It does have a given_width, but no WIDTH like it's used in the template.
Is there an issue with my installation (tried two Piwigo instances each running Piwigo 2.9.2 and the latest version of the Plugin), or is that bug?
The text was updated successfully, but these errors were encountered: