-
Posts
21 -
Joined
-
Last visited
Everything posted by planmacher
-
module Pages Export (export PW 2.x - import into PW 3.x)
planmacher replied to kongondo's topic in Modules/Plugins
Hi, first I thought everything works well, but then I recognised, that there ist a problem with image description fields. No matter what I write in the description - there ist always some error like: Unknown Selector operator: '[empty]' -- was your selector value properly escaped? field='Unser', value='Igel aus dem Bi', selector: 'Unser Igel aus dem Biotop, sort=sort, parent_id=1016, templates_id=43' I even made a test environment and updated the pw version to 3.0.200. Then I tried the core export feature but it throws the same error! Am I doing something wrong? Anay way to skip the description field? -
Client side image resize - wrong dimensions
planmacher replied to planmacher's topic in General Support
Shame on me - and in good old german: Wer lesen kann ist im Vorteil ? So this can be closed! Thanks! -
Client side image resize - wrong dimensions
planmacher replied to planmacher's topic in General Support
Thanks - I found this out a few seconds before your post ? But I don't understand it. Because the image ist only about 500kb. Perhaps you can explain this behavior? -
Hi! I just installed a new and clean pw 3.0.200 and use the client side image resize for an image field. Minimal width has to be 1800px - minimal height 800px. Now - when I upload this image with 1920 x 1282 Pixels ... processwire tells me, that the image is too small in dimensions. So the image seems to be resized without any reason. Any ideas??? Thanks!
-
module Pages Export (export PW 2.x - import into PW 3.x)
planmacher replied to kongondo's topic in Modules/Plugins
Hi, I have to export some pages from a 2.8 installation to processwire 3. Is this module a possible way to do this? Thanks for any help! -
Hello - Thanks for your great module! I have a special need for the side, I'm working on right now: Is there a possibility not to show the "result_summary_field" in the rendered results, but the 'near' content of the search-match in the search field itself - with the match highlited? So lets say there is this content in the search_index field: ' Hey - this is just a simple little test for the search engine!' I am searching for the phrase 'little'. The rendered result now should show me lets say: '... just a simple little test for the s...' To be honest: My php-skills are not that good to understand all the files of your module - but as far as I can see, I am afraid that it will not be possible in an easy way to change the code for my needs!? Thanks for any reply!
-
Hey! I just installed this module on a fresh PW 3.0.123 Everything works fine - thanks for that! Little Issue when the size of the description field is set to "0": After upload of an image, the input fields of the extrafields also are missing - only the labels are visible. After first save everything works correct! Hope, this was not discussed before ... - thanks for any help!
-
Delete Icon on inputfield type file not working
planmacher replied to planmacher's topic in General Support
Yes, that's ist. Thanks alot! -
Hello, I am using PW 3.0.62 and have trouble with inputfield type file. After uploading a file the icons for deleting and moving-up are lying over each other - so deleting is not possible. Found this problem in two different installations - so I think its a bug?! Any help? Thanks!
-
Thanks alot and please excuse my late response!! You are right - not a good Idea - I realised it by myself, that there is an new repeater Item created by opening the input mask. Nevertheless its good to know, how to do it - will give it a try - and its great to see, that there is such a great community with a lot of help here.
-
Hi! Hope somebody can help me ... I don't want the user to have to click on the "add new repeater item link" but would like to open it automaticly when loading the edit page. (Best would be, if this only happens if the new item would be the first item) Tried to do it with triggering the click of the add-new-item-link with javascript. But this does'nt seem to work. My java script knowledge is really poor :-( Or do I just missed something in the settings of the repeater-field??? Thanks for any feedback!
-
Hello, very stupid - sorry! I played arround with permissions on system templates - now I cannot login anymore. Always get redirected to 404 Page. Even more stupid: Can't really remember what I did last. Tried to give a special role access to the roles Page. My thought was, that I would have to give this role access to the system templates (roles/admin/...) , but this did not work. So I set everything back to its default. At that time I did something wrong. Frontend is working fine - backend allways 404 Page PW Version 2.7 As I said: Very stupid. Any suggestions??? Thanks alot! Edit: Helped myself by restoring a database backup ...
-
Thanks everyone for help and explanation. Everything is working fine with ready.php! So I will use this for my ppurposes...
-
Thanks netcarver - this works! Cann you please give me a little explanation about the differences between admin.php and ready.php. Because on "https://processwire.com/api/hooks/" I found this: if you are defining hooks specific to the ProcessWire admin, you should define them at the very top of the /site/templates/admin.php. And that is what I tried to do - adding functionality to admin pages ...
-
Hello, I am new to hooks... - so help is very appreciated! Found a lot of examples for hooks but not for hooking from the site/templates/admin.php. What would be the right syntax - for example i have tried this at the top of admin.php: $page->addHookAfter('render', 'testFunction'); function testFunction($event){ // add a "Hello World" paragraph right before the closing body tag $event->return = str_replace("</body>", "<p>Hello World!</p></body>", $event->return); } But nothing happens. Also tried it with wire()->addHookAfter('Page::render', 'testFunction'); What is wrong?? Thanks for helping!
-
Very appreciated! Sent you PM ... I am very new to PW - so perhaps I am thinking/doing something wrong very basicly. Thanks!
-
Hello and thanks for reply! So again... Module User: Hometemplate: And the name of the "projekte" page is really "projekte". Tried it even with another role and template name. Always the same: The permissions to the user are the same for all the pages. Anny ideas??
-
Inputfield Dependencies: Hide field by path
planmacher replied to sarah_hue's topic in API & Templates
Sorry for late resonse!! And thanks for the link - I will give it a try!- 10 replies
-
- Inputfield Dependencies
- path
-
(and 1 more)
Tagged with:
-
Hello, I can't get this module to work - perhaps you can help me. I have a very simple page tree: All of the first level pages (under "home" ) have the same template. So it is not possible to restrict a branch via user roles. But AdminRestrictBranch sholud do this... - but how? Lets say I woluld like to restrict the user "test" to the branch "projekte". So in the module under "how to match user t branch" I choose "Role Name: Then I add a new role "projekte": Which boxes do I need to check there? Then I add this role to the user "test: What do I have to set in the template options? Are there other permissions the user should get in oder to get this module to work? Whatever I tried - the result is: The users have same permissions to all the first level pages in the tree. Would be great if you can give me some help ...!
-
Inputfield Dependencies: Hide field by path
planmacher replied to sarah_hue's topic in API & Templates
Hello - I am new to ProcessWire and would like to go that way ! Defining the hidden field is no problem. But where to hook into page::saveready ? Example would be very appreciated!- 10 replies
-
- Inputfield Dependencies
- path
-
(and 1 more)
Tagged with: