Leaderboard
Popular Content
Showing content with the highest reputation on 12/30/2014 in all areas
-
hi lauren, don't know if it is working with repeater fields, sorry - but repeaters are out anyway i think the PageTable is exactly what you are looking for and you should definitely try out this great field that opens tons of opportunities! this topic is exactly for you: https://processwire.com/talk/topic/6866-page-field-in-pagetable/ in this image from the thread above you see repeaters (top) compared to pagetable (bottom): see how much space you will save btw: looks like page field should work with repeaters?! here you go you can automatically follow topics you replied to: https://processwire.com/talk/index.php?app=core&module=usercp&tab=core&area=notifications3 points
-
Having worked with probably a hundred of them by now (looking after PCs in a company where processing data fast is key) they used to be a bit bad a few years back but are now very reliable indeed and less than 50p per gig in some cases. I would say that a backup is essential (when has it not been?). The earlier ones didn't used to have SMART support so when they died there was no warning and no real chance of recovery, but nowadays they do attempt to tell you when something is wrong. That said, they're not like mechanical drives - when they die it is usually permanent and instant whereas mechanical drives at least have a chance of wearing out over a longer period and giving you some warning. That said, I have only experienced this with older drives - newer drives are giving a long life expectancy so far and decent warranties. I have also experienced sudden fatalities with mechanical drives so I don't think there is any more risk in either type nowadays. ~550mbps is about the fastest you will get read/write and you need it plugged in on a SATA III port for max speed - most motherboards in the last 4 years will have this type of port. May I take this opportunity to point you all to what will be the best backup tool for Windows: http://go.veeam.com/endpoint - it is also free. I've used it for VMs and it is simple, effective and this new edition for endpoints (PCs) will be free. I cannot rate VEEAM highly enough and even in BETA stage this software works fine. Prices seem to have dropped even from a few months back too - these are the ones I use and this is sooooo cheap for an SSD: http://www.amazon.co.uk/Samsung-500GB-2-5-inch-Basic-Solid/dp/B00E3W19MO/ref=sr_1_2?ie=UTF8&qid=1419937998&sr=8-2&keywords=samsung+evo+8402 points
-
I have the same username on there as on here, and well ... most other services as well I think I am addicted to reddit. So many categories/subreddits and I can spend hours and hours just reading and laughing at things. Do you have any favorite subs? I spend more of my time in ELI5, AskReddit, webdev, frontend, TIL, TIFU, Nexus4 and Android (+ a few others).1 point
-
How do you guys go about designing custom admin areas for your websites/applications, for when the default page tree just isn't practical? Do you customize the actual admin area provided for client users that hides all the things they aren't concerned with, or do you just create a new admin area altogether, as you would any other frontend template, but with protected access? so as to not hack up the admin too much and leave it intact? What do you all prefer to do for your custom admin UI? I feel like the latter would be much quicker and easy with the API. Thoughts?1 point
-
Didn't want to interfere with the pub thread about webshop vat so I put it in here. Mac lovers can skip it, this is for Win7 lovers. My experience is that win7 is the best OS MS ever made, rock stable and a great os not only for web dev but a whole lot more. Win8 or 10, don't even go there ! http://www.zdnet.com/article/seven-perfectly-legal-ways-to-get-windows-7-cheap-or-even-free/1 point
-
Ah, so it isn't just me then1 point
-
Peter - this was one of my questions too before I started using PW. Luckily PW handles this natively in a very cool way via pagination as @Mats mentioned. There's a few other nice touches which PW features: The search in PW is lightning fast and allows you to jump to any page within seconds. Even if that page is buried within container pages etc, it's a quick operation. PW has a Recent (Pages) shortcut under the Pages tab which is another great way to access recent pages within a few clicks. Finally, there's a paid Extra called ListerPro which allows you to save views of certain pages. It's a good question but not anything you need to be worried about. I think the PW demo of the fictional SkyScrapers site (see link on PW site) holds some bunches of pages within the paginated format. Worth a quick look.1 point
-
Welcome to the forums! The child pages becomes paginated. Default is 50 pages before pagination. You can change it under Modules Page List.1 point
-
1 point
-
Whatever! Very far from it - sometimes we all just need a second set of eyes1 point
-
1 point
-
OMG, mind blown! I love this idea. Mind blow again!! This is so awesome. I am off to change my prefs...1 point
-
I am a big fan of Forklift for remote editing (although I am sure many others work well). The great thing about Forklift is that it is a full dual pane Finder replacement. I honestly couldn't survive without it. Finder really is horrible http://www.binarynights.com/forklift/1 point
-
I found the problem You are overwriting $field so the value of $field->columnLabelFieldName is blank. This line is the culprit: https://github.com/kongondo/FieldtypeMatrix/blob/master/FieldtypeMatrix.module#L168 foreach(wire('fields') as $field) { If you log $field->columnLabelFieldName before that, it returns the selected value as expected. Hope that helps!1 point
-
@kathep: I like working with a editor / IDE that supports remote file editing (it is done via FTP behind the scenes). For me this is the most comfortable way, I really like it. Maybe your editor of choice has this too? Or can be extended somehow? Or another way could be to use a system software / protocol that lets you "hang in" remote directories into your filesystem. This way you can open any remote file with any software, also if the software doesn't support opening remote files by it self.1 point
-
I find PW and PHP addictive. And here is what others say: google-4-addictive EDIT: corrected broken google link1 point
-
While Matrix may not be as flexible as Profields Table, one cool thing (although there are lots of cool things about it), is that your site editors can add new columns to the table - you can't do that with Table fields1 point
-
1 point
-
Did you save the field? After adding the items? $pp = $pages->get(1234); // page you're adding the children to the page table foreach($pp->children as $child) { $pp->page_table_field->add($child); } $pp->of(false); $pp->save('page_table_field');1 point
-
I mostly use a empty template with just a redirect. One could even use a template with a simple pagefield to choose the page to redirect to. This way it's one reusable template with one small php file to it. This is easier than trying to emulate a site all over the whole website.1 point
-
Oh geez! Sounds like I need to get with the times! ;P The PageTable field type sounds like the way to go. Thank you SO much for being so helpful, not just in answering my question but also helping me navigate my way around the forum! Thank you1 point
-
Hi there Updates are handled through a module called SystemUpdater in /wire/core/modules/SystemUpdater/ . This folder also holds all the update files that exist so far. The module has an entry in the modules table in the database that stores the system version so yes, those updates will be reapplied to the database every time you re-import the old database and upgrade.1 point
-
Yup, join the club Kathep, processwire is the only cms/cmf (that i know of) that comes with automatic php learning.1 point
-
Yes, I am learning PHP quite fast using PW. I didn't know any before last week I think I found PW by googling for a lightweight CMS. The bloated options of the big, popular CMSs, and the limitations of certain small open source CMSs were unsuitable for my needs. I hoped there was something better. I find developing in PW quite addictive. I'm not sure if its the full control of information architecture, or how much fun php is, or the ease of use of the PW API. Do others find it addictive? Anyway, I am having a lot of fun with it.1 point
-
We should probably update UserGroups into the public and add it to modules directory. It is definitely much more stable than any proof of concept modules introduced in this topic. We are using UserGroups in multiple big sites already.1 point
-
Thanks Charles - glad to hear it is working well for you. I have another brand new version for you with a LOT of new features. You can prevent creation of pages from email addresses with host names that are not in the whitelist - great antispam option You can limit creation of pages to email addresses that match registered PW users - in this case, the ability to add the page will also be determined by the user's permissions for creating pages on the selected template You can determine whether the page should be published based on the user's page-publish/edit permissions You can set up customized email notification messages when a new pages is created, including choosing who they should be sent to. The config settings should also help to see all the new changes. Please let me know if you find any problems with this new version - quite a bit changed. Also please let me know if you think of improvements to the logic of the way things are set up.1 point
-
@ Bernhardb: It is off topic but good to hear PG is working for you.1 point
-
Great writeup! Now that you have learned the full way to create the templates and pages for populating a page field you are qualified to do it the easy way http://modules.processwire.com/modules/process-page-field-select-creator/1 point
-
Hmm, that would be because mySQL fulltext indexes don't include words under 4 letters long by default. So 'Sri' won't be found. If you have enough control of your mySQL setup, you can change that, probably to include 3 letter words (unless there are any possible shorter words you would need to find), although at the cost of increasing index sizes. (The limit is there for a reason.) There are a couple of workarounds. The easiest is to not search for words under 4 letters long. foreach($keywords as $kw){ if(strlen($kw) >= 4){ $selector .= "Meta_keywords|DMCcontact_Country|DMCcontact_Address_2|DMC_Email~=$kw, "; } } ...which might introduce other undesirable side effects. You could also vary the selector operator based on keyword length. foreach($keywords as $kw){ if(strlen($kw) >= 4){ $op = "~="; } else { $op = "%="; } $selector .= "Meta_keywords|DMCcontact_Country|DMCcontact_Address_2|DMC_Email{$op}{$kw}, "; } (I don't think the curly braces are strictly necessary, but they do enhance readability.) And, of course, this might also introduce other side effects, although my own hunch would be that this is likeliest to work well. I have another method in mind, but it would be a lot of code and might be unnecessary. (It includes 2 searches then combining/uniquing page arrays, and still might not work ) See how you get on with these variations and we'll take it from there.1 point