Recently Browsing 0 members
No registered users viewing this page.
i have a question regarding the following scenario:
My customer wants to edit a menu card of a restaurant website directly in the frontend.
Each dish / menu is displayed in a row with 4 simple textfields (position nmbr, name, quantity (optional, for drinks) , price).
My customer preferably not only wishes to edit/update existing fields/rows, but also add a new one, delete one, or move an existing one up or down to a new position in the card.
Would these actions be possible per default in the frontend edit mode, if i'd have e.g. a table profield storing the 4 textfields per dish? Or is this only functional in the backend?
In a demo video of a Profield (-> fieldtype table) i saw the requested edit functionality (edit or add a row of fields, drag a row up/down, delete a row, safe) in the backend...
Btw., regarding this concrete use case of a menu card: Would i have to use at all a Profield like table or could i accomplish the task also with a Repeater Field or a Pagetable fieldtype?
In any case at least i don't want to let my customer mess around with a richtext field / inserting a table within CKEditor in the backend...
Maybe there are better approaches than the above mentioned.
Edit: I should add, that the site is a static one, equipped with an meanwhile dysfunctional inline frontend editor (that had the capabilitiy of editing, moving, deleting such rows directly inline in the frontend). Now i want to replace this editor with processwire.
Thanks in advance
this is my first topic and I need to say thanks to @ryan and all the other contributors for this incredible framework that changed my life as a web dev!
But now I go to the point. I developed a project with pw 2.7 and it worked like a charm.
Today i'm trying to update the project to pw3 on a local environment, to test that everything will continue working after the upgrade, and that's not the case.
The major bug I'm encountering is that repeater field doesn't work properly.
Existing Repeater field
This is what I see when I try to edit a page that already has a repeater field (Brand concepts) with some elements:
If I click on one of the "... blocks" nothing appens.
New repeater field
If I create a new repeater field and assing it to a template, when I open a page with that template I see the new repeater field, but the "Add new" link, to add a new element, doesn't work. I click it and nothing appens.
I never had this kind of strange behaviours in PW, and this is one of the reasons why I consider it the best cms/framework I've ever used.
I hope you can help me.
I'm using Processwire 3.0.61 with the site-regular profile and am in the process of browser/device testing for the template I'm working on.
I've managed to get a consistent displaying of the site across Firefox, Google Chrome, Internet Explorer, Opera, Safari (both Windows and Mac checked but not Linux, yet) and Android (portrait orientation on SIII Mini).
When I initially switch to landscape orientation on the SIII Mini the layout is consistently retained. I'm assuming that is because the device initially zooms the page rather than redraws the screen. However, as soon as I click on the menu icon the screen is redrawn in such a manner that the body of the template is offset by what looks like +10px or so (right and down) pushing the whole of the content off the screen to the right as well as down. Interestingly the shadow on the banner background image (set to fill width of screen using the cover attribute) remains in place where it should be. But there is also the wierd artifact that any horizontal rules appear twice (once where they should be and once offset again by what looks like the same amount as mentioned above).
Nothing I've tried in terms of CSS3 has any effect so far. I'm wondering if anyone else has come across this issue. If so, could it be related to the UiKit3 css/js code?
Any help would be appreciated.
I was wondering if anyone has successfully integrated Securimage with Processwire 3.
I've tried the suggested fixes posted here, but I haven't managed to get the captcha image to display. This might be because the instructions relate to Processwire version 2.x where I am working with version 3.
Any ideas/steps what to do would be appreciated.
I've separated the header and footer information from the _main.php (_header.php and _footer.php). This works fine with any top level page but any page children are rendered without the header and footer information. When I add includes to the blog-post.php, for example, and try refreshing the page the following error is returned:
The line of code being referred to is:
echo ukBlogPost(page()); Could this error be being generated because I am working locally using MAMP?
Any assistance would be greatly appreciated.