Jump to content

Smirftsch

Members
  • Content Count

    14
  • Joined

  • Last visited

Community Reputation

4 Neutral

About Smirftsch

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I want to use the WireFileTools $files->find function, but no matter what I try I only get a server error (either error 500 or "Call to a member function find() on null"). If my understanding of the docs is right, I only need to call it with $files->find($somepath); - but is there some include, some init or something else needed? Obviously I am missing something, maybe someone can enlighten me.
  2. sometimes one is missing the most obvious... πŸ˜‰
  3. Thanks, but its not images for the most part, it's mostly .zip and .7z files- other than that this method would be really nice πŸ™‚ After some more reading WireFileTools seem to be able to do what I need, but I am unsure yet how to use it. I'll ask in another post about it.
  4. I have a page I want to migrate to PW and it contains big download sections with hundreds of files. The files are in directories on the server already, what is the best approach to get them in a page? Is there some method I missed? Are there any plugins? Or would it be best to do with a filemanager for ckeditor? Any advice is very welcome.
  5. Thanks! I came across this page already and none of the mentioned things have been working. That's why I was asking here, I assumed there could be some kind of setting in PW I missed maybe. Of course it is possible that such changes are not supported by the server, but then I am wondering how other tools like Wordpress are bypassing such limits. Either way, if this is really just being limited by PHP settings I still can contact my server host. Any more information is very welcome πŸ™‚
  6. Using the files field I came across the limitation: "File is too big - maximum allowed size is" - in this case 32MB - when trying to upload a file. Where is this limit defined, can it be increased? I read some, but couldn't find a specific answer.
  7. Got this the morning: Question is, are such attacks known and how likely are they? I highly doubt it, since there is nothing of use in this database anyway and it very much seems it was just sent using the contact form. Related to that- it might be best nevertheless to change database password, is there some documentation on how to do that properly?
  8. Thank you very much for all the information, going to check these πŸ™‚
  9. Is there any kind of forum module/plugin ? I mean there is this support forum here, but I can't find anything related to make one myself, how is this one done? Any advice is very welcome!
  10. Thank you very much πŸ™‚ - it looks like I would have complicated things, glad I asked. Going to try that.
  11. Hello all! I am building a page for one of my clients and he wants to restrict content for a specific domain name. The .com has to show all pages and children, but the .de domain is supposed to show only a few pages/children of the .com domain. It is a multi language page and the ability to switch languages should be kept as well. Are there any recommendations or even modules how to do such a thing? I was digging the forums but haven't found anything so far. Perhaps I am just missing the right keywords only πŸ™‚
  12. To answer the question myself, in order someone else may find this useful: It was "convert div tags to paragraph tags" blowing up on me. Thanks nevertheless πŸ˜‰
  13. I've got some odd problem adding additional styles to mystyles.js. After reading some and following the article here: https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/modules/Inputfield/InputfieldCKEditor/README.md#custom-editor-js-styles-set I was able to add a custom style. So far so good πŸ˜‰ It is displayed in the Styles menu and can be selected there. Now the odd thing starts, if I add a custom style like this: ... { name: 'Box Top', element: 'span',attributes: { 'class': 'box_top' } }, { name: 'Box Bottom', element: 'span', attributes: { 'class': 'box_bottom' } } it works and can be selected just fine. However, if I add this: { name: 'Box Top', element: 'div',attributes: { 'class': 'box_top' } }, { name: 'Box Bottom', element: 'div', attributes: { 'class': 'box_bottom' } } It is also displayed, can be selected - BUT - once the edit is saved, it is gone, won't be displayed in the page and won't be shown anymore in the editor as selected style, it goes back to "normal". Can anyone give me a hint what I missed?
Γ—
Γ—
  • Create New...