Peter Knight
Members-
Posts
1,377 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Peter Knight
-
Ftill looking into this. Might be next week before I can really dig in but I'll report back. Thanks for the great tips. My own feeling is this is the result of cloning another localhost site and changing some hostname settings and database stuff. I've a *feeling* PW admin is hanging somewhere in the background as a result of a bad config. Should know next week
-
Are you using DSM 5.1? Synology have a few options for you. 1. Backup to Amazon S3 2. Cloud Sync to G Drive, DropBox, Box, etc
-
Nothing of note. Optimizing those blog tables seemed to have an effect and it's noticably faster now.
-
Yep - am talking about the admin / backend and not the front end. I do have Debug Mode Tools enabled. If I look at the Timers accordian for example, here's my output. These don't seem excessive and if I add them up, don't reflect the true sluggish nature of the site. boot 0.5370 - includes all boot timers boot.load 0.4946 - includes all boot.load timers ProcessPageEdit.execute() 0.4698 page.children(parent_id=3, check_access=0, sort=sort) 0.2274 - 5 page(s): /processwire/page/list/ ... /processwire/page/image-crop/ boot.load.fieldgroups 0.1840 boot.load.modules 0.0718 boot.load.fields 0.0585 boot.modules.autoload.ready 0.0189 boot.load.pages 0.0181 boot.load.templates 0.0155 page.children(parent_id=22, check_access=0, sort=sort) 0.0152 - 11 page(s): /processwire/setup/template/ ... /processwire/setup/batcher/ ProcessPageView.getPage() 0.0113 - /processwire/page/edit/ page.children(parent_id=2, check_access=0, sort=sort) 0.0108 - 5 page(s): /processwire/page/ ... /processwire/blog/ boot.modules.autoload.init 0.0067 pages.get(path=/processwire/page/edit/, status<9999999) 0.0064 - 1 page(s): /processwire/page/edit/ pages.get(name=page-publish, sort=sort, parent_id=31, templates_id=5) 0.0023 - 0 page(s) boot.load.permissions 0.0022 page.children(parent_id=28, check_access=0, sort=sort) 0.0022 - 3 page(s): /processwire/access/users/ ... /processwire/access/permissions/ boot.load.users 0.0007 boot.load.roles 0.0006 boot.load.fieldtypes 0.0005
-
What's the best way to diagnose this and is there anything I should be looking for? I have a Diagnostics module installed and have a few notifications about optimizing blog tables. 9 seconds to expand one of my trees which has just 3 child pages. Saving, opening or editing a field or template takes between 5 to 9 too. Background / tech info The site is a duplicate of a previous site I completed so initially I wondered if there were any corrupt modules or templates etc. Having had a check, all the original modules and templates are installed fine. It's a 2.5.15 site running locally on PHP 5.6.2. I know it's Friday and my Mac and I are tired but 9 seconds is taking the biscuit
-
Time machine to the rescue 100% of the time, I'm just applying the field to a single template but this sounds like an interesting challenge. I won't have a chance next week but shortly afterwards, I'm definitely interested in wireframing up some options. Would they be best uploaded here or PM'd to you or Ryan?
-
Add Adrian's ProcessTemplateFieldCreator for quick access to create new fields in ProcessTemplate. Add new InputfieldIcon module, which enables visual selection of font-awesome icons. You'll see this used in both ProcessField and ProcessTemplate (advanced tabs). I figured there will be plenty of other use cases for this too, like the icon selection in AdminThemeReno and SystemNotifications modules, among others. Agh. Just tried an upgrade and hosed my site. I'll have to come back to this. So it sounds like we can setup new fields when creating a template? What about the opposite - assigning a template when creating a field?
-
LOL. I'm on 2.5.15 I'm running out the door but THANKS! Will try this tomorrow
-
Still thinking this is badly missed from PW. When creating a field, it's natural to want to assign it to a template. @apesia is right that we'd need to consider the field order.
-
Cheers Ivan. I'll try it that way. I got used to doing one way and then they changed it ...
- 2 replies
-
- Foundation
- SASS
-
(and 1 more)
Tagged with:
-
I noticed an echo statement was coded incorrectly and yet it still worked Any ideas why the project_managers field outputs properly ... <?php if ($page->projects_managers){ echo "<strong>Project Managers:</strong> $page->projects_managers </br>"; } else{ echo ""; } ?> ...when it should probably be as follows (concatenated) <?php if ($page->projects_managers){ echo "<strong>Project Managers:</strong>" . $page->projects_managers . "</br>"; } else{ echo ""; } ?>
-
Does anyone here use Foundation 5 and CodeKit 2 and SASS? Things have changed since v5 was released and I wanted to sanity check my setup and my understanding of it. In CodeKit 2, I've created a Foundation project and pointed it at a folder called Foundation within my site/assets/scripts directory. _settings.css (foundation > scss) This is the place to make fundamental changes to the framework. IE change the background color or base font size. This is then compiled by CodeKit 2 into a file called: app.css (foundation > css > css) This file should be referenced in my HEAD as follows (your paths may differ) <!-- Foundation 5 --> <link rel="stylesheet" href="<?php echo $config->urls->site; ?>assets/scripts/foundation/css/app.css"> Previously I'd created a file called foundation-custom.css at the end of my HEAD and used that for custom over-rides. With Foundation 5 and the _settings.css, is this bad practice or no longer necessary or not important?
- 2 replies
-
- Foundation
- SASS
-
(and 1 more)
Tagged with:
-
I caved and ordered that DS415+. Ouch but YAY. Can't wait to try it. Love Plex too btw.
-
For the synology fans out there, the new DS415+ has much better specs. Better CPU and a healthy amount of RAM. https://www.synology.com/en-global/products/DS415+ I'm sorely tempted to Amazon uk one over here but the Euro to GBP conversion isn't great right now. Still I've added and removed it from my basket about 10 times this week. Must be driving their analytics and cart usability analysts nuts.
-
Mate, you're the one that started most of that back chatter I was talking about
-
@dazzyweb Exactly. Glad I'm not the only one. There's been a few PMs doing the rounds on various industry topics. I've been involved in a few but heard of others so there's clearly an appetite for it.
-
Any thoughts on having a private general discussion area on the forums for members that meet certain conditions? For example, members with 200+ posts etc? It could be called Private Pub or something. It's not so much for PW questions but general industry chat which you don't want public on the forums. Use case: I had a general client/freelancer question today which I didn't want to be public. That type of thing...
-
When you say "button" are you referring to a button on the front end of your site? I'm assuming you have multiple buttons and each button is related to a category? Probably a question for the Dev forum but here's a jQuery example of what I think you're trying to do. http://isotope.metafizzy.co/filtering.html
-
I hadn't heard of it before. Are these things still useful now that so much is in the cloud?
-
@Pete How do you find the Synology? I'm hoping to sell my QNAP 209 for the Synology Slim or Air. They get great reviews.
-
@pwired - that sounds cool. When you say "linux box server", whats the enclosure / hawrdware actually look like? is it a rack server or an NAS? I'd love to serve sites myself from the home office but like Joss, UPS (uninterupted power supply) and the likes put me off.
-
Happy Friday everyone! Picked up a new VPS subscription last month after using shared servers for years. Feels great having a space I almost completely manage myself thats not shared etc. What are you guys running your client and business sites on at the moment and are you doing anything cool with it? Probably some of your are on dedicated or even hosting in-house? Generally interested in HDDs, storage, hosting etc so I'm just curious.
-
I'll try that. Thanks Mr. Geerts. I also found it's already possible from 2.3. Post here from Mr. Cramer. I'll add it to the list of "things I really want PW to do which are in fact already possible"
-
I just deleted the tables in the root of the databse where the name matched a field I wanted to zap. Good to know there are other places.
-
Duplicated an existing site hoping to save some time on the general setup and Modules install. Time to remove a lot of previous fields. Clicking a field name and visitng the Delete tab was getting boring. I thought I'd manually remove the rows from the database and hit refresh. The fields are still showing within the Fields page/tab when I thought they would have been force removed. Now when I try to manually select a field and browse to the Delete tab, the delete checkbox is greyed out. Which is not true of course. Interestingly, if you remove a template from the database and then visit the templates page (under Setup), the Templates are succesfully removed. Realising that field removal isn't supposed to be carried out in this way. :-/