Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. Are you linking to a backend page or a http:// page ? Try to add a default class for the link and see what happens then. What do you mean by editing the link ? The only way I can edit a link in CKEditor is through the Source button on the right and that never gives me any problem. Did you check the settings for the field where you are editing the link ? For example if body is the field where you are trying to edit a link with CKEditor then check all the settings here: Admin => Setup => Fields => Body => Input => scroll down until you see Format Tags and Extra Allowed Content check if everything has been setup there correctly. Edit: funny how one does learn on the go If I right click on a link in CKEditor a small window pops up with Paste/Edit Link/Unlink Doing a left click on Edit Link opens a window where I can edit the link. Why don't you set debug on and try both ways to edit the link: through the Source button and through a right click on the link and see what possible error debug is throwing.
  2. 1. Are you sure you clicked on the Save button and reloaded the page ? If not processwire won't be able to find the page connected with your new link. 2. Click on the Source button on the right side of the CKEditor toolbar and have a look if the html code of your edited link is ok and stays after reloading your page. CKEditor might strip out some html tags.
  3. Thanks for those examples to see a practical picture. I never used composer before.
  4. Is composer used for managing frameworks, libraries or both ? Can somebody give me a few examples of popular libraries used in your projects that you are going to manage by composer ?
  5. Decoupled Unique page concept Easy-to-use, jQuery-style API
  6. Can you use Caddy like Wamp or Lamp ? I don't see a gui or a database part of it so what's the point, static html ?
  7. Yes, many site owners welcome easy link/picture/doc updating like this.
  8. Hi Jon, Actually a 500 internal server error is a very classical one and in many cases related to the .htaccess ? uncomment # RewriteBase / ? Options -Indexes ? Options +FollowSymLinks ? a module that needs to be updated. ? bad database connection Always do a new fresh install of processwire on the new host. This will tell you first hand if the .htaccess and the settings on the new host match up. Second replace your site folder with the one on the new host, but leave the config.php. Only replace the user salt in the config.php. Normally everything works at this stage but sometimes you have to empty out cache and sessions in /site/assets/cache/ and /site/assets/sessions/, or simply have to set the right php version on the host. If things still don't work set $config->debug = true; check your site/assets/logs/errors.txt, apache error logs.
  9. Nope It will only lead to Processwire getting stuffed with user level wanted features abc, ..., xyz, instead of system level features. The high level of Processwire wouldn't be what it is today. Besides, there is already a wish list channel in the forum.
  10. @LostKobrakai, thanks for coming back on this. I guess if one understands the api, mysql and php enough, you could select only specific database tables to update, leave the rest of the database tables alone and run your own database updater.
  11. Can you show some examples of this ? This would be handy to update only parts of the online database and leave the rest alone. Let's say you develop local on your laptop and want to update the database of the live site on the host. If you have a guestbook, pagecounter, subscriptions, etc on the live site then these will be overwritten in the online database each time you update from your local dev site.
  12. So you only develop online outside the company ? Not local/intranet ?
  13. Vagrant and Virtualbox on windows would make sense: using both windows and linux on your laptop on the same boot partition and sharing files on a second data partition. For example, you would have the ease of windows and the sudo and ssh command line of linux.
  14. @LostKobrakai You were right, the host had php 5.3 configured, but changing it to php 5.4 did not make the problem go straight away. Maybe still some cache somewhere. I had to empty out config.php in the site folder, reload the pages, and put config.php back. Maybe there is a better way for doing this but works for me. After that everything worked. So in the end it was the old php 5.3 on the host like you said.
  15. I think I found a typo that causes a server error 500 on the host, at least that is how it looks when reading the error message. This is what I did: a) I moved a dev site with tracy debugger enabled from my laptop to my host b) Online the site would not open: We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later. error 500 c) Then I disabled tracy debugger in the dev site on my laptop and moved again to my host d) Now the site opened online e) Online I went into the backend and enabled tracy debugger f) Then this error came up and I have no longer backend access nor the site opens: Parse Error: syntax error, unexpected '[' (line 42 of /home/www/mysite.com/site/modules/TracyDebugger/PerformancePanel/Register.php) Edit: I looked at line 42 and to me everything looks normal there.
  16. Yes I'm only developing on windows and host on linux. I like the new phpinfo section, it's not in the way and it saves me oploading my own php scripts.
  17. This can be done very easy: http://processwire.com/talk/topic/2782-template-design-better-route/#entry27206 http://processwire.com/talk/topic/2210-help-getting-a-custom-styles-php-file-working/?p=20641 https://processwire.com/talk/topic/5162-how-to-load-js-css-plugins-colorbox-cycle2/ Also with the delayed output you can set default page css with _init.php and overrule with specifiq page css with template file
  18. Hi Adrian, thanks for releasing version 0.80 I installed version 0.80; error message is gone and immediately the Tracy Toolbar showed up.
  19. Hi, I just installed the tracy module and have this error on the front: Fatal error: Call to undefined function posix_getpwuid() in \site\modules\TracyDebugger\ProcesswireInfoPanel.inc on line 172 The tracy toolbar doesn't show up. I am using PW 2.7.2 with php 5.4.12 and am on windows 7 with a wamp stack, apache 2.4.3 mysql 5.6.10 I looked with google and found that posix_getpwuid() is not available for windows. Maybe someone can confirm this ?
  20. Not sarcastic but curious. Thing is that many times it takes me more time to come up with the final layout, look and feel of a website than the time needed for actually making the website technically. Was wondering how that was for your website.
  21. Just set a default css in _init.php, then use the template file of a page to override the default value. If you want to use compare, using page id would be more easy.
  22. How long did it take to come up with the layout ? Looks good.
  23. We'll what to say here ? Documentation depends on individuals who want to spare time and contribute. If something is not documented yet you can find it mentioned in threads, blog or just by looking for classes in the core. These threads can help you out what you are looking for: https://processwire.com/talk/topic/3145-multiple-views-for-templates/page-2#entry32876 https://processwire.com/talk/topic/4367-using-page-renderoptions-and-template-cache/ https://processwire.com/talk/topic/1102-to-render-or-not-to-render-thats-the-question/ http://www.flamingruby.com/blog/mapping-processwire-page-render-process/ https://processwire.com/talk/topic/1946-page-render-isnt-generating-the-same-output-as-viewing-a-page/ https://processwire.com/talk/topic/5394-page-renderfilename-confusion/ Camilo Castro documented and explains here how his wire render pattern works: https://medium.com/@clsource/the-wire-render-pattern-806bf6d6097a#.jquhbxejn https://github.com/NinjasCL/wire-render-pattern https://processwire.com/talk/topic/11199-mainphp-inflexibility/ https://processwire.com/talk/topic/11836-wirerenderfile-on-child-pages/
  24. Have you tried adrian's brand new debugger module ? https://processwire.com/talk/topic/12208-tracy-debugger/
  25. http://modules.processwire.com/modules/template-engine-factory/
×
×
  • Create New...