Jump to content

icetea

Members
  • Posts

    2
  • Joined

  • Last visited

icetea's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Hello ProcessWire team I'm new hir and make my first steps with ProcessWire. To my problem: I'd like in a section which is repeated. Here I would insert Columne individuel once but 2 another time 3 Columne my code is not working. f_columns is a field Type = repeater with title and f_box_1_spalte_wysiwyg f_box_1_spalte_wysiwyg is a field Type = textarea the code I is used <?php $panels = $pages->find("template=t_pw_page_pool"); foreach($panels as $panel){ ?> <section class="main <?= $panel->f_box_erscheinungsbild->title; ?> <?= $panel->f_box_ausrichtung->title; ?> dark fullscreen inactive" id="<?= $panel->f_id_css->title; ?>"> <div class="content box style2"> <header> <h2><strong><?= $panel->f_box_title_bold; ?></strong><?= $panel->f_box_title; ?></h2> </header> <?= $panel->f_box_1_spalte_wysiwyg; ?> <?= $panel->f_columns; ?> <a class="fa fa-chevron-circle-up top" href="#top"></a> </div> <a class="scroll-down-link icon fa fa-chevron-down" href="#<?= $panel->f_id_css_link->title; ?>">Next</a> </section> <?php } // end foreach?> output from <?= $panel->f_columns; ?> is 1039 l 1040 l 1041 as I have to query the contents of repear in a repear loop?
  2. Hello ProcessWire team I'm new hir and make my first steps with ProcessWire. To my problem: I'd like in a section which is repeated. Here I would insert Columne individuel once but 2 another time 3 Columne my code is not working. f_columns is a field Type = repeater with title and f_box_1_spalte_wysiwyg f_box_1_spalte_wysiwyg is a field Type = textarea the code I is used <?php $panels = $pages->find("template=t_pw_page_pool"); foreach($panels as $panel){ ?> <section class="main <?= $panel->f_box_erscheinungsbild->title; ?> <?= $panel->f_box_ausrichtung->title; ?> dark fullscreen inactive" id="<?= $panel->f_id_css_d4m->title; ?>"> <div class="content box style2"> <header> <h2><strong><?= $panel->f_box_title_bold; ?></strong><?= $panel->f_box_title_d4m; ?></h2> </header> <?= $panel->f_box_1_spalte_wysiwyg; $panel->f_columns; ?> <a class="fa fa-chevron-circle-up top" href="#top"></a> </div> <a class="scroll-down-link icon fa fa-chevron-down" href="#<?= $panel->f_id_css_link->title; ?>">Next</a> </section> <?php } // end foreach?>
×
×
  • Create New...