Hello,
To display to position in one line, first, open the file 'templates/adsclarity/html/com_adsmanager/details/default_jssor.php', the simpliest position to custom is at the line 350, the code '$this->fDisplay[3]' means that it will display the fourth position (ADSMANAGER_POSITION_DESCRIPTION or the Description position)
The original code is this one:
<div class="row detailDesc rowDesc">
<div class="col-md-12">
<?php if (!empty($this->fDisplay[3])) {
$strtitle = @JText::_($this->positions[2]->title);
if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>";
foreach($this->fDisplay[3] as $field) {
$c = $this->field->showFieldValue($this->content,$field);
if (($c !== "")&&($c !== null)) {
$title = $this->field->showFieldTitle(@$this->content->catid,$field);
echo "<span class='f".$field->name."'>";
if ($title != "")
echo "<b>".htmlspecialchars($title)."</b>: ";
echo "$c<br/>";
echo "</span>";
}
}
}?>
</div>
</div>
And replace it by something like that:
<div class="row detailDesc rowDesc">
<div class="col-md-6">
<?php if (!empty($this->fDisplay[3])) {
$strtitle = @JText::_($this->positions[2]->title);
if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>";
foreach($this->fDisplay[3] as $field) {
$c = $this->field->showFieldValue($this->content,$field);
if (($c !== "")&&($c !== null)) {
$title = $this->field->showFieldTitle(@$this->content->catid,$field);
echo "<span class='f".$field->name."'>";
if ($title != "")
echo "<b>".htmlspecialchars($title)."</b>: ";
echo "$c<br/>";
echo "</span>";
}
}
}?>
</div>
<div class="col-md-6">
<?php if (!empty($this->fDisplay[6])) {
$strtitle = @JText::_($this->positions[2]->title);
if ($strtitle != "") echo "<h2 class='section-header'>".@$strtitle."</h2>";
foreach($this->fDisplay[6] as $field) {
$c = $this->field->showFieldValue($this->content,$field);
if (($c !== "")&&($c !== null)) {
$title = $this->field->showFieldTitle(@$this->content->catid,$field);
echo "<span class='f".$field->name."'>";
if ($title != "")
echo "<b>".htmlspecialchars($title)."</b>: ";
echo "$c<br/>";
echo "</span>";
}
}
}?>
</div>
</div>
And if you are using the position 6 like in my example, don't forget to remove it from the following line.
Best regards.