obdev / WebYep

Web Content Management System
20 stars 13 forks source link

Shot Edit Buttons WY2 #13

Open sigrid-webyep opened 5 years ago

sigrid-webyep commented 5 years ago

Hello, I am including WebYep2 manually, and I am facing a problem with the Loop or more specifically the Automatic controls option.

I have the Loop working perfectly, but when I want to place the Control Buttons „by hand“ (using the php code snippet in the documentation) the page is not loading from that section of code on.

<?php foreach ((new WYLoopElement())->aLoopIDs("Fieldname") as $webyep_oCurrentLoop->iLoopID) { $loopid=$webyep_oCurrentLoop->iLoopID; $_SESSION["loopid"]=$loopid; $webyep_oCurrentLoop->loopStart(false,$webyep_oCurrentLoop->iLoopID); // WebYepV2 ?> together with <?php $webyep_oCurrentLoop->showEditButtons(); // WebYepV1 ?>

Would be great to hear what you think could help me. Thank you!

maxfancourt commented 5 years ago

Hi There is an error with manually inserted loop control buttons which we have fixed in our latest version although we haven't yet uploaded the new 2.1 onto GitHub if you can email me directly then I can help you out All the best Max max.izzat(at)gmail.com