Jump to content

Peter Knight

Members
  • Posts

    1,384
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Peter Knight

  1. That's very cool - thank you I won't be able to use this without hearing the music :-/
  2. Hi I have this really stubborn issue which has gobbled up my evening. It's clearly a caching issue or a .htaccess but nothing seems to resolve it. I have a site on domain.com and VPS 01 Because I want to develop some ideas on a separate test server, I made an exact copy of the site and database onto temp-domain.com and VPS 02 Any template and include changes I upload to VPS 02 are not showing up. The templates files are on the VPS 02 server and the file manager confirms this. However VPS 02 ProcessWire install is clearly reading files from VPS 01. To confirm this I make a small change to the footer running on VPS 01. I reload VPS 01 and VPS 02 and both sites show the updated footer. These are the steps I've taken to clean things up. disabled ProCache cleared the site>assets and site>cache folders ensured that both config files have the proper httpHosts set but somewhere, VPS 02 is getting it's base path from VPS 01 Furthermore, I can confirm this by viewing the source and mouse-over a CSS file. The root host path is displayed as domain.com/path/to/file for a split second before it displays temp-domain.com Any ideas? Both sites have the same database name, userAuthSalt, user login etc etc so there's lots of room for error. I saw a post regarding running PHP as an Apache Module instead of Fast CGI. This makes no difference to my issue.
  3. Hmm, thats an interesting thought. I'll have a look later. There would probably be no batch controls but it's an interesting approach.
  4. Would love to see following features in the admin Comments field type. Ability to display more than 10 comments at a time This could be a setting in the field type itself? Ability to bulk - manage comments This could be a checkbox to the right of every comment and a way then to bulk-action These are a clients wish. We moved his site recently to PW and he has approx 6000 comments to moderate and a very active commenting audience. He was on WordPress for years, moved to MODX and now is running ProcessWire. He loves PW btw - this is literally the only admin feature he misses.
  5. Theres a nice Plesk Extension now for Lets Encrypt
  6. Thanks for making this Adrian. Just used it for the first time and worked great
  7. Public Beta opening today apparently. Anyone planning on making HTTPS their default from here in?
  8. I don't have screengrabs right now but I was uploading several staff photos this evening. Has anyone experienced an issue whereby uploaded (drag and drop) images become desaturated slightly? It's quite subtle but noticeable enough when viewed side by side with original image.
  9. I like this approach. HannaCode is an integral part of most of my sites but I find it easier to upload chunks of code via my FTP editor. And by using a proper text editor, I have better syntax highlighting etc. I put them in a sub-folder just to keep them separate from main templates include($config->paths->templates.'/chunks/get-client-logos.php'); Only problem I have is ye olde recursive Body not working unless I manually update the Module.
  10. I think I had the same problem recently. I'll trawl through a project I had in progress and see how I solved it. You basically want to allow clients to apply a link to an image. The link around the image would direct front end users to an internal page. On the Admin side, you're using the pageselect field to achieve this. Any code examples and screenshots of the Admin for us?
  11. Got it - thanks
  12. Hi guys I'm using Batcher to batch remove all pages that meet certain criteria template is news_item old_url doesn't contain "news/" I can do the opposite of the above and find all pages that do contain "/news/" template=news_item,old_url*=news/ There doesn't seem to be an API call for finding fields that do not contain or do not start with a string ? There's something close: != Not equal to (any_field!=any_value) which I use as follows template=news_item,old_url!=news/ but this doesn't work. It pulls in pages with and without my selector criteria and I'd probably prefer does not contain as opposed to not equal to Not posting this in the batcher forum as it's a general selector query. Any pointers grateful accepted
  13. Is the other domain for a business in the same industry? Just trying to establish if this is a genuine mistake. You could also consider that someone did a deliberate point to harm your rankings? Duplicate content etc?
  14. @Diogo Linode looks very interesting. I signed up for an account and setup a Linode just to test it. It looks like most of the server admin etc is done via SSH though? My own short coming but I prefer a GUI.
  15. Thanks @OrganizedFellow I'll check them out.
  16. Hi folks Anyone here using a VPS for their hosting and have positive experiences? Looking for for the following. * VPS hosting * UK or Europe based * SSD based * possibly managed Thanks
  17. Hi guys I have a Comments field that refuses to notify my client of new comments. Initially I had my own email address followed by a space and then his email. That worked (for me) and I successfully was notified of comments. The notification field now contains ONLY his email address . He assures me nothing is reaching him or his spam folder. I've also quadruple checked for typos. I'm wondering if this is happening because he is an editor and not an administrator? I'm also wondering if I should have WireSMTP or similar installed? I don't think it's this as I had been notified without any WireSMTP etc installed. I'm running 2.6.21 dev with the latest comments upgrade.
  18. If it's template files you want to edit directly within the Admin, there is a Module available http://modules.processwire.com/modules/template-editor/
  19. Cue lots of forums members checking their in-progress sites But seriously - Welcome to the forums and PW.
  20. I've a blog setup which contains tags and categories related to posts. Tags and categories are both Page fields with option to add new page(s) from their fields. If I create a new post I will usually create some new tags and cats and then save the post as unpublished while it goes to review. Unfortunately, although my post is unpublished, my tags and cat pages go live on the main blog immediately. So even though my post isn't published, we have a selection of tags and cats which users can click on. I guess my request is for some kind of in-built dependency engine here that would realise my main post isn't unpublished and therefore not publish the dependencies (cats and tag pages) related exclusively or created solely for this post.
  21. Thanks. I completely take your advice. At the moment I'm just showing some content for myself while I develop a new part of a page so this will work great.
  22. Thanks apesia. So simple! Now that I know where to look, I notice that here is a $user->name property. Can't I do this? if ($user->name("Peter")) { echo "Hidden content"; } or refer to a user by pageID if ($user->id("41")) { echo "Hidden content"; } I'm not at my installation right now.
  23. Hi guys I'm attempting to do something new (to me) in PW and a search is coming up blank. I suspect I'm using the wrong search terms. I'd like to create a simple content block that is only shown to distinct PW users. The overall page itself would be public and viewable by anyone but there's a particular DIV which only shows to PW user X or Y. Can someone point me in the right direction? I thought this would be session based but having searched the forums and Google I'm coming up with results on hiding back-end content etc instead of front in within public pages. Cheers P
  24. Click the little icon above the top right of your last image. Looks like a list icon. Once the images are displayed in a list you should see a recycle bin icon.
  25. Can I suggest a Bulk Actions mechanism for comments which I think is really useful. I relaunched a new ProcessWire website yesterday and we had approx 350 comments overnight. Client has been asking if he can bulk manage them as his previous CMS allowed this.
×
×
  • Create New...