Leaderboard
Popular Content
Showing content with the highest reputation on 03/19/2014 in all areas
-
I'm glad to announce that (with my limited php knowledge) I figured it out. // site/config.php $base_url = $_SERVER['SERVER_NAME']; switch ($base_url) { case "samplesite.dev": // LOCAL CONFIG $config->dbHost = 'localhost'; $config->dbName = 'processwiredb'; $config->dbUser = 'devuser'; $config->dbPass = 'DeVpAsS'; $config->dbPort = '3306'; $config->httpHosts = array('samplesite.dev', 'www.samplesite.dev'); break; case "samplesite.com": // LIVE CONFIG $config->dbHost = 'localhost'; $config->dbName = 'processwiredb'; $config->dbUser = 'comuser'; $config->dbPass = 'dEvPaSs'; $config->dbPort = '3306'; $config->httpHosts = array('samplesite.com', 'www.samplesite.com'); break; } I love this community as it encourages me to learn things I would otherwise just Google the answer to. And then, using Adminer, I dumped and copied the database from the development site to the live site. This only took a minute. I had previously fiddled with HeidiSQL but I'm still learning it THanks everyonE!!!4 points
-
I always develop on the same directory level as the site would be when live, so never had to deal with those issues. Every new site has it's own vhost.3 points
-
Macrura is right -- mod_rewrite is essential for ProcessWire to function properly. Short answer is "it's not doable". Regarding your actual issue here, there are multiple notes about various possible 500 errors in ProcessWire's .htaccess file. If you're getting these errors, take a close look at that file and see if any of those tips can help you. If not, try posting more details here and we'll do our best to help you with this. Longer answer is that even if you could tweak ProcessWire to function without mod_rewrite, it would come with two huge drawbacks (that I can think of right now): your URLs would be like example.com/?it=/about/site/ instead of example.com/about/site/ you'd be compromising a lot of security features, such as protected directories and files Possibly even bigger issue would be that ProcessWire really isn't intended to work like that. Internal links, URLs and things like that are very likely to break here and there. In a nutshell: trust me, this is not a good idea.3 points
-
Macrura is correct - PW needs mod rewrite. Don't give up so easily on the 500 error - there are lots of possible causes of this and lots of easy fixes - you just need to figure out which one is the issue with your particular hosting environment. If you have tried all the rewrite base options, including matching it to the path of your site on the server, then you might next try: #SetEnv HTTP_MOD_REWRITE On http://processwire.com/talk/topic/1962-cant-reach-admin-page/?p=49524 Or this: http://processwire.com/talk/topic/2439-htaccess-issue/?p=39674 If that doesn't work, take a look through these search results: https://www.google.com/search?q=site%3Aprocesswire.com+500+error&oq=site I am sure we can help you figure it out.3 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/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
-
OK I feel like a n00b now! This simple bit of code seems to work anywhere in the front-end: if ($this->modules->isInstalled('ProcessForgotPassword')) echo $this->modules->get("ProcessForgotPassword")->execute(); Obviously it should be attached to a link and used in the same context as in the backend... but It generates the bare unstyled forms, and seems to handle all the functionality perfectly.2 points
-
It would depend on a few things, but I think the main things to consider are: How often the data needs to be updated. If you want to query on it. If you want to display it on different pages. How unique the data is. One or more of those things may be important and could sway the decision one way or another. For the specific example of customers and transactions, I would probably lean towards storing the information in ProcessWire pages, and using hooks to update it if needed. Another thing to think about is potentially using MarkupCache to cache calls to the API. I use this on one site that uses a service for post code to location conversion. Another website we manage (in PyroCMS) is a front-end to a much larger information system, and the data required for that website is just pulled out and updated daily. It uses some SQL to achieve that, and it'd be easier to do it in ProcessWire, but just another example2 points
-
What is the code that you are using to build the nav bar? What appears there is completely up to you, in some cases, people build it by showing all the children of home: $navPages = $pages->get('/')->children(); foreach($navPages as $navItem)... If that's the case, you can, for instance, remove the page that you don't want on the nav: $navPages = $pages->get('/')->children()->remove($pages->get('/pagetoremove/')); or $navPages = $pages->get('/')->children('name!=pagetoremove'); but this is only one way...2 points
-
Indeed, you have to setup apache vhosts and your OS hosts file to match.2 points
-
Is this a shared host? Sometimes its just easier to ask your host provider to have a look and tell you what settings on their servers do not like your .htaccess rules, and which rules in particular...2 points
-
Edit the product template you created and add sc_price field to it. This means: login to admin, goto setup => templates => product and add the sc_price field and save.2 points
-
What you're looking for is: inputfieldClass The easiest way to figure these things out is often to use your browser dev tools. I actually didn't know this initially, but a quick right-click > Inspect Element on the select field under Inputfield Type, revealed the name of the select as: inputfieldClass2 points
-
On the permissions question, there are several modules that extend these capabilities in PW: http://modules.processwire.com/modules/page-edit-per-user/ http://modules.processwire.com/modules/page-edit-field-permission/ http://modules.processwire.com/modules/page-edit-per-role/ http://processwire.com/talk/topic/5354-usergroups-module-in-development-groups-page-based-permissions/ Hopefully something in there will be useful for you.2 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.2 points
-
Phone Number Fieldtype A new fieldtype to enter phone numbers with 4 integer values for country, area code, number and extension and format the output based on predefined or custom options. StyledOutput The most common usage option will be: echo $page->fieldname //eg. +1 (123) 456-7890 x123 This provides a fully formatted phone number, based on the output format chosen from module's configuration page, or with the format override option (if enabled), when entering a phone number on a page. This is a shortcut that produces the same output as: echo $page->fieldname->formattedNumber //eg. +1 (123) 456-7890 x123 Alternate styled options are: echo $page->fieldname->formattedNumberNoExt: //eg. +1 (123) 456-7890 echo $page->fieldname->formattedNumberNoCtry: //eg. (123) 456-7890 x123 echo $page->fieldname->formattedNumberNoCtryNoExt: //eg. (123) 456-7890 echo $page->fieldname->unformattedNumber: //eg. 11234567890123 echo $page->fieldname->unformattedNumberNoExt: //eg. 11234567890 echo $page->fieldname->unformattedNumberNoCtry: //eg. 1234567890123 echo $page->fieldname->unformattedNumberNoCtryNoExt: //eg. 1234567890 Of course the actual output is determined by the selected format output Raw Output You can output the values for the component parts of the phone number like this: echo $page->fieldname->country; echo $page->fieldname->area_code; echo $page->fieldname->number; echo $page->fieldname->extension; Output for mobile compatibility To get iOS and other mobile platforms to recognize numbers and be able to automatically dial them, use something like this: echo '<a href="tel:+'.$page->fieldname->unformattedNumberNoExt.'">'.$page->fieldname->formattedNumber.'</a>'; Selectors for searching The component parts can be used in selectors like this: $pages->find("phone.area_code=123"); Field Settings There is a field settings for the width of the inputs in pixels. There is a field settings for the width of the inputs in pixels. You can also choose whether to display the country and extension fields for input. Off by default. There is an additional checkbox that determines whether there is an option to override the default format option on a per entry basis, which will be useful when styling phone numbers from different countries on the one website. Off by default. Custom formatting options On the module's configuration page you can choose from predefined formats, or create custom formats using syntax like this: {+[phoneCountry] }{([phoneAreaCode]) }{[phoneNumber,0,3]-}{[phoneNumber,3,4]}{ x[phoneExtension]} which generates: +1 (123) 456-7890 x123 Each component is surrounded by { } The names of the component parts are surrounded by [ ] Two comma separated numbers after the component name are used to get certain parts of the number using php's substr function, allowing for complete flexibility. Anything outside the [ ] is used directly: +,-,(,),x, spaces, etc - whatever every you want to use. There are lots of complicated rules around numbers changing when dialed from different locations. A simple example is for Australia. When dialing from within Australia, area codes start with a 0, but when dialing from another country, the 0 must be omitted. You can write a simple format to handle this. The following truncates the first number from an Australian two digit area code: {+[phoneCountry] }{([phoneAreaCode,1,1]) }{[phoneNumber,0,4] }{ [phoneNumber,4,4]}{ x[phoneExtension]} which generates: +1 (7) 1234 5678 x123 even though the full "07" is stored in the area code field. Where to get Available from github: https://github.com/adrianbj/FieldtypePhone And the modules directory: http://modules.processwire.com/modules/fieldtype-phone/ To Do Need to increase the number of pre-defined formats. There seem to be so many options and no real standards, so I thought rather than create a huge list of options that no-one will use, I thought I'd wait and get you guys to contribute them as you need them. Either post your formats here, or send me a PR on github and I'll add them. How to install Download and place the module folder named "FieldtypePhone" in: /site/modules/ In the admin control panel, go to Modules. At the bottom of the screen, click the "Check for New Modules" button. Now scroll to the FieldtypePhone module and click "Install". The required InputfieldPhone will get installed automatically. Create a new Field with the new "Phone" Fieldtype. Choose a Phone Output Format from the details tab. Acknowledgments This module uses code from Soma's DimensionFieldtype and the core FieldtypeDatetime module - thanks guys for making it so easy.1 point
-
In this tutorial we make a simple function that becomes part of every PageArray. Once hooked to the PageArray class, you can call this function from anything returned from $pages->find(), $page->children(), or your own page references like $page->categories from the blog profile, etc. It essentially becomes a new function available to you from any PageArray anywhere in your site. First, lets look at what convenience the hook function adds and how we might use it. We'll call the hook function "renderLinks", but you could of course call it whatever you wanted. We call that renderLinks() function from any PageArray, and it returns a string representing that PageArray as a list of links. By default, this renderLinks() functions separates each page with a comma, and outputs the page's title as the anchor text. We can change that to be anything by specifying arguments to the call. The first argument is the delimiter, which defaults to a comma ", " if not specified. The second argument is the name of the field to output, which defaults to "title" if not specified. Next are 3 examples of how this renderLinks hook function could be used. Usage Examples: Example 1: render a comma-separated list of links: echo $pages->find("parent=/")->renderLinks(); Output: <a href='/about/'>About Us</a>, <a href='/contact/'>Contact Us</a>, <a href='/site-map/'>Site Map</a> Example 2: render a <ul> of $categories links: <ul> <li> <?php echo $page->categories->renderLinks('</li><li>', 'title'); ?> </li> </ul> Output: <ul> <li><a href='/categories/category1/'>Category 1</a></li> <li><a href='/categories/category2/'>Category 2</a></li> <li><a href='/categories/category3/'>Category 3</a></li> </ul> Example 3: render a breadcrumb trail: <p class='breadcrumbs'> <?= $page->parents->renderLinks(' / ') ?> </p> Output: <p class='breadcrumbs'> <a href='/parent1/'>Parent 1</a> / <a href='/parent1/parent2/'>Parent 2</a> / <a href='/parent1/parent2/parent3/'>Parent 3</a> </p> Those examples above show some of the potential of how you might use such a function. Next is the hook function itself. In order to be available to all templates in your site, it needs to be defined somewhere consistent that is always loaded... Where to put the hook function: If using the basic profile (that comes with ProcessWire) you could put the hook function at the top of your /site/templates/head.inc file. If using the Foundation or Skyscrapers profile, you could put the hook function in your /site/templates/_init.php file. This is the method that I use. If using something else, you could create a /site/templates/_init.php file with your hook function(s) in it, and then edit your /site/config.php to point to it with the $config->prependTemplateFile = '_init.php'; so that it is automatically loaded on every request. Note that the name "_init.php" is not required, you can name it whatever you want. You could put it in an autoload module... but that might be overkill here. The actual hook function: wire()->addHook("PageArray::renderLinks", function(HookEvent $event) { // first argument is the delimiter - what separates each link (default=comma) $delimiter = $event->arguments(0); if(empty($delimiter)) $delimiter = ", "; // second argument is the property to render from each $page (default=title) $property = $event->arguments(1); if(empty($property)) $property = "title"; // $out contains the output this function returns $out = ''; // loop through each item in the PageArray and render the links foreach($event->object as $page) { $value = $page->get($property); if(!strlen($value)) continue; // skip empty values if(strlen($out)) $out .= $delimiter; if($page->viewable()) { // if page is viewable, make it a link $out .= "<a href='$page->url'>$value</a>"; } else { // if page is not viewable, just display the value $out .= $value; } } // populate the return value $event->return = $out; }); If using PHP before 5.3, or using an older version of ProcessWire, you'll need to change the first line to this (below). This syntax also works with newer versions as well, but it's not as pretty as the new syntax. wire()->addHook("PageArray::renderLinks", null, 'hookRenderLinks'); function hookRenderLinks(HookEvent $event) {1 point
-
Hey, over a year ago I build the website for the bar "Kapitl21" which is really close to where I live in exchange for a beer flat (<- was my idea ). I completely forgot to post it here. Hope you guys like it: http://kapitel21.de / Nico1 point
-
I will upgrade those soon. Now i was in a hurry because of a new project that i moved on the live server and couldn't login into administration. The server is now upgraded and everything works , so I have the time to PW upgrading1 point
-
No problem in pasting things from other places, but make sure you go through them before1 point
-
Shouldn't be. With target blank the links will open on a new page(window).1 point
-
This is more likely to be a PHP/xCache config problem. You may have to get your host to check the php.ini files and make sure the memory limit is higher than that needed by xcache. Wish I could be of more help with this issue.1 point
-
If you google that error there are a few possible php.ini settings that might help. Certainly not an issue specific to PW. If you're still having trouble after trying some of the google advice, then this is a question for your host.1 point
-
1 point
-
1 point
-
1 point
-
@horst ..you were bang on ! ..the problem was that my php code in templates wasn't by default getting encoded as utf-8 and to add to it, even my csv were not utf-8 encoded. no headers required, i am able to add all special characters via csv import now..thanks a ton! And yes, i'll be careful about adding code next time onwards !1 point
-
I will do that URLs at my local environment look like: http://processwire/ http://domainname/ http://testsite/ Here's some content what may help1 point
-
Ok, please check with wich charset your template file is stored! (It needs to be UTF-8, what is _not_ the default on Win!) And also you have two charset headers in your code example. The second one overrides the first! EDIT: please, if you want to show code examples, please can you post it as text, using the "<>" - code formatter button? You can simply test if your template file is UTF-8 encoded: try your example with $p->title = utf8_encode("smorebrod"); If this works, than your file isn't utf-8 encoded.1 point
-
I feel like rambling some more. The Year of the Linux Desktop is a cliché at this point, but I don't understand why it was even predicted when Linux wasn't a gaming platform. Now the situation has changed: we have Valve, Crytek and GOG. Combined with XP EOL and the Windows 8 disaster, we might see a dramatic increase in desktop Linux adoption this year. It is worth noting that in this post-Snowden world, even the European Parliament recommends open source as much as possible: When considering FOSS communication solutions, we are lucky to have PRISM BREAK to guide us. Adobe suite replacement is a real issue for professionals. I really wish an entity like EU would sponsor the development of FOSS graphics software to nudge them to the pro level (they are so close). For projects that have organized paid development, the development speed has been noticeably faster than the ones that just plod onwards in an aimless fashion. Case in point is Krita (paid dev) vs. Gimp. In this case, the success of the Qt toolkit might have boosted Krita's development, while GTK+ (used by GIMP) is being abandoned in favor of Qt by an increasing number of projects (f.ex. LXDE and Subsurface). This is a benchmark that demonstrates how it is easier to build stuff with Qt than GTK+. Regarding a replacement for Illustrator, Inkscape is another slow-moving project and it uses GTK like GIMP. Both Inkscape and GIMP only use the latest GTK version (3) in a development version. There is a new vector editing software called PrintDesign, which uses the wxWidgets toolkit, but unfortunately the developer lives in Ukraine and the current crisis may have affected development. An InDesign alternative is Scribus, which uses Qt, but has seen periods of even zero development. While development is active again, the history means that Scribus, too, is just "getting there". When thinking about dropping Photoshop, it makes sense to use several FOSS tools: Krita for painting, GIMP for general editing and darktable/digikam/etc. for photography/RAW editing. Note: Krita has adjustment layers and 32 bit depth support, while GIMP does not. If you feel you have too much money, you can boost the development of important FOSS graphics tools. There's a whole bunch of fundraisers going on right now: Libre Graphics Meeting 2014 - an important event, which keeps collaboration between projects going Blender Foundation feature animation project Gooseberry - a huge project with 12 studios participating. Will impact the whole field of FOSS graphics and video and even audio. Pitivi 2014 fundraiser - I have named 2014 The Year of the Linux Video Editor. Synfig development for April 2014 - 2D animation tool Synfig (uses GTK+) has had very good results with paid development since fall 2013. Symmetry Painting for GIMP - GIMP doesn't pay developers, but nothing prevents devs from raising funds on their own. If you think you will suffer from having too much money in the future, be sure to follow this thread of mine: Ongoing crowdfunding campaigns1 point
-
You can always send him a PM in the forum.1 point
-
I got this from the forum here (probably Ryan) which might help. <? $showForm = true; $email = $sanitizer->email($input->post->email); if($email) { $u = $users->get("email=$email"); if($u->id) { // generate a random, temporary password $pass = ''; $chars = 'abcdefghjkmnopqrstuvwxyz23456789'; // add more as you see fit $length = mt_rand(9,12); // password between 9 and 12 characters for($n = 0; $n < $length; $n++) $pass .= $chars[mt_rand(0, strlen($chars)-1)]; $u->of(false); $u->tmp_pass = $pass; // populate a temporary pass to their profile $u->save(); $u->of(true); $message = "Your new password on the blah blah web site is: $pass\n"; //$message .= "Please change it after you login."; mail($u->email, "Password reset", $message, "From: noreply@{$config->httpHost}"); $page->body = "<p>An email has been dispatched to you with further instructions.</p>"; $showForm = false; } else { $page->body = "<p>Sorry, account doesn't exist or doesn't have an email.</p>"; } } if($showForm) $page->body .= " <h2>Reset your password</h2> <form action='./' method='post'> <label>E-Mail <input type='email' name='email'></label> <input type='submit' value='Submit'> <p class='spam-check'>Please check your spam folder in case this email doesn't appear within 10 minutes.</p> </form> "; // include the main HTML/markup template that outputs at least $page->body in an HTML document echo $page->body; ?>1 point
-
If you set the textarea to content type html, in the field settings, PW will take care of it. If you set the textarea to content type html, in the field settings, PW will take care of it.1 point
-
1 point
-
On mobile now. Don't get me wrong, I'm more than convinced that PW is much easier to learn than Drupal. Forget all the PHP. You only have to know the very basic to work with PW, and the rest you can learn when it's required for each project, so by now focus on the tutorials and only that. If you know that much about ecommerce, it shouldn't be difficult for you to create a specific module, especially because you only need the checkout part. Modules are also very easy in PW. Surprisingly easy. You also won't find a better support in any other forum1 point
-
I can't replicate the comma issue here either, but I am guessing it is something to do with the number formatting settings on their OS or in Safari specifically. I have a couple of solutions for you try with your customer. In InputfieldPhone.module on Lines, 75, 80, 84, 89 can you try the following. Firstly, add: pattern="[0-9]*" to each of the input tags. If that doesn't work, try changing the input type from "number" to "tel" tel makes most sense here, but according to: http://www.w3schools.com/html/html5_form_input_types.asp it isn't supported by any browsers yet. Sounds like it might avoid the issue anyway, because the lack of support at least means that Safari won't think it's a number and try to add the comma. Let me know if either of these work and I'll make the changes to the module.1 point
-
OK now my head is spinning....LOL I have been through the planet tutorial and the longer tutorial found here http://wiki.processwire.com/index.php/Basic_Website_Tutorial I understand the concept of field, template, template file (and I get the difference) and pages ....still having a bit of a time thinking in this way but I see the elegance in moments of clarity. My next step was to install a few modules which I did. Then I implemented HTML Kickstart and all looked good with my example on tablet, phone and desktop so I got it to be responsive. Next I installed Shop model and was trying to implement a simple product page and check out and also use it as a bit of a spring board to understanding the APIs. Once I started looking at the install instructions for the Shop module since the core of what I need to do is sell a service and get a customer to pay....this is when the spinning started. When looking at the Shop module install instructions I actually understand the later steps better than number #2 and #3 which have me stumped. It seems in the later steps Apeisa is showing you his hook for rendering the cart and checkout process but you have to have products and add to cart first. The second and third step of the instructions read.. 2. Add sc_price class to your product template (can be multiple templates) An example would go a long way. I'm declaring a php class in a product template I create? 3. Edit few of your products and give them price - The module did not create any products or even a product template so I went to create one ....but..... I found a post by Dave (I think) about the add to cart button which said echo $modules->get("ShoppingCart")->renderAddToCart(); So I proceeded to create some other fields since the only ones I saw was price and QTY. I created ID and Desc and created a template like this <?php include("./TUT_header.inc"); echo $page->sc_product_id; echo $page->sc_product_desc; echo $page->sc_product_qty; echo $page->sc_product_price; echo $modules->get("ShoppingCart")->renderAddToCart(); include("./TUT_footer.inc"); Then I created a page but the page error-ed and had a line through it on the page list. I then also noticed that in the fields there are some fields it was not showing when I changed the filter to show the "Built-In" fields. and in fact there was a field that says it is type=page which blows my simple mind a bit. These fields are not however available for a template so I am guessing if I start looking at the code they are using in the checkout process and there are api's that let you create these fields. I am headed out of town for 4 days but if anyone can give some simple steps to creating a product with an add to cart button perhaps I can keep going from there. The other thing that is confusing to me is that I was headed down a path to create a template for a product (which is kind of like a DB table but also has some html to render it ....Right?) but in order to create say ....3 products I then have to create 3 pages ? That does not make any sense to me. Guess I expected the Shop module to handle product management as well as order management. I realize this is more flexible in that I can define what the attributes ( columns/fields what ever you want to call them) of a product are instead of the module dictating that but I feel like I was swimming along in the shallow end pretty good and then went straight over my head. It there another tutorial or example project that would help me understand the "class" reference in step #2 and that would help me start to understand how to start using the API's to do more than present some info pages? I know I could build a nice info site right now that would be so much quicker than anything I built in Drupal but need to take the next step in understanding and did not really see a next step tutorial in the wiki. I started to look at the API's but I think that will only be helpful once the log jam in my head is broken. Thanks for being patient with a newbie.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
-
I like GNU/Linux or unix like systems so much that using it 14 years and about 8 years as main desktop system everywhere. My wife, childrens, mom, friends, ... using it too without problems. Nothing is perfect so donwside is lack of some aplications which may be solved with virtual machine (seamless mode...) and some hardware support (which is better every day). I figured before long time that i dont need any windows aplications for my daily computer use! There are plenty ready to use Linux distributions, but i am always ended with some rolling release distribution (Gentoo, Arch, ..) with my own builded "holy grail desktop enviroment" from scratch. This is my desktop history on few screenshots. Last time i installed Manjaro Linux to three new Linux users and they like it more than Windows before.1 point
-
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.1 point
-
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.1 point
-
Hi Freestone, Welcome to the forum. Apologies for not going into detail here but just to say as someone who has used Drupal, your experience in PW will be akin to sitting outside on a warm summer's day with your feet up and listening to the birds sing. Drupal does have advantages when taking on a very complex authoring system but other than that (in my eyes) styling templates alone is enough to make me want to gouge my eyeballs out. Most things here seem pretty straightforward in PW (almost anything is achievable with PHP) and we'd be happy to give you a guiding hand.1 point
-
Of course it is already clear to me which could be more easily maintained and added to...... PW!1 point
-
Thanks Ryan. You give me way too much credit. Happy that I could contribute to selector inputfield. And always grateful that company I work at has great trust and support for processwire. Lister is really a game changer for ProcessWire, thanks for building it Ryan!1 point
-
Marco - as Soma says, use json_decode to turn the JSON you posted into an array, then just use ProcessWire's API as normal to create pages and add this content to your pages if that's what you want to do: http://processwire.com/talk/topic/352-creating-pages-via-api/ If you just want to simply output that data and not save it, then as Soma says, just use json_decode and it will be a normal PHP array that you can use. I think you're thinking there's more to it than that, but there's really not1 point
-
Looks like I had accidentally introduced dependency to PW 2.4.0 with one of my earlier commits. Version 1.3.4, just pushed to GitHub, fixes this.. and again, thanks for reporting this, @homma!1 point
-
I'm not sure if this is what you are looking for, but I use HeidiSQL on my Desktop to manage all MySQL-DBs. It is possible to transfer complete Data or only selected tables from one DB to another on the fly with just a few clicks. Really quick and simple. (It is native for Windows or for Mac/Linux/*nix via Wine, or from a VirtualBox with a Win-Image)1 point
-
You should also be able to grab the last image and add the description to it: $page->images->add($filename); $page->images->last()->description = "description";1 point