WeStandWithUkraine

1279 Posts
Bucklash
6 years ago
2
Topic

Hi folks

I have noticed today that if I create a Menu Item for List of type Article (or category) then I have no output in front end (ie empty). If I have list for all other content types then I have desired result.

I will dig deeper, and test on different site and post back outcome.

Any tips, suggestions or insight is welcome.

EMPTY:
<form action="/fretroom/blog" autocomplete="off" method="get" id="seblod_form" name="seblod_form">
    <div class="cck_page_search">
        <div id="cck13r" class="cck-f100 cck-pad-8">
            <div>
                <div class="cck-line-body">
                    <div class="cck-plr cck-ptb">
                        <div id="cck13r_mainbody" class="cck-pos-mainbody seb_css3 vertical cck13r-deepest">
                            <input type="hidden" id="cck" name="cck" value="article" class="inputbox">
                        </div>
                    </div>
                    <div class="clr"></div>
                </div>
            </div>
        </div>
    </div>
    <div>
        <input type="hidden" name="boxchecked" id="boxchecked" value="0">
        <input type="hidden" name="search" value="fr_articles">
        <input type="hidden" name="task" value="search">
    </div>
    <div class="cck_page_list html-override-list-deafult  cck-clrfix" id="system">
        <div id="cck1r" class="cck-f100 cck-pad-8">
            <div class="blog-top cck-w100 cck-fl cck-ptb">
                <div class="cck-plr">
                    <div class="cck-odd">
                        <div id="cck103" class="cck-f100 cck-pad-8">
                            <div>
                                <div class="cck-line-body">
                                    <div class="cck-plr cck-ptb"></div>
                                    <div class="clr"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cck-clear"></div>
            <div class="cck-line-blog-middle1 cck-w100 cck-line">
                <div id="cck1r_middle1-1" class="cck-w50 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-even cck-deepest-blog" style="height: 0px;">
                            <div id="cck72" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="cck1r_middle1-2" class="cck-w50 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-odd cck-deepest-blog" style="height: 0px;">
                            <div id="cck69" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cck-clear"></div>
            <div class="cck-line-blog-middle2 cck-w100 cck-line">
                <div id="cck1r_middle2-1" class="cck-w50 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-even cck-deepest-blog" style="height: 0px;">
                            <div id="cck101" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="cck1r_middle2-2" class="cck-w50 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-odd cck-deepest-blog" style="height: 0px;">
                            <div id="cck106" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cck-clear"></div>
            <div class="cck-line-blog-bottom1 cck-w100 cck-line">
                <div id="cck1r_bottom1-1" class="cck-w33 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-even cck-deepest-blog" style="height: 0px;">
                            <div id="cck105" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="cck1r_bottom1-2" class="cck-w34 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-odd cck-deepest-blog" style="height: 0px;">
                            <div id="cck122" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="cck1r_bottom1-3" class="cck-w33 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-even cck-deepest-blog" style="height: 0px;">
                            <div id="cck68" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cck-clear"></div>
            <div class="cck-line-blog-bottom2 cck-w100 cck-line">
                <div id="cck1r_bottom2-1" class="cck-w33 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-odd cck-deepest-blog" style="height: 0px;">
                            <div id="cck102" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="cck1r_bottom2-2" class="cck-w34 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-even cck-deepest-blog" style="height: 0px;">
                            <div id="cck70" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="cck1r_bottom2-3" class="cck-w33 cck-fl cck-ptb" style="height: 0px;">
                    <div class="cck-plr">
                        <div class="cck-odd cck-deepest-blog" style="height: 0px;">
                            <div id="cck107" class="cck-f100 cck-pad-8">
                                <div>
                                    <div class="cck-line-body">
                                        <div class="cck-plr cck-ptb"></div>
                                        <div class="clr"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cck-clear"></div>
        </div>
    </div>
</form>
<br>
NOT EMPTY:
<form action="/fretroom/blog" autocomplete="off" method="get" id="seblod_form" name="seblod_form">
    <div class="cck_page_search">
        <div id="cck2r" class="cck-f100 cck-pad-8">
            <div>
                <div class="cck-line-body">
                    <div class="cck-plr cck-ptb">
                        <div id="cck2r_mainbody" class="cck-pos-mainbody seb_css3 vertical cck2r-deepest">
                            <input type="hidden" id="cck" name="cck" value="fr_faux" class="inputbox">
                        </div>
                    </div>
                    <div class="clr"></div>
                </div>
            </div>
        </div>
    </div>
    <div>
        <input type="hidden" name="boxchecked" id="boxchecked" value="0">
        <input type="hidden" name="search" value="fr_slogan">
        <input type="hidden" name="task" value="search">
    </div>
    <div class="cck_page_list html-override-list-deafult  cck-clrfix" id="system">
        <div>
            <div class=" ">
                <div class=" ">
                    <p class="logo-slogan">NORTH FREO GUITAR LESSONS</p>
                </div>
            </div>
        </div>
        <div style="display: none;"></div>
    </div>
</form><br>
Get a Book for SEBLOD
4229 Posts
Kadministrator
6 years ago
0
Level 1

You should check your search&list type if you have some live values set on search that would lead to no result. If you enable debugging you should see query beeing executed so it would be easier to spot where the problem is.

Also try enabling error reporting in Joomla if you get any errors.

1279 Posts
Bucklash
6 years ago
0
Level 1

Hi Klas et all

I have resolved this but not sure what I did to cause this scenario....

My SQL query was good and showed the correct amount of results.
I noticed that my template choices for the list item or list view results was restricted to 'form' templates.
I deleted the List and Search type, created a new one and had List templates to choose from. I was then able to see results as expected.

Bucklash

Get a VIP membership