Leaderboard
Popular Content
Showing content with the highest reputation on 03/18/2014 in all areas
-
There are downsides to all Operating Systems (Windows included). What we should celebrate is that there are people who are expanding the horizons and coming up with new ways of using computers. The more Operating Systems developed, the better it is for the common folks who are tired of the expensive, bloated and bug ridden releases by the big name Commercial vendors. People will always gravitate towards the newest systems. Combine that with ease of use and viable software then you have a winner. Consumers will switch to new technology that they feel is useful for their daily personal, work or recreational lives. I'm a Linux desktop user, however I would be the first to admit that for the non-technical, Linux appears to be hard to learn, inferior and basically weird. Linux gets better every release, however there are a lot of people invested in a Windows or Mac world who will never see themselves using a Linux desktop. What's really amazing is that some of these same individuals would scoff at anyone removing their Linux Server or Open Source tools. I applaud Windows, Android, Mac OS, iOS, Linux and any other Operating System out there. The reality is that if it wasn't for governments, universities and individuals who believe in standards, non of what we have seen in the last 40 years would have been possible. I ask that we give each Operating System a chance. It may not be for us but it may work for someone else. Normally innovation in one Operating System usually makes it's way to all the other Operating Systems over time. That's always a good thing.6 points
-
The forums will be offline from 6pm GMT for approximately 30 minutes whilst I install some upgrades. For those who get as confused about timezones as I do, that's in about an hour5 points
-
Ok guys we all heared about it that on April 8, Microsoft stops supporting windows xp, no more updates etc. Even Banks warn if you do telebanking on a windows xp computer, after April 8 Banks don't refund your money in case something goes wrong. But what does this have to do with processwire I hear you thinking. Well we all use computers to do our website development and most of it we do in the browser, besides of course some ide we use for php, css, js etc. Maybe only a few of us still use windows xp, others already use windows 7 or work on a Mac or use Linux. Linux, yes that was my point here because I stumbled upon a very interesting Linux Distro, one that is really different from the others, and worth checking out. Not trying to be a linux fanboy here or a windows basher, no, that's boring anyway, let's go beyond that and check this out: Zorin Linux OS http://zorin-os.com/index.html http://zorin-os.com/tour.html Quote from one of the pages: The main goal of Zorin OS is to give Windows users easy access to Linux. That is why Zorin OS incorporates the familiar Windows 7-like interface by default to dramatically reduce the learning curve of this system while still experiencing the main advantages of Linux. You can also utilise the desktop with other interfaces. This is thanks to the exclusive Zorin Look Changer which lets you change your desktop to look and act like either Windows 7, Windows XP or GNOME 2 in the free versions of Zorin OS. The Premium versions also include the Windows 2000, Unity and Mac OS X looks. But don't take my writing for it and check it out for your self. I don't think it is going to waist your time.3 points
-
And we're back. Let me know if you encounter any issues. One thing I've noticed so far is some text like the topic titles is now randomly bold, but if that's the extent of it I'll be happy3 points
-
Hi Freestone, welcome to processwire You sure can, just need to learn the pw basics and the pw api: http://processwire.com/api/ The api of pw is very powerfull. You already have website experience with drupal so no problem at all to learn these things. PW is build around an amazing concept that everything is "a page" associated with fields and templates, which makes it very easy to make fast and scalable websites. Here is a post about moving from drupal to processwire: http://processwire.com/talk/topic/1015-switching-from-drupal-to-processwire/page__view__findpost__p__8988 And here are some modules that I know of: http://modules.processwire.com/modules/form-builder/ http://modules.processwire.com/modules/blog-profile/ http://modules.processwire.com/modules/shopping-cart/ More about pw here: http://processwire.com/talk/topic/4173-grouped-forum-posts-links-articles-tutorials-code-snippets/ And a lot of experienced pw people on this forum that can help you out.3 points
-
Here's a video of a module we're working on that I thought you guys might like. The module, Lister, provides a different type of Page List than the tree that you usually interact with in ProcessWire. It gives you a table of pages with customizable columns, filters and actions. Rather than try to explain what it does, I figured I'd show you. This module also uses a new (soon to be released) Inputfield invented by Apeisa, developed by me, and sponsored by Avoine, called InputfieldSelector – it's what you see on the configuration screen as well as the Filters tab. I recommend bumping up the size/quality to 720p so that you can properly see everything. The video has no sound... I tried to do one with narration, but that didn't work out.2 points
-
I was just wondering what a mixture of Portuguese and Dutch sounded like, but realised I probably sounded like that back in my drinking days....2 points
-
Thanks for that Pete, I agree that approach is simpler but it is not a simple sort I am after. To quote an earlier post I want it to look for pages with the same tags and the more tags are shared, the more "related" the other page is, thus getting it further up on the list. So I tried the snippet apeisa posted and it works! I adapted it for my needs obviously. Thanks everybody for your help. The answer I was looking for was here all along foreach($page->tags as $tag) { $related_pages = $pages->find("template=article, tags=$tag"); foreach($related_pages as $related) { if($related->id != $page->id) $related_id[$related->id]++; } } arsort($related_id); // We limit it to three related pages at max $related_id = array_slice($related_id, 0, 3, true); foreach($related_id as $key => $val){ $rp = $pages->get($key);2 points
-
2 points
-
Worth following: KDE Visual Design Group KDE is finally focusing on its looks in an organized manner and skilled crew. My own switch to Linux has turned into an epic 3 year journey.. Early on I identified what aspects need work. Along the way I have funded applications and tried to help in other ways. When preparing to switch to Linux I think it's smart to devote some of your time to strengthen a weak area that is important to you. For a FOSS software project, this might involve community organizing, documentation, translation, web stuff.. You don't need to be a C/C++ coder to help.2 points
-
Sorry, solved. The mod_rewite was not enabled on the server.2 points
-
There's no point on trying linux if professionaly you need applicattions that don't have support, I myself am very close to switch to mac because I will need to use inDesign. But people that only need a computer and don't have any special needs concerning apps will be very well served with some Linux distros. My parents don't know anything about computers and have linux at home. I just had to install it and from time to time press the "update system" button because they don't.2 points
-
I'm a processwire user .... and an MS Office user and an Adobe CC user. As much as possible I try and stay on one platform otherwise my old brain gets very confused.2 points
-
Joss, if you install Elementary you'll be very surprised with how polished and well thought out it is. It's a really cool experience It's true about office, though things might be changing soon. Right now I just lauch skydrive and work there when needed.2 points
-
hi,everybody: I solved the problem. its my fault,i cant describe the question clearly. but the forum is very helpful,at last i found the solution in forum. here is my test code: $q='keyword'; $matches = $pages->find("title|summary|%=$q,template=_page_show"); $uniqueResults = array(); foreach($matches as $child) { //echo $child->title.'<br>'; //get the result page's parents $uniqueResults[$child->parent->title]=$child->parent; } foreach($uniqueResults as $r) { echo '<b><a href="'.$r->url.'">'.$r->title.'</a></b><br>'; } this post is helpful to me. http://processwire.com/talk/topic/2038-distinct-selector-in-processwire/?p=19058 thank you all!2 points
-
There was a thread about this here: http://processwire.com/talk/topic/5417-using-git-with-a-cms-for-version-control-and-deployment-on-multiple-machines/#entry535012 points
-
@freestone, very entertaining reading Seriously, I think the chaps here painted it too pink for you. Reading your requests on your first post I can predict some trouble in the way. PW has lots of modules right now, but nothing as complete as some ecommerce modules that you would find on the big three. Apeisa's module is great but has some limitations for now, I have the idea that it's not as plug-and-play as you may have thought, but can't help you much there since I only played with it a bit in the very beginning. That, said, you won't find anywhere as much flexibility as in PW. I'm sure Apeisa's module can be easily adapted to your needs on the time that you will gain for making your website in PW. Hope someone with will come up with a fresher insight about this module. I sense that you are suffering from a common trauma that people recently arrived to PW have with pages. Joss wrote the perfect therapy here http://processwire.com/talk/topic/2296-confused-by-pages/1 point
-
Good luck with that! Adam comes to the forum only on Christmas these days Try his twitter https://twitter.com/adamkiss1 point
-
1 point
-
Adrian thank you! I have tested those PW versions on a local machine with PHP 5.4 and everything works fine. PW rules1 point
-
1 point
-
It did seem to stop <? turning into the encoded version when editing posts, so fingers crossed. They're quite a way along the development path for version 4 which changes everything again, but looks to make my life a bit simpler and also has a responsive theme instead of separate for desktop and mobile so that'll be nice, but more importantly CKEditor 4 which is the version available in the ProcessWire module1 point
-
Well I hope this sorts out the constant mangling of code and quotes! especially when editing posts...1 point
-
On a roll - after a chat with Joss, I have added a new option on export that allows you to select any additional required helper files such as .inc, .css, .js, etc. These selected files will be packaged in the zip for the migration. This option is only displayed if you choose "save" because obviously not relevant to "copy" where it's only the JSON that can be exported. Note that there is no need to select normal template files as these are still included in the export automatically.1 point
-
I'm going to push this back by 30 minutes as I've encountered a few issues with the templates during testing. Oh how I wish it was as simple to upgrade as ProcessWire1 point
-
1 point
-
1 point
-
Distance calculation is improved in MariaDB 10.1 https://blog.mariadb.org/jquery-and-gis-distance-in-mariadb/1 point
-
1 point
-
Martijn Geerts thank you. I will try to help people when I get some time. Got busy with Family and some other stuffs.1 point
-
Hello @teppo, I'm sorry for my late feedback. I installed the fixed (latest) version, and it's working nicely. Thank you very much for the great module!1 point
-
Ok, I have fixed another round of bugs, including one weird one getting an "Unknown column 'field_images.modified'" error when importing a page tree into a brand new install before ever having viewed a page on the site. Getting off track, but the issue was due to the need to trigger getDatabaseSchema on the images field which adds the modified and created DB fields. The things I've done is add optional support for migrating createdUser/modifiedUser and created/modified datetime for pages. I am using quiet save which is supposed to support createdUser, modifiedUser, and created, but it isn't supporting modifiedUser for me at the moment. I might resort to SQL, or I might decide it's actually best to just change the created versions and leave the modified to change to the user running the import and the current time. On the user migration - if a user doesn't exist it will be created and assigned its roles from the source installation as defined in the JSON. Also, if the needed roles aren't available, they will be created too. Let me know how it goes for you!1 point
-
Good to find this thread. Was kicked out every few seconds, loading slow ... while working via Hotel WLAN Cookie settings? Changing the browser didn't help ... $config->sessionFingerprint = false was the goal. thanks a lot Adrian1 point
-
Of course it is already clear to me which could be more easily maintained and added to...... PW!1 point
-
Looks like more replies came in while I was writing the above message. You mentioned you are on a shared server–who is it shared with? You may want to double check that your directories have safe permissions for a shared environment (if will vary per web host, and the web host can advise on what is best). Though since your tables needed repair, I would suspect something broke on the server (HD crash or corruption) rather than someone messing with the site. Have any new modules or code been recently added to the site?1 point
-
What version of PW? I can't say as though I've ever seen tables get corrupted like that. But since you've got corrupted tables, you might also have a corrupted file system. I think Adrian's suggestion to replace your /wire/ directory is probably a good one. Have any new modules been recently installed? In your /site/config.php enable debug mode (change the line that says $config->debug=false; to $config->debug=true). You should now get a more detailed error message. Paste in the entire error message here if possible. You mentioned that you cleared out your "assets" folder. I'm hoping that you cleared out your "cache" folder in assets, and not the entire assets folder? Still it shouldn't be necessary to clear out the cache folder. Most likely something is still corrupted in the database or on the file system. You may want to export your entire database and re-import to a new database, then update it to point to that new database in your /site/config.php file (at the bottom). But while you are in PhpMyAdmin can you look at the list of tables and confirm that you have a "field_roles", and a "roles" table, both populated (not empty)? The error message you are getting makes me wonder if something is missing there.1 point
-
Hi Jennifer, It sounds like the repair worked on the tables. The member function error on $user->roles makes me think you have a session issue - maybe? Have you tried emptying your assets/cache folder? Really not sure, but maybe worth a try. Can you access the admin, or is the entire site down?1 point
-
We should send them Skyscrapers or another huge site (with ProCache and some other nice features) for a full conversion (DB and full content) with destination WordPress. They say that if we are not satisfied and can provide valid reasons we have not to pay anything. One reason could be that afterwards it is somewhat slower, maybe. Or it will have full DB, full Content but not full functionality. Or both?1 point
-
1 point
-
@homma: sorry, that was another 2.4 dependency. It should be fixed now (just pushed updated version 1.3.5 to GitHub). Had to change one $modules->getInstall() call to $modules->get(). No idea why I decided to use that in the first place, so this could have unwanted side-effects, but everything seems to work fine so far.1 point
-
Hi verdeandrea and welcome to PW. PW 2.4 introduces a new system for managing admin themes. If you are using 2.4 and you're new to PW I would recommend staying with the default theme for the moment until existing themes are updated to handle some of the new functionality. However if you are still keen to change, I think all you should need to do for the moment is uninstall "Default Admin Theme" from the Core tab of the module settings page. Then your manually installed theme should work. Alternatively, you could follow Ryan's instructions for converting your old theme of choice into a new installable theme: http://processwire.com/talk/topic/4650-new-processwire-admin-theme-on-dev-branch/?p=53671 Let us know if you need any further help.1 point
-
@gunter: see if httpHosts setting is in place in your /site/config.php and contains only "localhost", that's the most likely culprit. Ryan: if you're reading this and if aforementioned really is the problem here, I'd say that this is an issue that should be dealt with.. personally I'm against this whole setting (I'm seeing more issues than benefits there), but at least it should stay out of way as far as possible -- opt-in instead of opt-out.1 point
-
Yes they are supported now and will continue to be. Though I'm hoping people will convert the themes over to AdminTheme modules. It's easy to do, and provides the benefit of having multiple-admin themes installed at once. When more than one admin theme module is installed, ProcessWire adds an admin-theme selection box to every user's profile screen. To convert an existing admin theme to a module, just move the files into /site/modules/AdminThemeName/ (replacing the Name part with the name of the Admin theme, i.e. AdminThemeTeflon). Then create a new file in the same directory called AdminThemeName.module (again replacing the Name part). All that needs to be in that file is this (I'll continue to use Teflon as the example name): <?php class AdminThemeTeflon extends AdminTheme implements Module { public static function getModuleInfo() { return array( 'title' => 'Teflon Admin Theme', 'version' => 1, 'summary' => "A nice admin theme.", 'autoload' => "template=admin" ); } } Of course, the AdminTheme can go a lot further if you want it to. Examples include: having its own install() method to add new assets it uses (i.e. user profile avatar), adding its own hooks, creating its own API vars, having a custom configuration screen, or anything else you could do with any other module. But all of that can come later... all you need to do to convert an existing admin theme to an AdminTheme module is just to move the files and add the AdminThemeName.module file shown above. I haven't yet had time to look at this one, but it's on my to do list. Thanks for keeping me up to date on it. There's always a long list of issues to cover on GitHub, but we were at a point where all remaining issues were relatively minor, affected very few people, and didn't need to hold up release. I just didn't see any reason for people to keep downloading 2.3 when 2.4 is already more stable. We'll be covering remaining issues, like this one, with incremental versions, working through the list.1 point
-
Just stumbled upon this: One-click App Deployment with Server-side Git Hooks.1 point
-
Thanks, yes the forum is full of useful but scattered posts and when I have the time I try to sort them out. Next step could be to put everything in a database with a nice front end.1 point
-
I don't think this will fix all of your problems (or maybe even any!), but I found I had to set: $config->sessionFingerprint = false; Otherwise I was being asked to login again every few minutes. Might be worth trying.1 point
-
Thomas, I just today implemented something similar and remembered the logic from your post. Simple and great solution. I made few modifications - most notably I save the related pages into page field also. I also run this code only once per page, since this is part of the import script. Here is how I modified your code: foreach($page->tags as $tag) { $related_pages = $pages->find("template=article, tags=$tag"); foreach($related_pages as $related) { if($related->id != $page->id) $related_id[$related->id]++; } } arsort($related_id); // We limit it to three related pages at max $related_id = array_slice($related_id, 0, 3, true); foreach($related_id as $key => $val){ $rp = $pages->get($key); $page->related_articles->add($rp); }1 point
-
I have a config based on some $_SERVER variables (looking for URL to switch to correct database) and just copy stuff; I manage most of my websites myself, so I do changes locally and just push new db dump to live together with changed files. If the rare occasion happens where client does some stuff on live version (or I need to push something live), I take the db in the other direction (live->localhost) and deal with the uploaded files (If only my server supported git; this would be like million times easier).1 point
-
Good question. I'm not sure there's a simple answer though. What you mentioned about migrating changes directly from the database of WordPress doesn't sound like a safe thing to do with any database-driven CMS. The nature of a relational database is that there will be records in different tables referencing each other, so when you've got two versions of the same database, they would be challenging to merge. As a result, it's a problem if you have two databases going off on different paths of changes if they need to come back together at some point. I use my staging servers for staging things like new template files, modules, new PW versions, etc. I don't usually stage actual content from one server to another. Or if I do, I'm copying and pasting it (in PW admin) from one to the other. But the way I usually stage major content changes is to make them on the live server, but in a staging part of the site (unpublished, hidden or otherwise inaccessible pages). When ready to migrate, I publish or drag the relevant pages to their live home. Note that this is for content, and not for anything that could interfere with the operation of the live site. Anything that could interfere with the live site (templates already in use, modules, versions, etc.) ideally should be staged on a different server. I don't know of a better way than that. It's not perfect, but it's always worked well for me. Longer term, I want ProcessWire to support a workflow that lets a staging server talk to a live server and publish from one to the other (using web services). I already use this workflow on a lot of sites with custom modules, but they are specific enough to the individual sites that they aren't suitable as a broader solution. However, I do think we'll have a broader solution like this in the next 6 months to a year.1 point
-
Well I guess the question here is what determines how they are related? Similar words in the title such as "apple"? It might be better to go with a "tags" field for that approach (basically a text field with comma separated values and just do searches on the tags field for other articles containing the same tags. If you could give us a better idea of how you would see it being automated ie. what the module is looking for in order to determine how a page is related, then I'm sure we can come up with other suggestions.1 point