Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by spacemonkey95

  1. Hi, I'm wondering if it would be possible to have multi-language support for the 'simple table' field? I am running a website which provides software tutorials which need to be multi-lingual. I am currently able to provide this for all text and text-area fields which apply. The only field which doesn't support it is the Simple Table and it would be very helpful if I could add multi-language for this so that the entire page is displaying correctly. Thanks
  2. Hi guys, Thanks for your replies. To be honest, once I thought about it, I can't remember why I was trying to avoid the language specific URLs so I've gone with that method after all. I found a snippet of code on one of the related threads in this forum and it seems to work perfectly so that's great. Thanks again 🙂
  3. Hi, Firstly, I have looked through the whole Multi-Language Support forum for an answer to my problem but I haven't found anything that's quite what I'm trying to achieve, so apologies if I'm duplicating here. I have a website which is mostly viewed by guest users. I'm in the process of trying to add multi-language support so I can present text articles in English or French, depending upon the choice of the guest user. I have worked out how to use multi-language text fields in the backend Admin area, and I can manually switch between how these fields are displayed on the front end by editing the following line of code in my page: $user->language = $languages->get("english"); Switching "english" to "french" there correctly changes the fields which follow into French. My problem is this: I want guest users to be able to click a button to select the language in which they view the site, but I don't want to use /en/ or /fr/ in the URL to achieve this. Essentially, I want a button which changes the line of code as above. Can anyone talk me through the code I need to include to achieve this (assuming it's possible)? Oh, also I've read carefully through the Multi-Language Support API page and there's a paragraph which touches exactly on this area ("However, we are assuming you want to use language fields for the purpose of having multi-language versions of your site available to anonymous visitors. There are a large number of approaches you could take."), but unfortunately its link to examples of how to achieve it goes nowhere (https://processwire.com/api/multi-language-support/multi-language-fields/#examples). Thanks everyone 🙂
  4. Hiya, I'm looking forward to seeing the newest version of Media Manager with the upload directly from CKEditor feature. Having used the module on my site for a few weeks, it's becoming clear that with the number of images I'm using (it's a document library so there are hundreds and hundreds already), it's becoming unmanageable to use Media Manager, even with the ability to filter by tags. There are a number of different people using the system so it's chaos at the moment. With this in mind, would it be possible to add the ability to create folders for various groups of images? That way people could upload to a folder specific to their document. Obviously they would still be able to filter globally by tags or titles or whatever, but it would make the starting point so much easier to manage.
  5. library.clickteam.com isleofelyartsfestival.org.uk secureyourfarm.co.uk terismyth.com
  6. Hi, that's great! I think we'll manage until then, but that will definitely help us in the long term. Thanks again
  7. For my particular project it would be a fantastic feature, at least to have the option to enable it. I have a number of people adding documents to the site, almost all of which will require images as you go along, so it would make it so much easier. Let me know what you think. That aside, it's a fantastic module and has made the process of creating my project so much easier than using the standard PW images. Thanks for your hard work and continuing support on it.
  8. Ah, I think maybe you misunderstood my question. I have already been able to insert images from Media Manager using a button on CKEditor, that works fine. What I'm asking is whether it's possible to click on the CKEditor menu button and be able to UPLOAD new images from my computer to Media Manager. Otherwise I have to upload all the images I need before starting the page, or have a 2nd tab open with Media Manager in it.
  9. Thanks for your quick reply. Sorry I missed those parts in the documentation! That has solved the problems. This seems to be a really cool module, I'm glad I tried it. I have just one more question: is it possible to upload images to the Media Manager from within the CKEditor button?
  10. Hi, thanks for your reply. The options shown in your gif aren't visible to me, so I'm unable to filter by tags. Do I have an older version installed? I only added it a few days ago. I have another question that's just arisen too. I have superuser rights to my site, but I've assigned limited 'author' rights to another user. When they click on the Media Manager button in a CKEditor field, they get an 'Unrecognized path' error message with 'The process returned no content' underneath it. But it works fine for me. Do you know why this might be? Is it a permissions thing? If so how would I solve it? Thanks
  11. I have just purchased and installed Media Manager and I have an immediate couple of questions which will determine whether it's actually useful enough for my requirements: What is the purpose of the image tags? Will it be (or is it already) possible to filter images by a specific tag? I would like to be able to add a whole bunch of images and tag them as 'icons', so that I can filter by that specific tag to see those images only. If this is not possible, perhaps there's a way to achieve the same result which I'm missing. Please could you help? Thanks.
  12. Thanks, I agree that >5.4 is ideal, although that is currently out of my control on the particular server I'm using. Hopefully I can get around it without you having to update the module.
  13. Ah, that might be it. I'm on 5.3.10. I can't currently update but I might be able to switch server. I'll let you know how I get on. Thanks for your reply.
  14. Hi, I've added the base Selectize module from http://modules.processwire.com/modules/jquery-selectize/ but when I add it to my modules folder on my processwire site it completely breaks the site just by existing in the folder! I get a 500 Internal Server error and I've tried deleting and re-adding the files to double-check and it's definitely being caused by the Selectize folder. Any ideas what's happening? Is there a problem with the source files?
  15. Thanks Macrura, this might be a more elegant solution! I didn't know about Selectize.js and it wouldn't have occurred to me that it could have been used for this! I'm just reading more about it to see if I can figure out how to use this for my requirements.
  16. Hi all, I wonder if there is any progress on Jonathan Lahijani's suggestion of having a Hanna Code button in the CKEditor toolbar? I'm having the following problem and this might be a handy solution to it:
  17. Hi Robin, Thanks for the reply. You're right, of course. I was getting myself muddled up and I'd forgotten the Table is a Profield.
  18. It's occurred to me that adding to this existing thread might have been the better option for seeking a solution to my problem. I've already created a new thread so I wonder if it's ok to post a link to it here in case anyone who might know the answer will be more likely to see it here...
  19. Does anyone have any ideas on this one? I haven't solved the problem and could really do with finding a way around it. Thanks
  20. Hi all, I've got a Table field on one of my pages. The first column requires the use of Hanna Code so I can add custom icons to the table cell. As per the settings for that particular field, I've set the textformatter option as TextformatterHannaCode (as the screenshot will show, for this particular field it's not possible to just select text formatters from a select dropdown. Instead I have to type in the value). Now, if I manually type in my HannaCode label (e.g. [[icons_copy]] ) then it will output correctly onto the page, but I need to also have the HannaCode selection menu which normally shows up in CKEditor when right-clicking in the textarea field. Does anyone know how I can achieve this? Do I need to apply a different setting in the Settings area as shown in the screenshot?
  21. Never mind. Figured it out seconds after posting that. As you were.
  22. I've just added the Reno theme to my admin. It came up in the Modules list so I installed it there, and I can adjust the few settings on its page, but nothing's changed. It's still showing the default admin theme. I've tried logging out and in again and used a different browser, just in case it was a caching issue, but still nothing has changed. Any ideas what's going on?
  23. Thanks for the replies. I've looked at the details and Repeater Matrix seems perfect for what I need. It's a shame it's part of the ProFields package but having discovered just how good PW is I don't mind throwing some money towards it. I'm really excited about how awesome this finished project is going to be now!
  24. Thanks, I had looked at those but I was struggling to understand how they work. Could you explain how the page-table facility would accomplish what I need? Also, I think the Repeaters facility could be a way of doing it. If I create a template which contains a field for Task Description, Note, Tips, Images and Questions and load that into the Repeater, can I just ignore each instance I don't use. So I might add 5 instances of the template, but maybe only 3 of them contain a Note, 4 of them contain Tips, etc... stuff like that? Will the PHP ignore empty fields if I tell it to?
  25. Hi, Sorry for another 'noob' question. I've done a lot of reading and looking at tutorials to try to get my head around how PW works. I think I'm getting there but I'm struggling with a key part of my project design. Essentially, my project is to create a site which holds tutorials for a game design software product. Here is an example of the kind of tutorial I am using: http://www.clickteam.com/creation_materials/tutorials/faultyflap/en/step1.php As you can see, the information there is quite unstructured. I want to make it more structured which will involve showing each 'Note' inside its own styled box. There may also be other types of information like Tips and Questions which should also have their own styles, and each tutorial page might have numerous different Notes, Tips, and Questions (or not) so I can't just run a simple loop. So my question is this: how would I best do this in PW? It seems like I'd have to make a Page for each instance of each type of information and add them as children to a parent tutorial Page. This seems a laborious way to create each page (and I need to be able to allow other people to do this as well as me). Any ideas of how I should go about this please?
  • Create New...