Jump to content

jploch

Members
  • Content Count

    118
  • Joined

  • Last visited

  • Days Won

    1

jploch last won the day on October 26 2016

jploch had the most liked content!

Community Reputation

74 Excellent

About jploch

  • Rank
    Distinguished Member
  • Birthday 05/02/1985

Contact Methods

  • Website URL
    http://janploch.de/

Profile Information

  • Gender
    Male
  • Location
    Hamburg, Germany
  • Interests
    Webdesign, HTML/CSS, jQuery

Recent Profile Visitors

3,340 profile views
  1. Hey folks! Here is another question: I need the AsmSelect to use the same order as the page tree. In the dropdown list the order is fine, but when I add a new page/marker it gets added at the bottom. I don't need the manual sorting, because I want to use the pagetree to sort the markers. Iam not experienced with hooks. Can someone point me in the right direction, where/how to change the sort of the AsmSelect?
  2. Hey folks! For a project I am working on, I use the nice Image Marker Module. This Module uses AsmSelect, to add the markers. Each marker is a page. Now I need the AsmSelect to use the same order as the page tree. In the dropdown list the order is fine, but when I add a new page/marker it gets added at the bottom. Iam not experienced with hooks and I could not find the line in the AsmSelect Module netcarver described. Can someone point me in the right direction?
  3. This module is really nice! I also need float values for the coordinates, to make the placement of the markers more accurate. I did everything Torsten suggested, but my values are still int: I changed the DB and the module files (FieldtypeImageMarker.module: line 341 + 342, InputfieldImageMarker.module: 251 + 252). And in the js I removed the "Math.floor" on line 307 and 308. What else is there to change? BTW. I think floats are a better default that int, because the markers should be accurate. Maybe this can be changed in a future update? EDIT: I Solved it now. You also need to change ImageMarker.php on line 41 and 57.
  4. This is an interesting topic! Iam a designer that learned to code and PW really helped me improving my coding skill. I don't want the client to control the layout/design to much. In my experience this results in clients messing up the design of the website. So the functionality to change the design should be configurable to a certain role. But I would like a way to change the layout of my blocks in the backend without touching my template code. Ideally in a WYSIWYG way. So I would like to only have one template for all my pages with blocks that I define. A workflow that would make sense to me, and would save me a lot of time (for larger websites with a lot of different layouts per page): 1. The client would add blocks to a page, which layout in a default way (that I define). If the default way is not good enough, proceed to step 2-4 2. The client saves the page without publishing 3. I would edit the design right in the PW backend and show it to the client. 4. The client approves the design and the page gets published I implemented a solution using blocks with PageTableExtended and it worked quite good, but had some things that could be improved, like ajax editing the content, without the need of opening a modal to edit the content. I will make a post on my use case soon. Looking around in the forum I also found this post by Theo (he uses a WYSIWYG wich is far superior to mine from a usability standpoint): Demo: http://theowp.bplaced.net/upload/pics.html http://theowp.bplaced.net/upload/prev3.html
  5. This worked for me. Thank you for the update!
  6. Thanks for looking into it! I set autoload to true, but its not fixing my issue. After testing I found out that the issue is caused by this line in my templates for the blocks that being referenced: if(empty($options['pageTableExtended']) && empty($options['pageStack'])) throw new Wire404Exception(); So I removed it and its working fine. but now my PTE blocks that are stored under admin–>siteparts are viewable on the frontend for everyone. I don't want these pages to show up in search results, are there any other things I ca do to prevent that?
  7. template for block with page reference field: if($page->block_page) echo "{$page->block_page->render()}"; And on my template to render the site with PTE: $content = ""; if(count($page->pagebuilder)>0){ foreach($page->pagebuilder as $l){ $content .= $l->render(); } } include("./_main.php"); $content is a variable in _main.php where the whole markup for the site is rendert. (All blocks for PTE are stored under admin->siteparts. They are configured to automatically get a title)
  8. Yes I mean page reference field. There is only one PT/PTE field on the page. When I remove the $page->block_page->render(); from the template for that block (with the page reference field), everything is working fine. I use the page reference field to add blocks that where added to another page with PTE, so that the blocks can be reused on another page. Hope that makes sense to you 🙂
  9. I managed to render blocks from page reference fields inside PTE. In my template for the page reference block I render the page like this: $page->block_page->render(); But when I save the modal after I add/change a block I get the error and the changes only appear after I save the page with the regular Save button from the page: Failed to ready module: FieldtypePageTable This only happens if the PTE has a page reference block. Any Ideas why this error is happening?
  10. Thats fine with me. If I use Mamp with PHP 5.6 this issue is solved. No worries! Keep up the good work! Looking forward to use this one day 🙂 I still have no clue what stops the markup regions from working though.
  11. I changed the PHP version to 5.6 and these errors are gone now. However my markup regions seem not to be working. But when logged into the admin everything on the frontend works fine. When logged out I get an error saying "no regions" and the site is messed up. Iam about to give up on this and just use the site profile exporter for now 😞
  12. The installation worked that way. But Iam still getting errors on the frontend saying Warning: preg_replace(): JIT compilation failed: no more memory Any Ideas, what is causing this? When I use the site profile exporter and install the profile everything is working fine.
  13. I had the same problem a couple of times now. For example when I try to install a backup of a live site on my localhost (Running on Mamp) or an a web server I always get the error config file cannot be found. The issue happened in the installation process after entering the database data and proceed. Maybe this is happening when the website is in another subdirectory and not the web root? The duplicator always makes a subdirectory when unzipping the files and then looks for the config in the root folder. After I manually change the config file, the site was showing up and I could see all the content in the admin, but had some strange errors on the frontend.
  14. Take your time. Maybe release it as a commercial profile/module in the future. I wouldn't mind to pay for it, at a reasonable price Cool! Swiss graphic design kind of invented the idea of a grid system 🙂
×
×
  • Create New...