Recently Browsing 0 members
No registered users viewing this page.
Is there a way for us to replicate the "http://mydomain.com/processwire/page/edit/?id=xxx" and change the template to match my site template?
I'm terribly happy with the admin / backend page edit. It covers literaly everything I want to empower my non super admin user in updating pages such as validation, repeater management, file upload.
I wish not to allow the users to see the backend for both security and aesthetic reasons.
Thanks and hope to hear from you soon.
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/'); ?>
(SOLVED) Strange Error Uploading Image (SQLSTATE: Warning: 1265 Data truncated for column 'ratio' at row 1)By EyeDentify
Hello dear PW gurus.
I have stumbled over a strange error that i all of sudden got when trying to upload an image to a images field on a page.
There where images allready stored in the field that i wanted to keep, but during the upload the error apear and after that all images are gone from the field and i can´t upload any, i just get the error every time.
I am running ProcessWire 3.0.153 dev.
After looking in the assets folder i find the folder for the page and the image files seems to be there including the ones i tried to upload when the error occured.
But they don´t show up in the images field in the page editor.
The error reported:
SQLSTATE: Warning: 1265 Data truncated for column 'ratio' at row 1 And here is a screenshot of the event:
The TracyDebugger Error reporting:
I hope you fine folks could point me in a direction.
But it seems our old pal set_time_limit() is back.
I'm having a strange issue with the $page->find(), for some reason I'm missing some of the pages from the results. I found then that I was missing all the pages with the same "PAGE NAME". Is it a bug or am I missing something?
If I change the "PAGE NAME" of one of the missing ones then I'm retrieving the page without any problem.