Recently Browsing 0 members
No registered users viewing this page.
I'm using some Custom fields for images:
When I save the page, and return the fields are blank. When I re-add the text to the fields and save again then the fields save as expected.
I know this is stated as being quite experimental but it's super useful feature I'd love to get working correctly.
I have fields that are CKEditor fields but have overidden this on the image specific template. I've also tried it with regular text fields and I get the same bug.
(currently using Processwire 3.0.155)
I've found this issue is specific to editing on pages using the PageTable fieldtype. The fields are not saving when I save the page in the PageTable.
I recently added the PW Comments module to a site. Right now I have it set up to moderate all comments. I have Akismet turned on and the Akismet key entered.
Today I received a comment with probably 50 links in it. I'm wondering why such an obvious spam comment wasn't flagged immediately as spam.
Is there anything I can do to tighten things down to weed out obvious spam?
By Rhen GWL
I'm trying to install comments on two of my clients' websites. In both cases, I'm able to display the comment submission form, but the form submissions are not being saved or display. Once I click the submit button, I'm directed to the homepage where #CommentForm is appended to the end of the URL. I have looked through countless forums and Google searches, but I can't find any advice that has fixed this issue. I have followed the instructions from https://processwire.com/docs/modules/guides/comments/ exactly as described, and I'm getting no where.
Like I said, this is set up on two different websites and I'm seeing the same issues with both. I assume it's some issue with connecting with a database, but I don't see anything in the instructions on PW's website that says I need to do anything there.
I'm rather new to PW. (And loving it) I have installed PW3 with the FrontendUser module. I tried the standard simple script and that worked. But now I want to add some custom fields that are in my user templates. I have created a page-field called userparent where you can choose another user. I don't know if this is relevant.
The answer is probably on this page: https://bitbucket.org/pwFoo/frontenduser/wiki/Code snippets / Examples
"Add custom form field with hook after field processed
Add an additional form field to the registration form with field processing (add value to user object) inside your template file."
But I'm having difficulty implementing the script due to my lack of knowledge. I keep getting internal server errors. How and where do I define the custom fields I want to make available in the form? I'm not extremely good at PHP but know more than the basic stuff.
I hope someone can help me out.
I'm building my homepage, it contains ~60 custom fields (lines or words I define & translate in the admin in different languages).
The homepage is dynamic and my users are logged.
I'm trying to avoid many MySQL queries to retrieve the fields I've setup in the admin, I think I can do better than 60 different queries to display that content on the home.
Regarding performance, will markup cache a good approach here ?
I understand it makes sense when you have a scrolldown menu which is built within a loop for example but is it still good if I cache 60x a word or a group of words in my code ?
Another idea I had was to dynamically determine which language is used by the user and load a language file which contains the translated text (uk.inc.php) and so on... (less elegant I think, but I'll use that anyway for dynamic expressions such as "you have %nb items in your cart").