Jump to content

kongondo

PW-Moderators
  • Posts

    7,529
  • Joined

  • Last visited

  • Days Won

    161

Everything posted by kongondo

  1. @Chris Whissen, Welcome to the forums. Glad you are finding the module useful. Does any of these conditions (see the @note) apply in your case?
  2. @bmacnaughton. That's not what I meant. What I meant is that ProcessWire offers you a number of tools to sanitise values. Depending on whether you are a frontend developer vs, say, a module developer, you will probably be using a subset of tools more than another subset. In other words, at the end of the day all input should be sanitised; the tools you use will vary depending on the job at hand.
  3. @vanderbreye, Glad you like the module. Interesting thought. It would require a change in the database schema though, so would have to think about it carefully. Maybe add an option configurable when setting up the field indicating whether the extra descriptions input. The multi-language aspect of it is what I have no idea how to implement but it doesn't sound like a simple undertaking. Does it mean several inputs, one for each language? In that case it seems it is easier to just use pages (current setup) and have you multi-language descriptions there (text fields).
  4. Tom, why? Is there no room for 3rd-party Admin Themes in the future available via the modules' directory? You know how it is with subjective preferences; some people will prefer Reno others will prefer the new default theme (when it comes out) . Just wondering....
  5. I am wondering if maybe it's a similar situation to this one? (i.e. it's not possible without some verbosity as ryan explains here in response to a filed issue).
  6. That's PHP complaining that you do not have enough memory (you have 32MB). To be honest, I am a bit baffled by this since it is happening on install as opposed to during some image manipulation or similar process when editing a page. Other than increasing the memory size available to PHP, e.g. to 128MB, I am clueless. I'll let others more knowledgeable chime in. Edit: What's your server environment? You can now turn off that debug as well
  7. Hi @Alfonso Rodriguez. Welcome to the forums and ProcessWire. Is this a remote site or on a local install? In your /site/config.php, set the following: $config->debug = true; That will show if there are any errors. Please note that the directive may show some information that is only intended for superusers. So, if you are on a remote/live site, I'd only show that to superusers. If that is your case, let us know so we can show you how to go about it. If you have debug on, do you see any errors? What do they say? Did you see any warnings (red) during the install Process? E.g. ProcessWire complaining about a requirement not being met Is the frontend working? What is your server environment like? PHP and Apache version? or a Windows environment? There's a couple of topics around 'blank' screens but not sure which one applies in your case. Here's a couple: https://processwire.com/docs/install/troubleshooting/
  8. @Martin Muzatko. This might be of interest?
  9. Not repeater specific, and I haven't tested with repeaters, but one option could be the pro module Dynamic Selects.. http://modules.processwire.com/modules/process-dynamic-selects/
  10. What @LostKobrakai said. Here's an example: https://processwire.com/talk/topic/9730-get-pages-used-by-a-pagefield/?do=findComment&comment=97464 Use that in your 'custom PHP' for returning pages for that page field.
  11. Hey @Christoph. There was no inconvenience and no need to apologise . It's just that a properly formulated question not only helps those who can potentially come up with a solution, but also those who might have a similar problem in the future will be able to easily relate. Glad you got it working and thanks for sharing your solution!
  12. Templates need to be coupled to fieldgroups (which need to be created first). I see that your module is an autoload module...was that intentional? Anyway, what the others said. If you need to look at a complete example, here's some code from the Blog module installer.
  13. Thanks for the explanation .
  14. Sorry, wasn't clear. Where, exactly (file) is the script? Did you create a module? Did you edit a core module? Basically, how are you adding the script to your modal page. Thanks.
  15. Glad you sorted it out. I'm curious though, where/how are you including your script above?
  16. Works as expected for me (gmail, chrome). Just to let you know that Pete is pretty tied up at the moment but he hopes to be back soon to sort out stuff. He is not ignoring these stuff .
  17. Mod Note: Moved this to Off Topic > Dev Talk since not strictly a PW question.
  18. OK. To help other members help you, please: Describe your situation better. Saying you 'experienced the same issue but the other thread had a different topic' is hardly enough to go by. E.g. PW versions, what role(s), etc? Link to the 'other' thread. I had to Google to find it . This is the other thread. Show us some code. What have you attempted so far? Thanks.
  19. So why start a new thread about the same thing ? I'm merging the threads unless I'm missing something?.
  20. I'll have to study this first. It's been a while since I developed the Breadcrumb component of Menu Builder .
  21. Welcome to the forums @Sahil. I have moved your topic to 'General Support'. If however, you are referring to the module Menu Builder, I will move your topic to its support forum and answer you question there. Please confirm.
  22. I get you now, my bad. If you want to avoid reloading the whole page, then the only way to refresh only 1 field is via Ajax. I did something similar on some custom Fieldtype (for a client), although not triggered via a modal. In this case though you will be refreshing a page field..specifically a PageListSelectMultiple. Hmm. Doing it via a modal seems to be the secondary issue here. How to do it in the first place, is the main thing . Maybe if you looked at how that field is normally populated by ProcessWire, that can give you an idea. If you can send JSON (or XML), then it's just an issue of telling jQuery (or raw JS) how to rebuild that PageListSelectMultiple. Maybe I am not thinking this through properly. There could be other ways. I'm having a very slow Monday ..can't think clearly.
  23. Yes it is possible. Example here from the Blog module. Where you put the code, though, depends on your setup. This page being opened via a popup, is that a normal page or some module's page?
  24. ...and we'll be here to help! Please have another go and let us know how it goes .
  25. No need to wait for a day. Go to your module in the repo, click button to edit it and immediately save; (no need to edit anything actually). Voila, it is updated in the repo! .
×
×
  • Create New...