Jump to content

Juergen

Members
  • Posts

    1,221
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Juergen

  1. I dont know what you exactly need in your guestbook but why dont you use the comment field as a guestbook? You can style it in the way you want with overrides.
  2. Thanks for your answeres - I guess the CSS solution would be the easiest in this case.
  3. Hello @ all, General question: CKEditor provides the ability to upload images directly in the editor. On a page I have 2 image upload fields - one should be for uploading images via the editor, the second one is for an image gallery. By clicking the upload button in the editor the 2 upload buttons will be displayed - the one of the gallery and the other one for the editor images. I only want that the upload button for the editor images will appear and not the one for the gallery. Is that possible. Best regards
  4. If area size is used to control the dimensions it would be difficult to create an error message. If specific sizes are used for portrait and landscape format it should be no problem. With php you can check if the image is in portrait format or landscape format and therefore you can output the specific message. "The size of the uploaded image is lower than the allowed size of 400px/600px. Please upload a larger image". And no I dont think that this procedure is complicated for clients. This is what I did at the moment. But my goal is that the images in the lightbox view should have approx. the same size. I dont want one picture with 400x400px and another with 400x600px in the lightbox view. I want to achieve more consistency. That was the reason for this posting.
  5. It would be great to add this module as part of the core image field: https://processwire.com/talk/topic/8079-imagefocusarea/ It is very useful especially if you are dealing with portrait images of person (fe teammembers). Best regards
  6. You are thinking one step forward Of course restricting by area makes sense to allow different formats in a specific area dimension. Thanks for the input.
  7. New bug? If the image field is loaded via Ajax then the click of the focus-link will be redirected to the homepage instead of opening the image in modal frame. For explaination: I have an image focus area field inside a fieldset. I have decided to show the content of the fieldset only if i click on the fieldset and the content will be shown afterwards via Ajax. In PW you can choose under the fieldset setting tab when to show the content (open, open only if there is content inside,...). If I choose to show the content via Ajax the image focus area field doesnt allow to set a focus area. After clicking the link I will be always redirected to the homepage. If I change the fieldset status to something without Ajax (fe always open) the image focus area field work as expected. Maybe this could be a bug if other users have the same problem. Best regards
  8. It would be great if the minimum dimensions of uploaded images could be set differently for portrait and landscape format and not only in general. In my case I have added a lightbox on the frontend for the uploaded images. So if an image is in landscape format it should has a minimum width of 600px (and a proportional height of approx. 400px). If I upload an image in portrait format it should has a minimum height of 600px (and a proportional width of approx. 400px). The reason is that all images should have approx. the same size for the lightbox view. I run into troubles if I add minimum dimensions of height and width at 600px, because a portrait format in the dimensions of height:600px and width:400px will be abortet, because the min. dimension for the width is set to 600px in this case. For the lightbox view the size of the image would be ok. At the moment it is only possible to add height and width minimum dimensions for the image in general. So a sepearate setting field for portrait and landscape formate would be great. Best regards Jürgen
  9. I dont know which JS causes FEEL not to work properly. I deleted some JS which works with onload property and my aim was not to make FEEL work - it was a positive side effect. So I didnt take care of the JS names and functions - I only deleted some of them.
  10. Maybe there was an JS conflict that makes FEEL working not properly. I have deleted some JS files that I dont need anymore and now FEEL works as expected.
  11. After installing it crashes my site. I always get an error 500 (frontend and backend) Error: Exception: You do not have permission to edit this language (in ......./web/wire/modules/LanguageSupport/ProcessLanguageTranslator.module line 79) I was logged in as superuser. What can I do? Best regards Edit: I deleted the files via FTP and now I can login as usual and the frontend will be displayed as expected
  12. I will try that tomorrow and post the result here. Thanks for your effort Best regards
  13. Yes this file is also added at the end en m\u00f6chten?"}</script><script src="/site/modules/FrontEndEditLightbox/FrontEndEditLightbox.js"></script></body></html>
  14. Maybe I have done something wrong, but the edit link will not be displayed, because it is set to "display:none!important" inside the added <feel>-tag. Jquery is loaded. Also the other files (modal.js and fredi.js) are loaded as well. Link is included in the template via echo $page->feel(array( "text" => "Edit this page", "class" => "fixed left" ) ); Are there further steps required to make the links appear? Best regards
  15. Does no one have this problem too?? Rendering of form in frontend doesnt grab the settings made in backend. I have upgraded to 2.6.22 dev but same result.
  16. Hello benbyf, I have tried the demo at http://bbstarter.nicegrp.com/ If you use the search it leads to an error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged. Best regards
  17. Independent if the backup is created manually or via cron job - same result. Best regards
  18. Hello @ all Strange behavior: Upgrading to dev version 21 (comments with star rating), doesnt grab configuration settings - star rating field and URL field will not be shown if set to yes. This ist the frontend with renderAll(): As you can see no star rating or URL field will be shown. Does anyone have the same problem?
  19. I have upgraded PW to the latest dev version (21) and now I get the following error if I want to open a backup: Error: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? (in /home/.sites/24/site1275/web/wire/core/Selectors.php line 283) #0 /home/.sites/24/site1275/web/wire/core/Selectors.php(320): Selectors->create('0', '', ':7232549db11.sq...') #1 /home/.sites/24/site1275/web/wire/core/Selectors.php(115): Selectors->extractString('0:7232549db11.s...') #2 /home/.sites/24/site1275/web/wire/core/Selectors.php(104): Selectors->setSelectorString('0:7232549db11.s...') #3 /home/.sites/24/site1275/web/wire/core/Pages.php(213): Selectors->__construct('0:7232549db11.s...') #4 [internal function]: Pages->___find('0:7232549db11.s...', Array) #5 /home/.sites/24/site1275/web/wire/core/Wire.php(397): call_user_func_array(Array, Array) #6 /home/.sites/24/site1275/web/wire/core/Wire.php(332): Wire->runHooks('find', Array) #7 /home/.sites/24/site1275/web/wire/core/Pages.php(320): Wire->__call('find', Array) #8 /home/.sites/24/site1275/web/wire/core/Pages.php(320): Pages->find('0:7232549db11.s...', Array) I dont know if the error exist only after the last upgrade or if it occured earlier. What does this error message means? Does anyone have the same problem? Best regards
  20. Hello kixe, yes you are right, it is Ryans ProcessDatabaseBackups, which is responsible for the backups. So your module does the job quite well - the module creates a new backup after the time period I have choosen. It seems all ok unless I click on the backup to open it, then I get the error message (also at backups which were made with the latest dev version) - I will post this problem in the general section. Best regards
  21. I have upgraded PW to the latest dev version (21) and now I get the following error if I want to open a backup: Error: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? (in /home/.sites/24/site1275/web/wire/core/Selectors.php line 283) #0 /home/.sites/24/site1275/web/wire/core/Selectors.php(320): Selectors->create('0', '', ':7232549db11.sq...') #1 /home/.sites/24/site1275/web/wire/core/Selectors.php(115): Selectors->extractString('0:7232549db11.s...') #2 /home/.sites/24/site1275/web/wire/core/Selectors.php(104): Selectors->setSelectorString('0:7232549db11.s...') #3 /home/.sites/24/site1275/web/wire/core/Pages.php(213): Selectors->__construct('0:7232549db11.s...') #4 [internal function]: Pages->___find('0:7232549db11.s...', Array) #5 /home/.sites/24/site1275/web/wire/core/Wire.php(397): call_user_func_array(Array, Array) #6 /home/.sites/24/site1275/web/wire/core/Wire.php(332): Wire->runHooks('find', Array) #7 /home/.sites/24/site1275/web/wire/core/Pages.php(320): Wire->__call('find', Array) #8 /home/.sites/24/site1275/web/wire/core/Pages.php(320): Pages->find('0:7232549db11.s...', Array) # I dont know if the error exist only after the last upgrade or if it occured earlier. What does this error message means?
  22. Strange behavior. I have the following settings in my Details Tab: German: %e. %B %G English: %e %B %G A slightly difference - German has a dot(.) after %e - it outputs all in correct language: German: 22. Oktober 2015 English: 22 October 2015 Try it with this date formats and see if the result are the same as in this example. Best regards Jürgen
  23. Hello @ all, today I am struggeling with the deletion of empty repeater items after saving in the backend. Explaination: Imagine you are adding an additional repeater item in your form in a page via the "Add button". Then you forget to fill out this item so it is empty. After submitting the form the empty repeater item is still there because you did not deleted it with the basket symbol (deletion) Goal: In theory it must be possible to create a hook that checks the repeater items for content and delete the empty items after saving. At the moment I dont know how to check if an item is empty or not. I know how to delete fields in the repeater item but not the complete item itself. Can anyone point me into the right direction? Best regards
  24. At the moment I dont use functions to create a menu out of the page tree, because you are more flexable. In most cases the menus consist of not so much items. If you use the pagetree to create the menu you are in a fixed structure. With manual writing of the menu you could change the markup, you can show only the items you want, you can easly integrate icons to each menu point,.....all without problems. So its quite worth to think over if you really need a function for your menu. Best regards
  25. Same problem here, but with image focus area fieldtype. https://processwire.com/talk/topic/8079-imagefocusarea/?p=103424 I use the latest php version. Best regards
×
×
  • Create New...