Event Planner Template Category Blog - Missing Articles - Question | JoomShaper

Event Planner Template Category Blog - Missing Articles

SS

Sensible IT Solutions

General 6 months ago

I am using the Event Planner Category Blog. It is not showing all published articles.

I have 3 published but it'll only show 2. It randomly selects which ones it will/won't show. If I add another blog that one may show or it may show an older one that previously wasn't showing

All other category blogs on other templates work fine

I have checked all category blog settings and they're all correct.

0
5 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #132805

Please check now. Now. I just updated this code from this file location.

templates/eventplanner/html/com_content/category/blog.php

<?php if (!empty($this->intro_items)) : ?>
        <?php $blogClass = $this->params->get('blog_class', ''); ?>
        <?php if ((int) $this->params->get('num_columns') > 1) : ?>
            <?php $blogClass .= 'cols-' . (int) $this->params->get('num_columns'); ?>   
        <?php endif; ?>
        <div class="article-list">
            <div class="row row-<?php echo $counter + 1; ?> <?php echo $blogClass; ?>">
            <?php foreach ($this->intro_items as $key => &$item) : ?>
                <?php if ($key > 0) : ?>
                <div class="col-lg-<?php echo round(12 / Helper::SetColumn($this->params->get('num_columns'), 4)); ?>">
                    <div class="article"
                        itemprop="blogPost" itemscope itemtype="schema.org/BlogPosting">
                        <?php
                        $this->item = & $item;
                        echo $this->loadTemplate('item');
                        ?>
                    </div>
                    <?php $counter++; ?>
                </div>
                <?php endif; ?>
            <?php endforeach; ?>
            </div>
        </div>
    <?php endif; ?>

To

<?php if (!empty($this->intro_items)) : ?>
        <?php $blogClass = $this->params->get('blog_class', ''); ?>
        <?php if ((int) $this->params->get('num_columns') > 1) : ?>
            <?php $blogClass .= 'cols-' . (int) $this->params->get('num_columns'); ?>   
        <?php endif; ?>
        <div class="article-list">
            <div class="row row-<?php echo $counter + 1; ?> <?php echo $blogClass; ?>">
            <?php foreach ($this->intro_items as $key => &$item) : ?>
                <div class="col-lg-<?php echo round(12 / Helper::SetColumn($this->params->get('num_columns'), 4)); ?>">
                    <div class="article"
                        itemprop="blogPost" itemscope itemtype="schema.org/BlogPosting">
                        <?php
                        $this->item = & $item;
                        echo $this->loadTemplate('item');
                        ?>
                    </div>
                    <?php $counter++; ?>
                </div>
            <?php endforeach; ?>
            </div>
        </div>
    <?php endif; ?>

-Thanks

1
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #132676

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla Supper administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
SS
Sensible IT Solutions
Accepted Answer
6 months ago #132685

Hi Toufiq,

Changed user initially provided to super user

Thanks Stacy

0
SS
Sensible IT Solutions
Accepted Answer
6 months ago #132951

That's fixed it!

Thank you

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 6 months ago #132955

You are most welcome. Will you please spend some to write a review about our product and support quality? 

https://extensions.joomla.org/extension/sp-page-builder/

https://www.trustpilot.com/review/www.joomshaper.com

0