Jump to content

Peter Knight

Members
  • Posts

    1,384
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Peter Knight

  1. I completely forgot about the dev/staging/live workflow too. +1 for that That's a great source of inspiration. I particularly like the detail and options within that Addon such as 1. Pre-saved migration profiles 2. Push / Pull and Export options 3. Push / Pull site URL and secret keys etc etc I found a few more such as Craft Migration Manager and MODX Cloud have a very easy site inject service although it doesn't give you many options re. which tables, fields etc to import. Just a small point about GIT. I know many of you guys are very comfortable interacting with the CLI and GitHub. Some of us here wouldn't be as strong in that regard so it'd be great to see integration with GIT but not so great if the Module depended on it etc.
  2. That's an amazing list of 2017's features. Seeing them in a single place makes you appreciate how lucky we and our clients are. Thanks for another incredible year of updates. I imagine everyone's wish list is different. This is what I'd like to see natively in PW. I know some of these are already available as Modules so no offence if you're reading this and have already put tons of work into creating something similar. Processwire Multi-Admin A Processwire dashboard which allows me to monitor multiple installs across different servers. This dashboard would list my installs, version number, and display available upgrades (Module and Core) and allow me to update above from central place. It might show me logged in user(s), uptime etc. Media Manager A built in MM which acts as a single place to manage all uploads. Using the MM you can find, list and edit any uploaded file/image. and its versions. Add tags, crop, delete, rename, copy, bulk upload etc Furthermore the MM should work with user permissions so a MM for me might list different assets than an editor etc Importantly, the look of the MM would be consistent with what's already in place and the new UI Kit theme. SEO A native SEO Module that is maintained and updated as modern SEO evolves. Image Cropping Pre-set image crops and a way to define and manage them. That's it :-/
  3. In the screengrab attached my header is grey and has a height of 40mm. The text reading 12345 and everything after that is not part of my header and is wrapped in a DIV. Is there some trick to getting the content to start below the header and not overlap as such? My actuall CSS is very simple right now with only the header having a height. I could always give the body an absolute position but thought I'd ask first.
  4. What happens if you create your own index.php file. Does that also prompt a download? Will help isolate if this is a server or a htaccess or PW issue.
  5. Hey @szabesz That's interesting. I wonder if it's working for you in that manner because you're using the root dbuser and the IP etc. Who knows ! I too don't *really* need to try run PW on Synology. I have a few "proper" servers so it's more for my own fun and curiosity but that info is helpful. Good to know it works too as I ran into issues with my htaccess file and general permissions. Otherwise I love the Synology NAS. It's probably the best thing I've ever purchased for my office. Backups, streaming, file sharing etc etc. It's all there. Running a PW site from it would be the cherry on the cake.
  6. On the screengrab below, are the dots before the paths typical or a misconfiguration somewhere? I don't recall seeing them on other new installs.
  7. If you're trying to install ProcessWire on a Synology NAS using the WebStation service, please refer to notes below. I've created this mainly for web searches. I'm going to assume that you're at the installation screen and the first issue you'll have is trying to connect to a database. There's 2 things here you need to note MariaDB is running on Port 3307. You're probably used to running on port 3306 and this might even be what the installation screen pre-populates The Host field must be set to localhost:3307 and not just localhost
  8. Hi @mhamurray Can you recall the steps you took to get PW installed on a Synology NAS? I'm having issues at the moment connecting to the database and would be interested in the steps you took. MariaDB 10
  9. Tons of reasons really. It comes down to what you're used to. A lot of the big 3 Devs I know are older, experienced PHP types. They started using Wp,J and D when the CMS market was a lot lot smaller. There was less choice and they used what was available. Over time newer CMSs have surfaced but transitioning to these represents challenges in re-learning, re-training etc. Even is a new CMS looks more elegant and a better fit, there's still a risk factor. Better the devil you know... as the saying goes. Even the ones who do make the change bring a lot of technical baggage and expectations. That's why you'll see a lot of posts starting with "Does PW have an eCommerce/SEO/ user/membership" plugin etc. They're looking for a familiar path to a new destination. In most of these cases, there are modules available but perhaps not the range of plugins etc they're used to. Looks scary..back yo WP, J, Drupal. There's also a lot of visibility for WP,D and J in the industry. Especially on the client side of things, a marketing manager writing a brief is more likely to request the big 3 because that's what they've heard of. If that's where the demand is and you don't feel you can argue a different platform, that's what developers will stick with or flock to. Lots more reasons. Don't forget the resources that these 3 CMS have behind them too. They have bigger marketing budgets, more developers, bigger social media presence too.
  10. For the front end? There was a thread a few weeks back on the subject. Can't locate it now but this was one of the solutions highlighted. https://select2.org/ It's very easy to configure and get running.
  11. I had the following info from Ryan when asking him about customizing the admin. I'm sure he wouldn't mind me sharing although the info is from end Sept so I don't know if it's all still applicable.
  12. Thanks guys. Got it working. New to Cron but it was easy enough to figure out on a VPS ?
  13. If I want this backup task to run every day at X pm/am I correct in thinking I require PWCron Module and I need to paste the appropriate command into the PWCron Modules to run field 4 0 * * * php /var/www/vhosts/mydomain.com/site/modules/PwCron/cron.php >/dev/null 2>&1
  14. You mean @flydev
  15. Finally working - thanks for the help. Steps to resolve. 1. Use normal FTP mode instead of FTPS or SFTP 2. In the host field I was using ftp://hostname.ddns.me instead of just hostname.ddns.me 3. Use passive mode as you suggest Thanks again. Really nice Module you have there. I normally do backups to a VPS because it has inbuilt drop-box backups. However it's getting to be an expensive entreprise so storing them on my own NAS like this will really help. Looking forward to DropBox integration too. I notice it's temporarily parked.
  16. @fly Yes - Most likely. Thanks for spotting that. I only have the following protocols enabled enabled on my destination so if It can connect on FTPS then it could be a port number issue? FTPS (port 21) SFTP (port 22) I turned on normal FTP mode and had more success but not 100% success 2017-12-27 10:07:11: - job finished in 34.438614sec 2017-12-27 10:07:11: [FTP] error: cannot upload file <2017-12-27_10-06-37-www.mysite.com.package.zip> on server. 2017-12-27 10:07:11: FTP: starting upload of /var/www/vhosts/mysite.com/httpdocs/site/assets/backups/2017-12-27_10-06-37-www.mysite.com.package.zip 2017-12-27 10:07:11: FTP: directory listing of BackupFolder successfull. 2017-12-27 10:07:11: FTP: retrieving directory listing of BackupFolder... 2017-12-27 10:07:11: FTP: directory listing of ShareFolder successfull. 2017-12-27 10:07:11: FTP: retrieving directory listing of Sharey01... 2017-12-27 10:07:11: FTP: logged in. 2017-12-27 10:07:11: FTP: connection established. 2017-12-27 10:07:11: FTP: connecting to domain.ddns.me:21... 2017-12-27 10:07:11: - package saved in local folder: 2017-12-27_10-06-37-www.mysite.com.package.zip
  17. @horst The server running Processwire installation: PHP: 5.4.37 OS: CentOS 6.3 (Final)‬
  18. I'm trying to use the FTP backup function to a server and repeatedly get an error in the logs. 2017-12-27 09:30:11: [FTP] error: cannot connect to <sftp://domain.ddns.me> on port <22> I've checked and double checked my credentials and have 4 separate FTP applications here open and connecting with the same details. Have also tried and re-tried a combination of regular FTP mode, port 21 V 22, passive mode etc. Are there any know FTP issues reported?
  19. Merry Christmas everyone.* Have a wonderful holiday. I hope you get to down tools and take a well deserved break from the computer ... OR ... just keep at it and learn something new. * everyone who celebrates it
  20. Cue lots of PW developers wondering how much work it'd be to create a PWforum module over the Christmas
  21. Hey I just checked and it doesn't seem like that's possible right now. If you're referring to the paid FormBuilder module, you might want to ask on the official VIP FormBuilder Support area? https://processwire.com/talk/forum/18-form-builder-support/
  22. I have the following code which creates a 2 column div. In the first I check to see if there are any images present and only echo an image if there is. If I don't do this, I get an error. But I was wondering if there was a more efficient way to do this? I don't know the proper terminology but I suspect breaking the code into three parts as I have done ... First - the first <div class='uk-width-1-2@s'> Second - the image check Third - the final div ...is somewhat more verbose than it needs to be with more modern PHP <?php $imgoptions = array('quality' => 100,'upscaling' => false); $products = $page->siblings("id!=$page"); foreach ($products as $prod){ echo" <div class='uk-width-1-2@s'> "; if(count($prod->images)){ echo" <a href='$prod->url'> <img class='lazyload prod-thumb-ov' src='{$prod->images->first()->height(300, $imgoptions)->url}' data-src='{$prod->images->first()->height(300, $imgoptions)->url}' data-srcset=' {$prod->images->first()->width(414)->url} 414w, {$prod->images->first()->width(320)->url} 320w' data-sizes='auto' alt='{$prod->images->first()->description}'> </a> ";} echo " </div> <div class='uk-width-1-2@s'> {$prod->title} </div> ";} ?> Thanks
  23. Nice site. Funny coincidence but the day before your post I picked up a nice bottle of Cloudy Bay Pelorus here in Sydney.
  24. That's my mistake. Thanks
  25. Is the template name a value which I can display? I've read the API docs re. template names and tried a few things including below but nothing works so far. Template is: {$page->$template->name} FYI I'm building a small 'helper' section in a footer which is only visible to admins and it will display page ID, template name and a link to edit the page. Everything working apart from displaying the template name.
×
×
  • Create New...