Jump to content

Manol

Members
  • Posts

    292
  • Joined

  • Last visited

Everything posted by Manol

  1. Need a hint on where to start to render the form manually, without using $form->render(); Any advice? Regards.
  2. Awesome Soma, it opens the door to many things, I'm really happy with that!.
  3. I have tried that from your example: // create a text input $field = $modules->get("InputfieldText"); $field->label = "Name"; $field->attr('id+name','name'); $field->label = "Name"; $field->attr("class" , "myclass"); $field->required = 1; $form->append($field); // append the field to the form but I get that: <li class='Inputfield InputfieldText Inputfield_name ui-widget InputfieldStateRequired' id='wrap_name'> <label class='ui-widget-header' for='name'>Name</label> <div class='ui-widget-content'> <input id="name" class="required InputfieldMaxWidth" name="name" type="text" maxlength="2048" /> </div> </li> myclass doesn't appear.
  4. What's the best way to achieve something like that: $field->set("class" , "myclass"); Regards.
  5. Now looks much better I'll give it a deeper try, thank you.
  6. Hello Macrura. I tried Feng, the only problem is that the free community edition is quite reduce, no calendar..., this is what I get after installing it.
  7. Sublime Text 2 (multi cursor is awesome).
  8. Thank you Macrura. I'm trying dotProject (opensource, PHP, mysql) and is surprising me. I got 15 youtube videos from Michael Donahoe, , it worth a try, apart from microscopic typography the functionality is quite good.
  9. Hello. I'm looking for a Project Management System, PHP, mysql, opensource, do you recommend anyone?. I'm trying collabtive but it looks from the 80's. Regards.
  10. Don't understand why /site/assets/sessions/ file dissapeared, but after creating it again I can access my admin area. Thanks.
  11. I followed the above steps but still not working, my webpage is running on 1an1 cloud computing server it works but can't access the admin area, here is what I did to try to solve it: 1.- site/assets, chmod 777 recursively 2.- $config->protectCSRF = false; added to config.php Now I try to login and get the same login screen Regards.
  12. Does anybody know why I get this message when trying to access the admin area? Regards.
  13. Danke, ich hatte das gleiche Problem auf zwei Seiten, aber jetz beiden arbeiten.
  14. Fantastic Horst. It´s working now, thanks. I tried to put two lines of text on each box so they would have the same height but didn't work, it does with your trick. I added .span3 { height: 320px; } to a different css just in case I upgrade bootstrap. Thank you very much.
  15. Hello. I´m creating a webpage with processwire and bootstrap, when I hover over the second and third images, the second file of images jump to other positions, it just happens with firefox, have you got a similar problem? web: http://interdidak.indinet.es/productos/medio-ambiente-y-sostenibilidad/ Thank you
  16. Manol

    .htaccess

    Hello Willy. Now I get different results form different tools as you can see below: Page speed (http://gtmetrix.com/) -> Leverage browser caching is ok here: YSlow (http://gtmetrix.com/) -> Add expires headers here says: YSlow (chrome plugin) -> Add expires headers, NOT OK Hi Horst <IfModule mod_expires.c> is loaded. Thanks
  17. Manol

    .htaccess

    Hello. I'm trying to speed a phone webpage by setting expires headers in the htaccess file like this: ... all processwire htaccess settings .... ################################################################################################# # END PROCESSWIRE HTACCESS DIRECTIVES ################################################################################################# </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType text/css "access plus 2 months" </IfModule> but when I check my webpage whit YSlow I get the following results ( snapshot in the attached file): Grade E on Add Expires headersThere are 4 static components without a far-future expiration date. (2013/6/11) http://patrimonio24.com/site/templates/css/style.css (2013/6/11) http://patrimonio24.com/site/templates/css/add2home.css (no expires) http://patrimonio24.com/site/templates/js/add2home.js (1981/11/19) http://patrimonio24.com/images/demo_content/metroentrance57.jpg as you can see the .css files have a expire date of today not two months as intended and the forth has 1981 expire date, when is supposed to be 1 month form access (today 2013/6/11). I'm using a 1and dynamic cloud server centos 6. Thanks in advance to everybody!
  18. Manol

    Karena Savannah Cramer

    Congratulations on the arrival of your newborn baby Ryan!!!
  19. Before I deleted ModulesManager.cache, pw coudn't access it either, when I deleted it I suppose pw tried to create a new one but it wasn't able due to permissions I suppose.
  20. Hello Soma. That's what I thought, but when I removed the file, the website stopped working, the reason was because the permissions for the cache directory wasn't set properly so pw couldn't write a new file. Thanks for your help it gave me the power to double check the problem, now is working.
  21. I was trying to use Module Manager but got a permission error about ModuleMaanager.cache, then changed to it to 777 but got the same error, the I tried to delete that file and create a new one with the same name (me idiot) now I get the same error as you: Error: Exception: DB connect error 2005 - Unknown MySQL server host 'Config' (1) (in ...../wire/core/ProcessWire.php line 96). I've got a fresh copy so no worries, just wrote it here in case it helps. maybe is all about ModuleMaanager.cache permissions when you upload it to your server.
  22. Hello Roelof. You can do that for a right arrow: <img id="arrowright" src="/yourfolder/arrowright.png" width="64" height="64" /> and than, $("#arrowright").click(function() { $('#magazine').turn('next'); }); same process for left arrow $("#arrowleft").click(function() { $('#magazine').turn('previous'); }); If you want to use left and right keyboard arrows: $(window).bind('keydown', function(e){ if (e.keyCode==37) $('#magazine').turn('previous'); else if (e.keyCode==39) $('#magazine').turn('next'); }); Hope it helps.
×
×
  • Create New...