Jump to content

bernhard

Members
  • Posts

    6,671
  • Joined

  • Last visited

  • Days Won

    366

Everything posted by bernhard

  1. Thx for the clarification @adrian. Ok, if the usecase fits it seems to be a good solution, but I wished there was a good way to have better and easier control of which pages are shown inside the admin or inside the tree. Taking care of all that tedious stuff (search, pagination etc).
  2. So are you trying to use FrontendEditing as some kind of form-replacement? Don't know if there are any limitations in the number of currently logged in users or any performance issues...
  3. thx @adrian. I knew about AdminRestrictBranch, but he'd need to setup the structure so that all of the user's data is under one branch, correct? Is it still a "hacky" solution? I remember that you discussed with ryan about the numchildren that was not hookable at that time. Did anything change? Would it be easier nowadays to just hide certain pages or do you think AdminRestrictBranch is still the best (only) option?
  4. so maybe you could just log them in after they entered the correct ticket id?
  5. May I ask WHY you want to allow a not-logged-in guest user to edit your pages? ?
  6. hey @webhoes you get some informations here: Unfortunately it does not seem to be so easy to get a solution that works everywhere (in the tree, in search results, etc). Maybe @adrian has some new information on that topic? Maybe it's easier to stay in the frontend in your case, since it seems that you already did quite a lot there. I don't know. Of course it is also possible to do the image upload from the frontend. You need to provide a better explanation of what is going wrong then.
  7. Yeah but you introduced another option. The best option would be a combination of both ?
  8. Don't know of a built in way. But it would be easy to do with a little javascript. At least if the field is not loaded via AJAX (only collapsed is fine). $('.Inputfield_pageref label').append(' <span>(' + $('.Inputfield_pageref .asmListItem').length + ')</span>'); Of course you'd need to update that count on several events, but that should also be quite easy ?
  9. Don't understand that part That's why I would recommend doing it the other way round: Stay in the backend and modify it to your needs. It's really simpler than you might think. And of course a lot safer! For example I don't see any access control checks in your upload scripts... You don't need to care about that in the backend. Just use PW's internal access control system and you're done. But of course you can also do all that from the frontend. Don't want to convince you. It's your choice ? A better explanation, screenshots, copy of logfiles etc. would help... Once more: I think it is really a lot easier to create custom admin pages (processmodules) and using all the pw features (fields) than creating a custom frontend. But if you really want (or need) to stay in the frontend I'm sorry, I can't help ?
  10. I'd highly recommend to stay in the pw backend if possible. What is the reason for using the frontend? If you are inside the admin it should be easy to resize the images after they where added: if you are uploading lots of large images you might need to implement some kind of queue though...
  11. Sorry to hear that. It's all about using the right RockFinder and sometimes it's easier/necessary to populate hidden fields with hooks to efficiently query the data. Did you try RockFinder Tester? Once you have the right RockFinder you can do everything that aggrid can do. Using it as a page selector needs some additional (but not complicated) javascript, though.
  12. @BFD Calendar you can also use RockGrid to select Pages. It should be able to handle 100k pages and you could even add images just like in the screenshot of kongondo's module above
  13. jep, just take care when using AJAX loaded fields. if you add your JS via a ::render hook it will not get loaded. You need to load it via ::renderready
  14. OK i understand ? I just didn't get that it was a snippet and "wasted" time to read your post and try to help where actually no problem existed and thought you might save others from that by naming it more obviously..
  15. could you please mark this as [tutorial] or could an admin move it to the tutorials board? thx
  16. Hi @torf, welcome to the forum ? thx @Macrura, indeed it looks like my fieldtype could be helpful here, but it has some limitations! This could already be one of the limitations. The data is stored as JSON in a textarea, so searching could be from easy (if you only search for fulltext) to nearly impossible (if you want to filter for specific products and properties. Another limitation (possible problem) of the fieldtype is that it is very inflexible when you want to change the rows/columns. Imagine You setup a field with columns Product A, B, C and you want to add column A2 between A and B - that would mess up all existing data or you would need to write a script to update all occurences. So, it could be an option, but you could also have a look at this other option that might be a better fit:
  17. Ok, I got some updates on this module. I wanted to implement support of multiple forms on one page because I need to add a newsletter subscription form on one page using my module and right now this is not possible. Unfortunately this task is not trivial and I hope to get some help by you guys ? maybe @tpr @Robin S or @gebeer have already done something similar? Please see the explanation of the issue in the Nette Forum: https://forum.nette.org/en/30969-multiple-forms-on-one-page-standalone-version Edit: seems to be solved - got a reply instantly in the nett forum ? BTW: I decided to remove the branding from the module ?
  18. @fl0eck found the simplest fix ? I just had to add width:100% to one parent div
  19. Thx @Tom. your solution works. Not sure what we'll do, because there are also some other bugs on IE11 that I'd have to fix. IE11 usage is <3% worldwide...
  20. Great work! I prefer the default uikit theme but just gave it a try and everything worked. Here's a kickstartfile if you want to use PW Kickstart to try it out quickly using PW Kickstart:
  21. Thanks for your help @jmartsch ! I renamed all references to FieldtypeRockGrid, so it should work now without renaming the folder. Thanks for that hint! Maybe someone wants to create a PR for the problem of installations inside a subfolder - I don't have any need for that and therefore will not implement it. At least not soon. I created a screencast of a demo installation via PW Kickstart, the Kickstartfile is here: https://gitlab.com/snippets/1732038 ; Of course you can also install everything manually.
  22. you can also use ?field=yourtab to show only the fields of this tab. I'm using this sometimes combined with the pw side panel edit: this only works with custom fieldsettabs, but maybe you can list the fields one by one, like ?fields=yourfield1,yourfield2
  23. When saving the admin remembers which tab was open (only on non-ajax tabs unfortunately). You can link directly to one tab by appending the id like this: .../page/edit/?id=123#ProcessPageEditSettings
  24. Hi, I have a problem on this site with IE11: http://www.hrdiamonds.com/ueber-uns/ that's how it looks like: And that's how it should look: Any help is highly appreciated ? Thanks!
  25. https://www.cockos.com/licecap/
×
×
  • Create New...