Dentro Template issue - Forum | JoomShaper
Staff replied Templates

Dentro Template issue

Asked by Stephane Hanrez 1 year ago Last activity 1 week ago

Hi,

I think there is a bug in Dentro template.

If you look at line 260, you can see :
<?php if ($doc->countModules('right')) { ?>
which is good because it will only show this section if there is indeed a right section.

But if you look a bit above, line 128, you can see :
<div class="article-body-content col-sm-8">
There should be an if as well here... because if there is no right section, this section should extend and then be <div class="article-body-content col-sm-12">

At the moment, event if you have no right section, it will keep an empty space on the right.

Could you please correct this ?

Thanks

5 replies

Ziaul Kabir Staff
1 year ago · edited

Hi Stephane,

Thank you for bringing this to our attention.

You can resolve the issue by updating the line at 128:

<div class="article-body-content col-sm-8">

to:

<div class="article-body-content <?php echo $doc->countModules('right') ? 'col-sm-8' : 'col-sm-12'; ?>">

This adjustment ensures the layout adapts dynamically based on whether the “right” module position is in use.

I’ve shared this with our development team. Since the current structure was part of the original design, we’ll consider updating it in a future release if the team agrees.

Best regards,

gemmajoom

Please, in wich file? where?

Ziaul Kabir Staff

Please, create a separate post of your issues.

Thanks

Stephane Hanrez Asked this

templates/dentro/html/com_content/article/default.php

unfortunately JS still didn't update this template to 2.0.3 in order to solve this issue ;-/

Ziaul Kabir Staff

Hello,

I see that this fix is still not included in the latest release. I have reminded the team about it, and they assured me that it will be included in an upcoming release.

Thanks!

Stephane Hanrez Asked this

Thanks. I already updated my own site, so I'm fine, just wanted to share it so this could be adapted in next version of the template (also so I don't have to redo it every time as I have multiple sites running this template) ;-)

Ziaul Kabir Staff

If your issue is resolved, kindly mark the question as complete by accepting the relevant answer.

Thanks!

Stephane Hanrez Asked this

Hi,

Just updated to latest Dentro template and I see this is still unresolved... Could you please correct this in the next version ? It's annoying that every time I update the template, I have to manually change that line on each of my websites.

Thanks

Ziaul Kabir Staff

Hello,

I apologize for this issue.

I have forwarded it to our template team for investigation and resolution. The fix will be included in an upcoming release.

Thank you for your understanding.

Best regards,

Log in to reply.