Leaderboard
Popular Content
Showing content with the highest reputation on 12/31/2014 in all areas
-
Here in Russia the New Year's eve is much greater deal than Christmass. I know it is not the case at least in USA, probably in Europe too, but still want to congratulate all you PW community all around the world! This was my first year with ProcessWire. I want to say that this CMS and the best ever community around it was probably the one most significant thing I discovered for myself this year The recently published roadmap and the enthusiasm of the community members make me sure next year will be even more exciting. Thank you Ryan and PW addicts all around the world. Happy New Year! P.S. We got some really nice almost -20 C New Year weather. Wonder how is it now where you at))8 points
-
What 100k limit? Somebody here had 500k pages . The page_id field is int(10) - the 10 just means how many digits can be displayed in the db column It is an unsigned integer field so...from the MySQL docs... http://dev.mysql.com/doc/refman/5.1/en/numeric-type-attributes.html http://stackoverflow.com/questions/8892341/what-does-int5-in-mysql-mean http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html You will be fine4 points
-
Peter: I was CMS Made Simple Core dev until now, long story. Then we started looking new system with my partner and tested over 40 systems? Didn't first find suitable for our needs and i almost started building my own and then we found this, which architecture is closest what i had in mind myself. Plus whole ideology behind this system seems close enough what i would prefer. We maintained similar blog for CMSMS that Teppo maintains for you guys, dunno what will happen to that in the future, you can check that in here if you want http://www.i-do-this.com/ And thank you Now i gotta hurry for party, so check you guys later, have a good one3 points
-
FWIW we have an extranet app running on PW, the top 4 parent pages having 2657, 8201, 2850 & 1750 children each. (There is also a non-PW db table that has about 1.6 million rows but that doesn't count.) There are a couple of templates that take longer to load than I would be satisfied with on a public site, but that is because of amount of processing going on when they load. The admin interface is no different in performance terms than a site with 10 pages total. There is no caching, as the data are always changing and all users are always logged in.3 points
-
3 points
-
Changed this to Beta version. I'd appreciate testing (especially character encoding issues and using CSV/Text tab delimited files generated in other systems other than Windows - Linux, Mac, etc..), thanks! Changelog Version 0.0.7 Added optional feature enabling fast import of CSV data using MySQL's LOAD DATA INFILE (off by default, set in Details Tab of Fieldtype). Version 0.0.8 Option to populate matrix table via a .csv/.txt file upload. Top and Bottom Reset buttons to clear all matrix values before save (handy when you want to restart from a clean slate). Fixed issue where saved column header label was not being selected in the InputfieldSelect in the Fieldtype's 'Details' Tab - Thx @Adrian Changed status to Beta. Version 0.0.9 Fixed a character encoding issue regarding fopen (e.g. £ sign not being displayed) - note: if you really need to save such characters in the db, then you are better off copy-pasting your CSV values rather than uploading (i.e. avoid fopen). ============== I'll be writing more advanced find examples for this field using my customer data example. e.g. find records where a customer is <=45 and lives in Cameroon.3 points
-
Most Marketing people I meet have heard of WordPress. It seems I'm repeatedly being asked if I "do wordpress?" when I meet new clients and start talking about content management. Without knowing exactly why their project would be better suited to a more accomplished CMS, most marketing people simply reach for WordPress because "thats what everyone uses right?". It's a challenge we all probably face. In 2015 I'm trying to strengthen my reasons for clients to be more "open" with their CMS choice and at least consider other options. With that in mind, I am wondering how many members here are ex WordPress? I'm trying to get a rough ideas of numbers and some brief stories too. If you have a moment and you came to PW from WP, could you write a few lines about: What made you leave WordPress in general How you discovered PW What you like about PW Any client feedback you've had where a client too moved from WP to PW If you'd prefer to private message me about this, please do.Just to be clear, I'm not looking for a general WP bash here or to create some kind of flame war.2 points
-
Howdy everyone, just switched to ProcessWire and honestly it looks amazing, haven't found much bad to say compared to other systems out there. Who ever initially invented and got idea about hooking system this beauty is using, congrats, haven't seen one anywhere else and it seems to work in all it's simplicity. Anyways my actual question is that can i JUST use admin interface app and Process modules if actual front is not needed, tried to find proper approach for that but since installer forces admin path creation, i tough i ask if it was originally intended to be possible or not. I figured out you can bend this system A LOT, but didn't find direct approach to use JUST admin app build upon this beautiful framework system. Any hints appreciated, thank you. Stikki2 points
-
I have used both Wordpress and Joomla for client sites in recent years and the reason I look to ProcessWire is the same for both - if I am to develop fully a solution then addresses both a client's technical and editorial needs and also their brand and their presence (from the advertising point of view) then I need to move as close as possible to the blank piece of paper as a starting point - it probably says as much for me being an old advertising bloke as anything else Processwire allows me to do that where as both WP and Joomla restrict me before I even start by determining what my content should be and how it is managed. Again, from the front end point of view with both Wordpress and Joomla, I find I either fight to get a decent template out of them or I am trying to bend an existing one. With PW I have complete freedom - so much so that I have now developed my own personal SASS development framework. But the main selling point for me and what I have been telling potential clients is that PW is a TRUE business class CMS, and as they have business needs, that should be their number one criteria. By the way, I don't make comparisons with Wordpress, I just present it as a fait accompli and simply speak about the functionality and the final presentation. It is only when they login that they even know it is something called processwire.2 points
-
Joss, glad that did it! Here's why it caused the error: Cookies are set in the http headers. When PHP sends output before the http headers (as would be the case if you had characters before an opening PHP tag) then it wouldn't be possible to set cookies. The result is that it wasn't able to set the CSRF cookie, so when it went to check if there was a valid CSRF cookie there wasn't, making it think it was forged.2 points
-
Yup, gimme high five on that one. There are so many things in PW that all fit together just like it should. Thank you Ryan, PW and forum for pulling a html guy into php and finally become part of the scene. Read you all again in 2015.2 points
-
Overcast here in Johannesburg, SA - about 22C, and fairly windy. But have a great view for fireworks! Hope you all have a great new year. I'm looking to build some great sites with PW, and release a new module in Jan.2 points
-
Welcome Stikki Lots to do here, loads to contribute to and no one votes anyone or anything in or out. We just get on with it. (And a tendency to be very silly a lot of the time, but we are working on that...)1 point
-
HI, I was literally about to post the same thing, this second. Here is what has happened if anyone else is experiencing this issue: 1. Install XAMMP on windows 2. Install bitnami processwire. Here is where we have the first problem. The bitnami processwire install does NOT allow you to choose which site template and installs the intermediate site template by default. You CANNOT choose an empty site. 3. If you do a manual install of processwire you can install a blank site. 4. When you install processblog, copy over the CSS and JS folders, or edit the blog-main.inc to point to the where you have copied the new files. 5. Edit EACH template file in the BLOG section (Admin > Setup > templates > files > tick the checkbox " Disable automatic append of file: _main.php" then the blog will work. 6. To make things additionally confusing (to a beginner) the intermediate site template has home/about links as does the blog and the blog jumps back to the main site intermediate template. The home / about / links are completely different. To reiterate, the Bitnami processwire install does not allow a blank site template.1 point
-
Joss, what's on config.php line 1? That's an unusual error to see there. I would guess that when the files were uploaded the encoding got changed somehow? Though double check that you don't have some whitespace prepended in your config.php file. Make sure the first thing in it is a <?php with nothing before it. But if everything looks normal, I would guess that when you uploaded the files something got changed. If they got FTP'd in as ascii, try putting them in as binary. Also, for a quick fix, turn off CSRF protection in your /site/config.php file: $config->protectCSRF = false; But i have a feeling that something might be up with the file encoding, which would cause other problems even if you get the CSRF one fixed.1 point
-
Hi everyone! Merry x-mas and happy new year! Just want to share something with those of you that like high quality acoustical music recordings. If that's not your thing, then this post is of no use to you. But if you do, then you might find this useful.... ? Sony have released some new high quality / resolution Walkmans and I am on the look out for some high quality monitoring headphones and the need had arisen to be able to have access to some super high quality high resolution well recorded "real music" such that I / some others could use these recordings to better judge just what you are hearing when auditioning gear.... And luckily for me, Linn Records are actually giving away, until the 6th of January, a free high resolution christmas album. Awesome!!! If you go to http://www.linnrecords.com/ and click on the banner that says 24-Bits of Christmas, you can start your journey. You will need to register and buy the album at $0.00 via their checkout. But you do not need to provide any card details when you register. It is a very painless registration. No verification needed. I bought, for free, both the 24bit / 192kHz alac and flac studio master versions of the album! So now, I have my first ever high resolution audio files! Mind you they are big! This album clocks over 4 Gigs of disk space! If your just after the christmas music to play on your mobile device, then just buy the mp3 version of the album at $0.00 Hope it is of use to some of you. Cheers Zahari1 point
-
When you get round to testing hi quality headphones, even after all these years as a sound engineer, it is rare you find a studio that is not using Beyer DT100s in the studio and DT770 as a reference headphone. I used them years ago and still use them now. Never found anything better. Big, though! And when it comes to testing, the two standard forms of music used are normally any quartet recorded by Deutsche Grammophon and something choral, but not recorded in a church. I know that sounds boring, but it allows a clear precise range. Also, we used to always check monitors by playing back known voice overs speaking, not just music. That is a good reference since we all have better knowledge of spoken voice simply by speaking to people. After that, all the tests in the world are completely pointless - sound is totally subjective (just like colour) so you are looking for a "comfortable average." That is the place not where you think you are getting the most accuracy across a range of sound sources, but rather the place where you are enjoying the experience the most.1 point
-
Hi Adrian Thanks for all your work on this. I've added you as a collaborator on my repo so I think you might be able to merge changes into the main repo yourself if you like? I certainly don't see a problem with anything you've added (aside from me not having tried any of the new things out yet ) so happy for it all to be merged.1 point
-
with a combination of Lister Pro, admin custom pages, and admin custom files you can really extend the backend.. check out some of those modules and also maybe some of the tutorials. i used dashboard on one project, but then when listerpro came out, it got to be so easy to make custom listings of processwire objects (because you can filter on anything), that the dashboard was no longer necessary, in that case; the only thing i ended up having on my dashboard that i couldn't do with lister was a calendar; but turned out they didn't need it anyway; i would still use dashboard if i wanted to include a page in the admin with charts, calendars, feeds, and other items that couldn't be represented in the lister; however with admin custom pages, you can make any page you want in the backend; the dashboard was helping out with getting it to be the first page loaded when you login;1 point
-
Check out Ryans answer beginning with Actually, you can do this (on mobile so i can't see the post id): https://processwire.com/talk/topic/4323-field-dependencies/page-61 point
-
The simple and recommended way is to use a page field ..(with radio as select) Please see these: https://processwire.com/talk/topic/4852-radio-buttons-fieldtype/ https://processwire.com/talk/topic/588-how-can-i-use-radio-buttons/ https://processwire.com/talk/topic/201-fieldtype-select-aka-drop-down/?p=89711 point
-
thanks Horst, I'll go with cleaning the offending template, by removing the functions declarations, and include_once them. these functions are specific to the template, so I'll end up with thetemplate.php and include_once("thetemplate.inc")1 point
-
Hi Gayan Virajith Thanx for your reply. I got the solution. I am using single image field. I am putting url in Description field and in template, i am calling it as <a href='{$image->description}' target='_blank'><img src='{$image->httpUrl}'></a>. Regards, Pravin1 point
-
As posted at https://processwire.com/talk/topic/8501-problem-with-ajax-jeditable-process-module/ I'm playing around with frontend edit plugins... While FCM (FrontendContentManager) was a simple frontend form based on PW form api and inputfields now I'm play with inline edit plugins / modules. Instead of jEditable my last test was based on jQuery inplace edit plugin ("Jinplace"). Jinplace makes a element editable on click and sends object (pageID), attribute (fieldname) and value (the new value) via ajax to a process module. Features editable textfield and textarea page reference field as select (drop down) checkbox and labeled checkbox (Yes / No, translateable) a (buggy / testing) jquery tokeninput tagging widget with autocomplete as jinplace plugin/ extension: add, remove and create new tags (buggy click to close event, but jinplace plugin is just a first self written testing version) The process module also take care about missing required values (page id, field name) to identify the field to work with unchanged values (at the moment returns a json error message inside the editable field) not save empty values to required fields input sanitizing save/ create new tags (pages) via tokeninput fields ToDo bug fixes (dirty javascript code) tokeninput themes (mac, facebook, default) via parameter and also useable as not editable style in the frontend error handling (show a message, ignore and reset, ...?) sync initial value with "default" return value (initial could be "Like" / "Don't linke" but process module returns true / false or "Yes" / "No"...) file / image fields (maybe should be done with another module and PW inputfields - form with inline ckeditor and hidden image / file upload field) Bitbucket Repo: https://bitbucket.org/pwFoo/frontendjinplaceedit Really basic demo! Login: http://samarium-pit.lightningpw.com/processwire/ as demo / demo123 Testing page: http://samarium-pit.lightningpw.com/frontendjinplaceedit/ Don't know if I'll do some more work to create a full usable module. But let me know what you think about it1 point
-
Thanks, Adrian. The new notifications system will be interesting, but in the meantime I took a break, then found what I was looking for in Notices.php. The answer is: $this->message("This message contains <a href=''>a link</a>", Notice::allowMarkup); The code from Notices.php couldn't be clearer: /** * Flag indicates the notice is allowed to contain markup and won't be automatically entity encoded * * Note: entity encoding is done by the admin theme at output time. * */ const allowMarkup = 32; /** * Create the Notice * * @param string $text * @param int $flags * */ public function __construct($text, $flags = 0) { $this->set('text', $text); $this->set('class', ''); $this->set('timestamp', time()); $this->set('flags', $flags); }1 point
-
This is a good way to go, and exactly what I do for predefined settings like required image dimensions and such. What you set in _init.php is for runtime use of your site's template files, and probably nothing beyond that. These variables are good for initializing placeholders that you'll be outputting in your _main.php (or whatever your appendTemplateFIle is called). This sounds like overkill to me, though of course use what works best for you. But you have a couple more options to consider: Use session variables, especially when you want the value to still be present and available on not just the current request, but subsequent ones (from the same user) too: // do this $session->set('my_variable', 'my_value'); // then retrieve it from anywhere (and at any later request) like this: $my_value = $session->get('my_variable'); Set an API variable: // do this wire('my_variable', 'my_value'); // then retrieve it from anywhere like this: $my_value = wire('my_variable'); Whichever route you take there, if you've got a lot of related values to set you might want to bundle them all into an array, so that you only need to set 1 session, API or config variable.1 point
-
You can't do this just out of the box but with a autoload module you could easily accomplish this. Also there's useful needed features in there for an editor. Why is this a problem? It may not necessary in most cases... In PW, almost all of these things can be changed modified using hooks on what builds them in the admin. So if you really want to do it, the best way would be through a module like the /site/modules/HelloWorld.module It shows some example of hooks and is worth a look and have a play anyway. This following module hides the InputfieldWrapper "Who can access this page"? in the settings tab for user having a role "editor". <?php class AdminHelperHooks extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'My Admin Helper Hooks', 'version' => 1, 'singular' => true, 'autoload' => true ); } public function init() { // add hook to the page edit module and the method that creates the wanted fieldset $this->addHookAfter('ProcessPageEdit::buildFormRoles', $this, "removeSettings"); } function removeSettings(HookEvent $event){ // check what role the user has, if not has editor role do nothing if(!wire("user")->hasRole("editor")) return; // $event->return being the inputfield wrapper $wrapper = $event->return; // set the inputfield wrapper to hidden $wrapper->collapsed = Inputfield::collapsedHidden; // we're done } } Create a new file AdminHelperHooks.module with this code in a new folder /site/modules/AdminHelperHooks/ Install and test with editor user.1 point