Jump to content

Gideon So

Members
  • Posts

    516
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Gideon So

  1. @Speed You are welcome. Even better to change the document root in your web server setting.
  2. it is better to do it the other way. Upload the new site to a sub folder. After you test it, create a redirect in the original folder to redirect all the request to the new site.
  3. The .htaccess file come with ProcessWire should work out of the box. The only reason I can think of is that the web server doesn't allow you to override it's default setting values. Do you have access right to the web server config??
  4. I see. Thanks. Gideon
  5. Hi, I found that it is not possible to insert a link with underscore in the sub-domain part of a url, for example, my_sundomain.mydomain.com. Once save the page the link becomes "/". Is it intentional or a bug?? Gideon
  6. Welcome @handzain. This is a very friendly and helpful community. I believe you will get much help here like I did. Gideon
  7. Hi, Done. https://github.com/processwire/processwire-requests/issues/56 Gideon
  8. Hi, When upload a file with non ascii file name, all the characters get stripped. Is there any way to retain non ascii like Asian characters in file name?? Gideon
  9. Hi, As far as I know, no '+' sign in selector. Gideon
  10. Hi, Can you make a screen shot to give us a little more info?? Gideon
  11. Hi, I think it should be $page->nameofthefield->title and $page->nameofthefield->value Gideon
  12. Oooppps. Too many errors today. Didn't notice it until now. Thanks for reminding me. Edited. Gideon @kongondo
  13. Hi BitPoet, I did think the same but I have no access to the client's database. I come with another way, make a custom login form to one of the page and login from the page. Then go back to the admin page. Thanks for your quick reply and help anyway. Gideon
  14. Hi, I accidentally set the admin template to show 404 page when user have no access right. Then I cannot access the login page anymore. Anyway I can roll back the setting?? Gideon
  15. Hi LostKobrakai, It works as expected. Hope this thread help someone in the future. Big thanks to you two. Gideon
  16. Hi Bitpoet, Eventually you are right. In multi-instance environment, you need to call the first object even the limit of the image filed is set to 1. Maybe this is a bug in multi-instance support. Gideon
  17. Hi, Yes. You can see it $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); I tried to set the field both automatic and one. By the way $site->pages->get(pageid)->httpUrl works. Gideon
  18. Hi BitPoet, Yes. The limit to this field is 1. So I think my syntax is right. Gideon
  19. Hi, I tried multi-instance and found that I cannot load image from other installation with $image->httpUrl. <?php $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); echo $site->pages->get(pageid)->imagefield->httpUrl; ?> This return nothing. <?php $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); echo $site->pages->get(pageid)->imagefield->url; ?> This only return the page path like site/assets/files/pageid/ I am using PW 3.0.33 Any ideas?? Gideon
  20. Hi, Thanks. I will take a look and try. Gideon
  21. Hi, Tried. Doesn't work. How to get jQuery modal?? Gideon
  22. Hi, I am building a module which lists some pages in a table with edit add new and delete button. I would like to have a modal window when the edit or add new button is clicked. Do I need to implement a third party js plugins or there is some built-in function in ProcessWire?? Gideon
  23. Hi, Thanks for reminding me. Just closed it. Gideon
  24. Thanks for Ryan's quick work. This bugs has been fixed. Gideon
  25. I think this is a bug that not ready for long whitelist. I make a bug report here: https://github.com/ryancramerdesign/ProcessWire/issues/1968 Gideon So
×
×
  • Create New...