I have created a solution myself and i want to share this with you
I have also asked Themler to implement it in the next version
In the file html/com_content/article/deafult_template.php
After every line that has the code
<?php ob_start(); ?>
Place the following piece of codeafter that (6 times in my current template)
<?php
// Added by Scorpion Computers & Software
// Adds class for pulling the article image left or right
$myparams = $this->item->params;
$images = json_decode($this->item->images);
$imgfloat = (empty($images->float_fulltext)) ? $myparams->get('float_fulltext') : $images->float_fulltext;
$imgfloafclass = 'pull-' . $imgfloat;
$params['image-float'] = $imgfloafclass;
// End of added by Scorpion Computers & Software
?>
The go to the files include/article_2.php to include/article_7.php and look for a line that has the class="bd-postimage in it. In the class parameter add the following code
<?php echo $data['image-float'];?>
As an example the line should look something like this
<div class=" bd-postimage-4 bd-no-margins <?php echo $data['image-float'];?>">
I have created a solution myself and i want to share this with you
I have also asked Themler to implement it in the next version
In the file html/com_content/article/deafult_template.php
After every line that has the code
<?php ob_start(); ?>
Place the following piece of codeafter that (6 times in my current template)
<?php
// Added by Scorpion Computers & Software
// Adds class for pulling the article image left or right
$myparams = $this->item->params;
$images = json_decode($this->item->images);
$imgfloat = (empty($images->float_fulltext)) ? $myparams->get('float_fulltext') : $images->float_fulltext;
$imgfloafclass = 'pull-' . $imgfloat;
$params['image-float'] = $imgfloafclass;
// End of added by Scorpion Computers & Software
?>
The go to the files include/article_2.php to include/article_7.php and look for a line that has the **class="bd-postimage** in it. In the class parameter add the following code
<?php echo $data['image-float'];?>
As an example the line should look something like this
<div class=" bd-postimage-4 bd-no-margins <?php echo $data['image-float'];?>">