Search the Community
Showing results for tags 'pagetableextended'.
Hi folks, I've been using the PageTableExtended recently to create some dynamic/curated sections on my site which is working really well, functionality wise, but the admin layout in the CMS is a little odd to work with. I have attached a screenshot of how one of my setups currently looks. You'll see it's hard to know what 'flexible-content-block' is an image, or text, or embeddable media etc. What would be really useful is to see the 'page' title on this screen. I have attached a screenshot with an idea. So, is something like my proposal currently possible, and if not, could it be added to a feature list? Wordpress's ACF flexible content area use this type of setup and it's a lot easier to maintain and organise. Especially for clients/users. Or, is there a way which I can fork this and build this layout for others to use if they find it useful? Thanks, R
Hey folks, I have a question regarding rendering of template files that are in a subfolder of the template folder. How would I for example render these PageTable items, when their template files are inside templates/blocks/: <div class="grid"> <?php foreach($page->grid_ext as $item): ?> <div id="pteg_<?= $item->id ?>"> <?php echo $item->render(); ?> </div> <?php endforeach; ?> </div> I tried this, but get an error: <?php echo $item->render(wire('config')->paths->templates . '/blocks/'); ?>
I am having problems deleting pages used by a PageTable and PageTableExtended field Processwire version : 2.5.8 dev Modifications : I have installed Language support for Fields and Page Names. This issue affects the PageTable and PageTableExtended modules - they are both slightly different but maybe connected somehow. That could be because of the whole interconnectedness of everything or because they have almost the same name. With the PageTable I am storing the PageTable pages in a hidden folder called "Videos". If I delete one of these pages outside of where the PageTable is being used (i.e. from the "Videos" folder) the following happens : If I am logged in as root admin, the deleted PageTable page is greyed out, I can open the page and edit, but there is a message that : This page is in the Trash And there is no way from this dialog to restore the page (of course you can go manually to the trash and restore it). If I am logged in as an editor (with reduced permissions but including "page-delete") - the deleted PageTable page is greyed out, but when I try to edit the page, there is an error message. Module ProcessPageEdit failed init - You don't have access to edit No page found And it is not possible to edit the page. With the PageTableExtended I am storing the PageTableExtended pages in a hidden folder called "Content Blocks". If I delete one of these pages outside of where the PageTable is being used (i.e. from the "Content Blocks" folder). When logged in as root admin and also as an editor (with reduced permissions but including "page-delete") I get the following error when trying to edit the page where the PageTableExtended is being used. Page '/en/trash/1743_content-block-36/' is not currently viewable. The only way to allow them to edit the page again, is to go into the trash and restore the deleted content block back to it's original location (the "Content Blocks" folder). Thanks for any help!