e107help.org Q&A
0 like 0 dislike

if grid is selected in admin -> pages/menus -> options -> list books/capters templates then no articles are displayed.

Any suggestions?


php 7.0.33

e107 2.2.1

theme bs_blog_01 or voux
e107 version 2.2.1
in Other by (7 points) 1

1 Answer

0 like 0 dislike
Figured by myself..

in the file core / templates / chapter_template.php is missing the feature..

add at the end of the file this:

$CHAPTER_TEMPLATE['grid']['listPages']['start']                = "<div class='row'>";
$CHAPTER_TEMPLATE['grid']['listPages']['item']                = "<div class='col-xs-12 col-md-4 text-center'>
                                                                    <h2><a href='{CPAGEURL}' >{CPAGEMENU}</a></h2><p>{CHAPTER_DESCRIPTION}</p></div>";
$CHAPTER_TEMPLATE['grid']['listPages']['end']                = "</div>";

and the trik is done.


by (7 points) 1
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
924 questions
1,326 answers
2,297 users