Jump to content

arjen

Members
  • Posts

    1,222
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by arjen

  1. arjen

    Deployer recipe

    Are the Assets folder and config.php empty? Or do you need to store the actual folders and files there?
  2. As always
  3. Just stepping in to say thanks. Great little module with nice UI for a streamlined content editor workflow.
  4. @adrian, thanks, forgot to remember! Once again Tracy to the rescue at least for us as engineers of the projects. I would also like to give our client access to login as another user, but I don't want to give him access to Tracy. I believe a module like "Switch User Account" has potential on it's own. For now I'll open the User Switch panel with Tracy.
  5. Hey @Pete, Thanks for this module. Really great to test and a real time-saver. Can I suggest an improvement? I've worked with it for a while and one idea keeps coming back. Whenever I switch accounts I lose my own session. It would be cool if there was a message whenever I switched user and a possibility to log out and go back to the original session. For example: Thanks for considering.
  6. View the source of the page to see the extra content. You could try a $this->halt() at the end to stop rendering.
  7. You could also use a hook. $this->addHookAfter('ProcessPageEdit::execute', function(HookEvent $event) { // Get page being editted $page = $event->object->getPage(); // Only use on pages with the product template if ($page->template != 'product') return; // Set the title & you also have access to all $page fields $title = "New title"; // Overwrite the processBrowserTitle $this->wire('processBrowserTitle', $title); }
  8. It could be server issues, so looking at the logs is indeed logical. Also I've encountered 500 issues when the encoding isn't properly set. First thing I read: we need more info to help, therefore my question
  9. Hey iNoize, Can you turn on $config->debug = true in your /site/config.php and run the script again? Enabling debug makes it easier to find you what is causing the 500 error.
  10. I just found a small article on LinkedIn Pulse (via Google) posted a few months ago by Goran Djuric: ProcessWire CMS. It seems to be written by a consultant, which I like since most articles seem to be written for developers.
  11. Depends on the settings, but by default: yes, a page save under a Pro Cache handled template updates the entire site.
  12. Nice @BitPoet, seems more elegant en better usable. How would you handle this situation where ProCache is enabled?
  13. I would do it like this: Duplicate field "field_name_new" and assign to template. Let client place content in "field_name_new". Create a PHP script (i.e. /public_html/update_field.php) Bootstrap ProcessWire Get the page Copy the value of "field_name_new" to "field_name" (setAndSave method) Remove the "field_name_new" field from template and delete field Schedule a cron job which triggers http://yourdomain.com/update_field.php
  14. Indeed strange. To me this is a must-have when dealing with multi language sites. Right now there is not really a way to overview all languages from the PageTree. Great! In case you need any testing please let me know.
  15. Thanks for pointing out. Must have overlooked this. I was sure it wasn't there yesterday
  16. Does $page even have a sort property? If you want to get the index of the $child you could also check its position in the PageArray using getItemKey(). Something like this: $children = $homepage->children; foreach($children as $child) { echo $children->getItemKey($child); }
  17. Hey @teppo, I've just ran some tests and it seems both saves during inline editting and/or running Page Actions are now properly logged. Thanks!
  18. If you use the JS API no need to hide. Just make sure you disable use on other domains.
  19. Thanks @teppo. Will put it on my to-do list to check.
  20. Thanks Tom. It would be nice if you can look into the issues. I'm currently testing all existing 'tracking' modules for a project. Also please look in the ProcessChangeLog thread (and the thread linked to) since it faces similar issues.
  21. No problem @teppo. Thanks for taking a look. It's something we ran into a while ago. Since I'm testing all the modules which are tracking changes I've ran into this again Thought you should know. Thank you @horst for stepping in!
  22. Thanks for the updates teppo. I've noticed that ProcessChangeLog doesn't log when a page (or rather field) is updated from ListerPro. My guess is this has to do something to do the saveReady hook not being called within ListerPro. Ryan posted a solution to 'force' the hook. p.s. I also posted this in the the Activity Log post by renobird, since I believe it's the same issue.
  23. Hey @renobird, did you release your new version yet? I just ran into the same issues as @SteveB. I've updated the MarkupActivityLog.inc since the FileCompiler didn't like the PHP short tags. Another thing I've noticed is that Activity Log doesn't record/log when a page (or rather field) is updated from ListerPro. My guess is this has to do something to do the saveReady hook not being called within ListerPro. Ryan posted a solution to 'force' the hook. Thanks!
  24. I've used first apeisa's and later on soma's multisite in several installs. Latest versions rocks. Easy by code configurable module. You won't need to be uncertain about the multi site set-up. Not sure about 5.4 php requirement
  25. Nice team effort and thanks Francesco Schwarz and the other people for creating time to handle the issues. Looking forward to new demo front.
×
×
  • Create New...