cjx2240

Members
  • Content count

    38
  • Joined

  • Last visited

Community Reputation

6 Neutral

About cjx2240

  • Rank
    Jr. Member

Recent Profile Visitors

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

  1. cjx2240

    Is there a colorpicker that allows you to pick from anywhere on your page? Is such a thing even possible?
  2. I couldn't at first til I realised I needed to enable debug on the central site. Maybe I just need right folder permissions on the folder where the js goes? Error: Uncaught exception 'ProcessWire\WireException' with message 'The combined js file can not be written. Check if the script has sufficient permissions.' in /home/othersite/public_html/site/modules/AllInOneMinify/AllInOneMinify.module:483 Stack trace: #0 /home/newsite/public_html/index.php(315): AllInOneMinify::JS('script.js') #1 {main} thrown (line 483 of /home/othersite/public_html/site/modules/AllInOneMinify/AllInOneMinify.module)
  3. Can anyone tell me please, if I load Processwire from another site using require('/home/othersite/public_html/wire/core/ProcessWire.php'); $site = new \ProcessWire\ProcessWire('/home/othersite/public_html/site/'); What do I need to change <script src="<?php echo AIOM::JS('script.js') ?>" type="text/javascript"></script> to, in order to get it to work? At the moment it just causes an error.
  4. cjx2240

    What's causing all my tweets to get truncated? $tweet[text] is trimmed at a set length and then outputs a link to the rest. Edit: The reason for this was that you need to request with tweet_mode => extended to get the new character limit from twitter. I was having a few other issues with this seemingly abandoned module and I needed this quickly so I ended up using another twitteroauth script instead and making my own. I assume to edit this into the module you'd add $params['tweed_mode'] = 'extended'; In MarkupTwitterFeed.module before the request on line 143, but I haven't tried it.
  5. Brilliant Module, very glad to have it.
  6. cjx2240

    Same thing happened on my Invision forum and I was really unhappy with it! I sympathise.
  7. cjx2240

    Thanks @abdus that looks great. Actually I was in a rush and I decided I would have to accept having a "/holding-page" and just used $session->redirect() but if I get a chance I will definitely change to this so I can be on "/"
  8. I've made a temporary new page on a new template, I want to redirect all traffic to this for a while, whilst making the url just be "/", what's the cleanest way to do this please?
  9. FieldsetPage seems like the perfect answer to this question I posted a little while ago, is this the kind of situation it was done in aid of? What I had been doing til now (based on chatter in that thread) was making RepeaterMatrixes, creating all the repeater items using a super user, then restricting access to the "move/copy/new" etc controls using CSS.
  10. I have updated mystyles.js to include another row with another style I have saved the file path in my field options I have cleared cache, refreshed, tried different browsers but nothing makes this list change: I also tried giving the file different name, and a different string within the file (still matching the filename, or not) The only way I could get it to work was by deleting the path in the field option and modifying mystyles.js in /wire, but obviously this isn't ideal.
  11. cjx2240

    Updating RepeaterMatrix from 0.0.3 to 0.0.4 resolved the issue, thanks.
  12. cjx2240

    Unfortunately, this just completely broke the field edit page for me!
  13. Thanks, you helped me find a bug in my own code that resolved my issue
  14. I am using this in a function on two websites. However on the second site, it returns nothing unless I am logged in in the front end. I'm assuming this must be some issue with permissions but I can't seem to track it down, everything looks the same between the two. Guests have only the standard permissions and "view-pages" is ticked - and the template of the page in question (and its parents) has no individual rules set. Anyone have a guess they could point me to?
  15. I tried this and it worked great! Thanks. I put it in admin.php. I targeted RepeaterMatrixes where the name ended in _fixed, as that appears as a class around the item. For anyone else who wants to use this, it's worth noting that it's important to have some if statement, if you just load it on every page you will get js errors when the file is called by ajax (eg image upload) I still think there's a place though for a simple field that contains fields, without allowing you to make as many as you want. It could also have the option to be put into tabs the way fieldgroup start/end currently works.