Jump to content

SiNNuT

PW-Moderators
  • Posts

    1,011
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by SiNNuT

  1. There are several options i guess. Have a look/read: http://processwire.com/talk/topic/1001-pagebreak-or-multi-page-on-single-entry/ and http://processwire.com/talk/topic/1516-cutting-long-content-into-url-segments-with-html-tag/ I'm not sure if there's talk about making TOC's in those threads but i think that would be fairly easy to code.
  2. PW supports periods in page names. Page name basically dictates the url from which a page is accessable. So you could just manually add .htm on the end of the page name (on the settings tab). Remember to turn off the trailing slash setting on the corresponding template(s). More info on: http://processwire.com/talk/topic/45-url-schema/ If you would like PW to automatically handle adding .htm or whatever you like i'm sure this would be a fairly simple module. I'm sure someone on the forum could help out with that.
  3. A problem with Redactor is that you need to pay for it, although we (the community) could probably easily raise the 399 dollars needed for a OEM license in behalf of PW if needed. Personally i haven't had too many problems with Tinymce, but that's more or less from a end user perspective.
  4. You state that you think PW has a brilliant concept but judging from some of your questions i don't think you (fully) understand the concept. In no way is this meant to sound harsh but in this case i really think you should take some time and study some of the docs and wiki stuff. Follow some tutorials like, 1 and 2, this really helps to get a grasp on how things like, fields, templates, templatefiles and pages work in the system.
  5. Haha, i've got no probs with batcher....just joking...most important thing is what it does Other options: PW_BulkEdit PW_Bulker PW_MassEdit
  6. +1 for ProcessBadger (Batcher reminds me too much of he MODx counterpart http://rtfm.modx.com/display/ADDON/Batcher )
  7. I agree with previous posters; this sounds like a pretty specific web app/site. I would definately do some research before trying to build something on any cms, cmf er general framework. I you google for something like 'open source software for online learning' you may find some interesting stuff, but i gues you already have done so? This Google project seems interesting: https://code.google.com/p/course-builder/
  8. Not bad....not bad at all
  9. Hi cristian and welcome to the forums. I don't think there is a guide for this. Depending on the scale and type(s) of content i think a migration from Evo to PW often is relatively simple. I have done 1 Evo to PW migration. This only consisted of a couple of hundred news pages in Evo. These pages had their own template and a couple of template variables attached to them. So what i've done is run a couple of sql queries via phpmyadmin to get the page data and it's associated template variable data. I then exported the stuff to a csv file. Then after some minor adjustments to the csv i imported it with this module: http://modules.processwire.com/modules/import-pages-csv/ Of course, before doing so, make sure you've set up the template(s) and fields you need in PW. This is a very simple example; if the data you wish to migrate is more complex and/or high volume you would have to make use of the excellent PW api to achieve this. If you could give some more details i'm sure there are people on this forum that can give you some further help.
  10. I never got around to actually working on the project but maybe this thread can be of some interest: http://processwire.com/talk/topic/1486-modelling-data-in-pw-page-relations/ Also if you go with pages take a look at the db structure of templates, fields etc. The way you use fields can have implications should you want to use certain sql queries/functions. http://processwire.com/talk/topic/2047-group-by/
  11. With some conditional logic like $homepage = $pages->get('/'); if($page === $homepage) { echo "<title>Company Name - {$parent->title}</title>"; } else { echo "<title>{$parent->title} - Company Name</title>"; }
  12. Next to the using the API for this task you could also use this module for the task. I haven't tried it with Users myself but seeing that they are also 'just' pages i think it should be easy to import a couple of thousand users from a csv file. The module also gives some options on updating via csv.
  13. I think you already have your solution but on a sidenote; if it's only about hiding stuff from search engines you could just add <meta name="robots" content="noindex, nofollow"> in the head section of the faq entry html.
  14. There's the short open tag and the short echo tag. In php5.4 the short echo is always available but not the short open tag. Some more info here with a comment from a php dev member. I quite like my short echo's in templates and don't consider them bad.
  15. SiNNuT

    Happy new year!

    Still another 8 hours here in Holland but best wishes for 2013 to everyone here!
  16. One more thing. Seeing as you mentioned a migration scenario, be sure to checkout http://modules.processwire.com/modules/import-pages-csv/ if you haven' t already. In a lot of scenarios very useful for importing some data.
  17. To be honest i'm amazed that i wasn't far off track, made my first amazing module hehehe Indeed, you'd probably want to check for templates that actually have the publish_date field. Also maybe build in the logic for what needs to happen when a published page gets 'unpublished', because it now basically only fires once; when a page gets published that has an empty publish_date field Curious to see if there are other/better approaches.
  18. I don't have coding skills but if you have some this would be an easy module i guess. Something like: /** * * "Set Publish Date" module * */ class SetPublishDate extends WireData implements Module { /** * getModuleInfo is a module required by all modules to tell ProcessWire about them * * @return array * */ public static function getModuleInfo() { return array( 'title' => 'Set Publish Date', 'version' => 001, 'summary' => 'your summary', 'singular' => true, 'autoload' => true ); } /** * Initialize the module * * ProcessWire calls this when the module is loaded. For 'autoload' modules, this will be called * when ProcessWire's API is ready. As a result, this is a good place to attach hooks. * */ public function init() { // add a hook after the $pages->save $this->pages->addHookAfter('save', $this, 'afterSave'); } public function afterSave($event) { $page = $event->arguments[0]; if($page->is(Page::statusUnpublished) || isset($page->publish_date)) return; $page->of(false); $page->publish_date = date('Y-m-d H:i:s'); // not sure about the date format $page->save('publish_date'); // save only specific field like this? } } Perhaps someone more experienced can help you out
  19. I was wondering where those failures where coming from..thx
  20. You are both correct. See also: Haven't used repeaters for a long time, but it seems that feature isn't implemented (yet).
  21. SiNNuT

    Hi Everyone

    MODX + kongondo gets me pretty excited! Could it be that you're the author of the Wayfinder bible? If so, “tutorials-kinda-guy” is a bit of an understatement! If not, equally welcome. ps there's already a bit of a PW Wayfinder going on...http://modules.processwire.com/modules/markup-simple-navigation/
  22. To answer your question you should write down what your site should be able to do. You then got the functionality. After that also think of data structures, routing etc. Then compare that to what PW offers 'out of the box', and keep in mind it's intended use. Now you know the areas where you need to do your own coding. Let's say you want to mimic the features described here http://www.freelancify.com/features, imo you are looking at a good deal of custom coding. I think this can be done in PW but in this case it might be worth considering building something from scratch based on the back of one of the modern PHP frameworks out there. You could also post a project on Freelancify and have someone else build your own freelancify
  23. http://processwire.com/talk/topic/364-failed-test-for-json-support/#entry15662 https://github.com/ryancramerdesign/ProcessWire/issues/118 Probably just some fluke in the installation routine and it's requirements checking.
  24. SiNNuT

    20.000 massages

    anything with a happy ending?
×
×
  • Create New...