Jump to content

pwired

Members
  • Posts

    2,318
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by pwired

  1. That website has huge white space areas in the source.
  2. Good find diogo, news about Processwire is on the rise. Like in the days of the modx migration this will eventually lead to the next migration, e.g. wordpress users migrate to processwire.
  3. A simple "Inspect Element" shows that this is an inline styled fixed width of 800px { cursor: auto; width: 800px; height: 318.667px; text-align: left; } Lol you can increase the 800px width directly there in "Inspect Element" to whatever value, then close "Inspect Element" and edit your source in a wider window of your choice. =============================================================== But ok if you want to trace it back in your ckeditor you will find it in sourcedialog.js path = wire\modules\Inputfield\InputfieldCKEditor\plugins\sourcedialog\dialogs\sourcedialog.js Open up sourcedialog.js in your editor and find this part: (with me it is on line 9 and 10) // Make it maximum 800px wide, but still fully visible in the viewport. var width = Math.min( size.width - 70, 800 ); Now, we already found the fixed value of 800px with "Inspect Element" didn't we ? We'll there you have it. Let's say you want to have the Source editor window a bit wider like you mentioned, simply change the 800 value to let's say: 950 then it will look like this: // Make it maximum 800px wide, but still fully visible in the viewport. var width = Math.min( size.width - 70, 950 ); Save your sourcedialog.js and open up a body field in ckeditor and click on Source, y voila - you will now see a wider Source editor window with 950px Note: You can easily change the value of 800 into 1000 and changing the value 1.5 into 1 (line 13) will also increase the height of the Source editor window: 9 // Make it maximum 800px wide, but still fully visible in the viewport. 10 var width = Math.min( size.width - 70, 1000 ); 11 12 // Make it use 2/3 of the viewport height. 13 var height = size.height / 1; Now that will give you a comfortable Source editor window.
  4. #header-search .search-go Firefox v.41 the word Submit should not be visible there, it's distorting the look of the right arrow. Same in all gecko based browser engines. IE8 here it looks normal . . .
  5. Doesn't show up ok in IE8. What levels of browser compatability have been set in the design ?
  6. You need an invite edit: ah ok got it
  7. Look again: http://www.jssor.com/ http://www.jssor.com/demos/ (from simple banner to slick sliders and all responsive) Mauricius gracefully made a module for it: http://modules.processwire.com/modules/process-slider/
  8. - - - - - - - - - - - - - - - - - - Fanbois don't like this but here you go: http://w3techs.com/technologies/history_overview/content_management/all/y
  9. Ok, good to read everything is working. Enjoy processwire.
  10. check .htaccess principal functioning with a call for phpinfo dump from your (relative) root RewriteBase /name of subfolder/ ok ? emedded space in the alias/directory name ? permission error in .htaccess file ? relative/absolute links ? httpd.conf 'AllowOverride All' ? mod_security in your CPanel ?
  11. Maybe a processwire profile would be more easy in the beginning, like Ryans blog profile: http://modules.processwire.com/modules/blog-profile/
  12. Hi, When it comes to making a site responsive you read almost only about @media only screen and (max-width: px) e.g. @media only screen and (max-width: 500px) { body { stuff: values; } } So everything is done the css way. But just a thought. Why not simply detect the device screen resolution and then load a php template file with an include file, specifically made to output a layout and style for that resolution ?
  13. This is working perfectly having it independent from all the different host limitations out there. Big thanks fly out to Adriaan.
  14. I just tested this locally on my laptop with the same setup and there everything is working. It must have something to do with the host. Maybe the host doesn't like something in the index.php Ok MuchDev, thanks for that confirmation. I will install Adriaan's page protector module and stop wasting more time finding some unknown server host limitation.
  15. Hi AndZyk, I double checked the full path to the root. I have put the .htpasswd file in the root next to .htaccess to simplify the path and still it is not working.
  16. Hi, I don't want google to index a website that I am building at the moment, for obvious reasons. The site should be indexed only, once it is completed. I don't like to use <meta name='robots' content='noindex,follow' /> because this will stop only legitimate engines and bots In the past I always could use a .htpasswd file and put this in the root .htaccess file: AuthUserFile /path/to/.htpasswd AuthType Basic AuthName "Identify" Require valid-user For some reason this seems to stop working and processwire multilanguage 2.6.1 throws a 404. I checked both .htaccess and .htpasswd for typo's, etc but can not find anything. If I remove again the 4 lines in the .htaccess file there are no errors. Now I have been looking in the index.php and checking all over any limitations on the host but it is going to take too much time to fix this. What about Adriaan's page protector module ? Does this only work for "pages" in the backend or also for root access ? What I need is blocking the whole site with a password for all search engines indexing until the site is ready.
  17. https://chatsecure.org/
  18. pwired

    Adminer

    Adminer is a nifty small tool, still use it every now and then. It is so small in size that you can simply drag and drop it on your server when you need it and delete it after your database session.
  19. Hi mrkhan, Ok I was digging this for a while and now have it working It didn't work for me also in the beginning because I was testing it for the body field but overlooked the file config-body.js Please first read \site\modules\InputfieldCKEditor\README.txt So, if you want to add/edit your <i class="fa fa-check-circle-o"></i> in your ckeditor body field then you have to configure the file config-body.js To make this work: open in your editor \site\modules\InputfieldCKEditor\config-body.js and make sure at the bottom it looks like this: CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.uiColor = '#AADC6E'; config.enterMode = 2; config.allowedContent = 'i[*]{*}(*)'; }; The line config.enterMode = 2; prevents your <i> tag from being wrapped in a <p> tag wich is default behaviour of ckeditor. The line config.allowedContent = 'i[*]{*}(*)'; allows the <i> tag with wild cards for attributes, styles and classes. I tested this with processwire version 2.6.1 with a body field and all is working. Disclaimer: Tags and classes should stay in css outside ckeditor but when dealing with a client who is already used to edit with a few html tags, adding only a few of them would be ok. I don't see any security issues here. Installing the Hanna code module makes all this obsolete and is recommended by many people here. But for only allowing a single html tag I think the powerful hanna code module is a bit overkill here.
  20. Hi, If you want to allow 'class' like in your case <i class="fa fa-check-circle-o"></i> then go to CK Editor settings for your field and find 'Extra Allowed content' Setup => Fields => yourfield => Input => put use acf back to yes then scroll down where you see Extra Allowed content and open it Looking at the given examples linked to docs.ckeditor.com it should be something like this: i(fa fa-check-circle-o) or simply this: i(*)
  21. Rectification: It never stopped to be responsive, only the small size of width(50) made me not see that. Once I tried width(150) the responsive behaviour became visible again.
  22. Hi, I have a simple right arrow that walks the visitor from page to page, this right arrow is a simple jpg picture. I use following css to have the right arrow jpg responsive: .img{ height: auto; max-width: 100%; width: auto; } However when I have a big version of an arrow.jpg and use api to resize it like this $arrow = $arrow->width(50); it stops being responsive. When I take out the part $arrow = $arrow->width(50); it is responsive again. But then I have to resize the big arrow picture outside with a picture editor before I use it in the backend. Any Ideas how to be able to use $arrow = $arrow->width(50); without the responsive css stop to work ? See second post.
  23. This happened to me once when I forgot to delete a development site on a free hosting. Once the production site was online the two where still connected through the .htaccess file. It looked exactly as you describe your situation now.
  24. They never tell you the specific limitations in their policy do they
  25. Yes here too, the css layout does not show up.
×
×
  • Create New...