Jump to content

NooseLadder

Members
  • Posts

    218
  • Joined

  • Last visited

Everything posted by NooseLadder

  1. That's right you don't need to complete all categories
  2. Just received the nominees for the Critic's Choice CMS Awards. Processwire is in the 'Best Free PHP CMS' category. I was surprised that it is not in the 'Best Open Source Category'. You can vote now. Here are the nominees in each category: Best Cloud CMS for SMB Surreal CMS Acquia Cloud Light CMS Best Cloud CMS for Enterprise Acquia Cloud CrownPeak Clickability Best CMS for Corporate Intranets Entando Liferay ocPortal Best eCommerce Solution for SMB ASPx Commerce Prestashop Shopify Best eCommerce Solution for Enterprise BigCommerce Prestashop Shopify Best Free Forum Solution NodeBB MyBB Vanilla Forums Best Commercial Forum Solution IP.Board Ninja Post Vanilla Forums Best Enterprise PHP CMS eZ Publish Plone Typo 3 Best Enterprise Java CMS Adobe AEM Hippo Jahia Best Enterprise .NET CMS Kentico Sitecore Sitefinity Best Enterprise CMS (Other Langs) Mura CMS Paperthin Commonspot Plone Best Free PHP CMS Concrete5 Joomla ProcessWire Best Free Java CMS dotCMS Liferay Magnolia Best Free .NET CMS DNN Platform Sageframe Umbraco Best Free CMS (Other Langs) Mura CMS Plone Best Open Source PHP CMS eZ Publish Joomla! MODx Best Open Source Java CMS dotCMS Liferay Magnolia Best Open Source .NET CMS DNN Evoq Content Sageframe Umbraco Best Open Source CMS (Other Langs) Mura CMS Plone Best Small to Midsize Business PHP CMS CMS Made Simple Craft CMS ImpressPages Best Small to Midsize Business Java CMS Percussion CM1 Liferay Best Small to Midsize Business .NET CMS DNN Evoq Content Envisage CMS Orchard Best Small to Midsize Business CMS (Other Langs) Django CMS Movable Type Surreal CMS Best Website Builder Squarespace Weebly Wix ​EDIT: Irrelevant links removed.
  3. Here is an infinite scroll guide from Google. I hope it helps.
  4. Thanks for the module. I'll report any concerns/wishlist items as requested.
  5. I use skeleton all the time. The std package is definitely 16 cols. I think Ryan added extra @media screen for a minimum width of 1200px for larger screens to the files supplied with the blog profile? Once you get the hang of columns, offsets, one-third columns etc, it's a breeze.
  6. Hi I am just testing the Blog Module as an add-on to an existing PW site. So far so good. It seems robust, why wouldn't it be - it's Processwire Installation is easy. When you install the module it chucks the required templates into the /template/ folder and adds the templates and fields to the admin. There is a separate admin area with a dashboard for the blog. I'm messing about with the styling which is easy - just change what you want in the blog.css. Comments, categories, tags etc are simple to maintain. This is currently on localhost and I haven't finished testing yet but this is what I have found so far. I hope it helps?
  7. @Craig A Rodway. You are truly a Distinguished Member. That works well. Thank you for you help. You can see the live json calendar in action.
  8. Maybe this module might help as a start. Login History
  9. I'm still struggling with this. It should be simple but I'm going round in circles. $events = $pages->find("template=sectionItem, parent=1025|1066|1073|1069|1013|1247|1101, sort=startTime, start=10, limit=3"); foreach ($events as $event) { $start = "".date(strtotime($event->startTime)).""; $title = $event->title; $arr = array( 'title' => $title, 'date' => $start ); echo $data = json_encode($arr, true); } Which gives the following output: {"title":"Llywel Church open days","date":"1370707200"}{"title":"Ladies Night Out","date":"1371250800"}{"title":"Trecastle Knitting Club","date":"1371681000"}The bit I am stuck on it to get to this. [ ] round the complete data set and each { } separated by a comma except the last one. [{"title":"Llywel Church open days","date":"1370707200"}, {"title":"Ladies Night Out","date":"1371250800"}, {"title":"Trecastle Knitting Club","date":"1371681000"}]This will all be in a script (template). Any help will be greatly appreciated.
  10. @mr-fan, Thanks for the reply. Sounds good but I wouldn't know where to start in automating this process. I do not want to have to load the pages manually into the Migrator module.
  11. Have you fixed this yet? If not, did you change the admin page name during the setup i.e. from /processwire/ to /somethingElse/. To get to the admin page change the path from localhost/myblue/processwire/ to localhost/myblue/whateverNameYouChangedItTo/
  12. This looks like what I need. How would I incorporate a $pages->find("selector") into this? $events = $pages->find("template=sectionItem, parent=1025|1066|1073|1069|1013|1247|1101, sort=startTime, start=10, limit=3"); I am trying to use an Event Calendar plugin that needs json input. The supplies js links to a json file but I want to parse the json data straight into the js function as variable jsonEvents. $(document).ready(function() { $("#eventCalendarDefault").eventCalendar({ eventsjson: events.json // link to events json eventsjson: jsonEvents; }); }); The required json format is: [ { "date": "1409389200000", "type": "meeting", "title": "Test Project C Brainstorming", "description": "Lorem Ipsum dolor set", "url": "http://www.event7.com/" }, { "date": "1407862800000", "type": "meeting", "title": "Test Project C Closing", "description": "Lorem Ipsum dolor set", "url": "http://www.event7.com/" }, { "date":"1407862800000","type": "liason","title":"Crai Film Club - The Great Gatsby","description":"Meeting C", "url": "http://www.event7.com/" } ] Any help greatly appreciated.
  13. Well there is this module by Adrian: Migrator You can export part or all of a sites page tree by selecting the parent and it has options to export everything, including all data pages, fields templates and structural pages or fields and templates only. You can also select a changes since date and time and you can select any additional files over the template files such as includes, css etc On the import side there are 3 options: APPEND will not change settings of existing fields, nor the content of existing pages. It will append new fields to templates and new pages (and date) to the selected Parent Page. OVERWRITE will change field settings and edit the content of existing pages so they match the imported data. REPLACE will match the destination to the source exactly, by modifying page data, changing field settings, and deleting unused fields from templates. You can import user data and created/modified dates as options. I have tried this with part of a page tree for a single page and it works ok. I haven't had time to test the changes since option, but maybe this module is close to what we need? When I have more time I will carry out some tests.
  14. Hi, I have a client who wants to update his website content locally. This will take him some weeks. Meanwhile his live site will continue to change due to his customers making bookings online etc. I can't really see a way round this unless one of you genii has any ideas? Kind Regards
  15. I'm trying Jacco Gardner right now. Just a few recent listens. I hope you like at least one? Chicane – Far From The Maddening Crowd Kula Shaker – K (Plus Bonus Tracks) Movement - The Peel Sessions 1977 - 1979 Pavement – Slanted And Enchanted Tinariwen – Emmaar Global Communication – 76:14 Spunkshine – El Gordo Red Hot Chili Peppers – Blood Sugar Sex Magik XTC – White Music The The – Mind Bomb
  16. Just to clarify, the zip file (files.zip) was correctly created in the /1062/ folder but the error mssg pointed to /1022/ which belongs to another page.
  17. Hi Adrian, Admin>Setup>Migrator>edit ?id=1062 1022 belongs to another page in the tree and contains the images for that page.
  18. Hi Adrian, I'm happy to help, thanks. The folder C:/xampp/htdocs/mysite/site/assets/files/1022/migratorfiles is not there. The folder C:/xampp/htdocs/mysite/site/assets/files/1022/ contains some images that I uploaded for a specific page, a thumbnail and the main image. I don't understand why that folder was used to append the migratorfiles folder, maybe because it is the last folder listed in the in the $files array?
  19. Hi Adrian, I managed to get this to work by comment out the following on line 2106: $valid_files = array(); if(is_array($files)) { foreach($files as $file) { //if(file_exists($file['currentpath']) || file_exists($file[0])) /* <-- This line */ $valid_files[] = $file; } } I've tried an import into another site and it works There may be implications I'm not aware of by doing this? Edit: Just tried with latest version 0.1.9 and that works too. Line 2106 in version 0.1.6 is now line 2144 in version 0.1.9 I did get this warning after the import to the new site both in versions 0.1.6 and 0.1.9: Warning: rmdir(C:/xampp/htdocs/mysite/site/assets/files/1022/migratorfiles): Directory not empty in C:\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2182
  20. After finding the correct error_log file I reran this line and got the following: [29-Jun-2014 11:47:45 Europe/London] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2106 [29-Jun-2014 11:47:45 Europe/London] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2106 [29-Jun-2014 11:47:45 Europe/London] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2106 [29-Jun-2014 11:47:45 Europe/London] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2106 [29-Jun-2014 11:47:45 Europe/London] PHP Warning: Illegal string offset 'currentpath' in C:\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2106 And the same set of errors after running this after line 2108: if($filetype == 'json') error_log(print_r($valid_files, true));
  21. Hi Adrian, I will play around and report back. The error I deleted I think were due to me not selecting a parent. I'll test again and let you know. Thanks. BTW, What do you use as a localhost server? You have to forgive my ignorance here: All this time I have been looking in the wrong error_log file. I have now found the correct one and will go through the lines.
  22. Hi Adrian, I did not get any error logged. Regarding the forward slash/backslash question please see the answer from Stackoverflow. I do not know if this helps or not? Rgds, Keith
  23. Hi This is the result: Array ( [currentpath] => C:/xampp/htdocs/mysite/site/assets/files/1062/data.json [newpath] => C:/xampp/htdocs/mysite/site/assets/files/1062/data.json )
  24. Hi Adrian, Thanks for the update but this still does not work. Installed version 0.1.2. It seems that the json and zip files are being created in the folder but the json is not being added to the zip prior to download. I commented out line 320 //unlink($this->session->jsonFilename); The zip file is downloaded without the json file included and the json file remains in the files/folder. If you want me run any more tests please let me know.
  25. exit after line 316 /1203/data.json & files.zip exit after line 317 /1203/data.json & files.zip plus this message: Warning: Illegal string offset 'currentpath' in :\xampp\htdocs\mysite\site\modules\ProcessPageTreeMigrator\ProcessMigrator.module on line 2100 exit after line 318 /1203/files.zip only no json file plus the same warning mssg as above. Each time I deleted the files in /1203/ before running the next test.
×
×
  • Create New...