Forum

Thread tagged as: Problem, Blog

Sections and categories appear to be causing problems with sorting/filtering - N...

Hallo, I appear to be having a few issues with sections and categories in the Blog-Add-on. The Templates may have issues from older versions left in them, but I am not seeing them myself. I am sorting/filtering the Posts using categories, which are being given in the 'normal' editing Tab. When a Tag is added in the 'Meta and Social Tab' the Post is no longer being sorted/filter correctly until it is again saved in the normal editing Tab.

Diagnostic Report

Perch: 3.0.14, PHP: 5.6.36-0+deb8u1, MySQL: 5.5.60, with PDO
Server OS: Linux, apache2handler
Installed apps: content (3.0.14), assets (3.0.14), categories (3.0.14), perch_blog (5.6.1), perch_events (1.9.5), perch_mailchimp (3.1)
App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_events', 'perch_mailchimp', ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/homepage.d/2018-02-21/perch
PERCH_CORE: /var/www/homepage.d/2018-02-21/perch/core
PERCH_RESFILEPATH: /var/www/homepage.d/2018-02-21/perch/resources
Image manipulation: GD
PHP limits: Max upload 256M, Max POST 256M, Memory: 1024M, Total max file upload: 256M
F1: 9fab42554990d2c203d599a6437edd2a
Resource folder writeable: Yes
HTTP_HOST: sthoerfunk.de
DOCUMENT_ROOT: /var/www/sthoerfunk
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

How the Posts are sorted

    <?php 
                            perch_blog_custom(array(
                            'category' => array('aktuelles'),
                            'sort'=>'postDateTime',
                            'sort-order'=>'DESC',
                            'template' => 'startseite-article-container.html',
                            'count' => '2',
                            ));
                        ?>

The template

<div class="article-single">
    <a href="<perch:blog id="postURL" />" rel="bookmark" class="entry-title">
        <div class="article-item">
            <perch:if exists="audio_file">
                <img src="/perch/resources/00_audio-icon.png" class="audio-icon-flex"/>
            </perch:if>
            <perch:if exists="image">
                <div class="#">
                    <img src="<perch:blog id="image" type="image" width="320" height="240" crop="true" label="Image" />" alt="<perch:blog id="postTitle" />" />
                </div>
            </perch:if>
            <div class="article-info-holder">
                <span class="obertitel bg-<perch:blog id="themen" format="LC" urlify="true"/>"><perch:blog id="themenTitle" type="text" label="Obertitel" required="true" size="xl autowidth" order="1" /></span>
                <p class="article-title"><perch:blog id="postTitle" /></p>
            </div>
        </div>
    </a>
</div>

Website for Info: www.sthoerfunk.de It is all happing on the index page.

It seems to be similar to this problem here: https://forum.grabaperch.com/forum/04-21-2017-problems-posting-to-blog-section-that-is-using-categories

Matthew Owen

Matthew Owen 0 points

  • 2 years ago

Can anyone help me here?

Drew McLellan

Drew McLellan 2638 points
Perch Support

I think this is a known issue, which should be addressed in a future update.

Oh, ok Drew. Can you give me any idea of timescale? Is there a known solution for adding Tags into the 'normal' editing page?