-
Posts
999 -
Joined
-
Last visited
-
Days Won
3
Everything posted by PWaddict
-
Any plans to support for processwire with php 7
PWaddict replied to Mirza's topic in General Support
I'm actually using the 7.0 version and it works great. I don't have any experience on the other 7+ versions.- 11 replies
-
- php 7
- processwire
-
(and 2 more)
Tagged with:
-
Any plans to support for processwire with php 7
PWaddict replied to Mirza's topic in General Support
ProcessWire is already supports php 7. That's the php version I'm using.- 11 replies
-
- 2
-
-
- php 7
- processwire
-
(and 2 more)
Tagged with:
-
No I'm using the 1.1.0 version on both. You haven't actually removed the padding. You have it like this: /* .InputfieldForm label.InputfieldHeader { padding-top: .4em; } .AdminThemeUikit .InputfieldForm label.InputfieldHeader { padding-top: 20px; } */ I don't understand why on localhost it reads that. Is that ok if you remove it completely? EDIT: It was a cache issue. Localhost was reading the previous version's css. I opened the AutoSmush.css link to refreshed it and problem fixed.
-
@matjazp The module's css is causing style issue on the entire admin at inputfield label headers. This happens only on localhost. This line causing the issue: .InputfieldForm label.InputfieldHeader { padding-top: .4em; } Localhost screenshot Server screenshot
-
403 - forbidden message when filling url field
PWaddict replied to fabjeck's topic in General Support
Go to your PW installation files. There you will find the .htaccess file among the site & wire folders etc. Open that file with an editor and paste the above code. -
@bernhard Here is the code I used on site/ready.php and it works great: if($this->page->template == 'admin') { $this->addHookAfter('Page::render', function($event) { $css = wire('config')->urls->templates . 'styles/AdminThemeUikit.css?v=1'; $js = wire('config')->urls->templates . 'scripts/AdminThemeUikit.js?v=1'; $event->return = str_replace("</head>", "\n<link type='text/css' href='{$css}' rel='stylesheet'/>\n</head>", $event->return); $event->return = str_replace("</body>", "\n<script type='text/javascript' src='{$js}'></script>\n</body>", $event->return); }); }; I've also uninstalled Admin Custom Files since I was only using it to inject theme files. Thank you.
-
Is it possible to do this on site/ready.php without creating a module?
-
Here is the css & js structure with the AdminThemeDefault: and here is with the AdminThemeUikit: So maybe it needs an extra hook that is specific to AdminThemeUikit in order for the files to be injected at the very end
-
My custom js for AdminThemeUikit is still loading before the original files. This is happening only for js. The custom css loads properly.
-
I'm trying to inject a custom js for AdminThemeUikit but it loads before the original AdminThemeUikit js files. How to make it load after the original files?
-
-
I think @adrian's reply on a similar topic will help what you want to achieve.
-
Chrome has been officially updated to 62.0.3202.62 and now the problem is gone
-
I just found this one http://www.malevole.com/mv/misc/text/
-
@maxf5 Did you installed the Page Path History core module?
-
I'm already having the latest graphics driver. I don't think that's possible to roll back to an older version of Chrome but I've just installed the latest beta version of Chrome 62.0.3202.45 and the issue is gone. Btw the images are blurry on the beta so I will uninstall it and wait for an update on the stable version. At least now I know that they fixed it. I will post again on the next stable version.
-
I've already disable all the extensions and the issue is still there. I tried both and the issue is still there.
-
I've already updated to the latest nvidia drivers 385.69. I always have the hardware acceleration disabled. I forced vsync on Chrome but nothing is fixing the issue.
-
Install the Admin Custom Files module. On site/templates/AdminCustomFiles folder create a css file named ProcessPageEdit.css and add the following code: .InputfieldImageButtonCrop { display: none !important; } Then on the Admin Custom Files module settings at the "Activate for process" section select ProcessPageEdit, (Page Edit).
-
While I was developing a website in the previous week I notice a strange behavior on Chrome browser. When hovering on image links they were moving down 1px and sometimes getting vertical screen tearing. I couldn't find why this was happening. I googled about this issue and didn't find something similar. Then I saw the exact same issue on other sites too (not mine). It doesn't always happen, you have to scroll up/down first and try to hover on links or img links or even click on those links. I tried other browsers like Firefox, IE11 even the Steam web browser and everything is working fine there. In the previous week Chrome updated to 61.0.3163.100. Is any of you having this issue? Here is screenshot while I was hovering the navigation menu on the Steam site and the vertical screen tearing happened.
-
Module: Video embed for YouTube/Vimeo (TextformatterVideoEmbed)
PWaddict replied to ryan's topic in Modules/Plugins
@renobird Are you trying this on localhost or server? You should try both with the same installation. -
To always display the map at the center even if the browser resized or the full screen button pressed just use the below function: google.maps.event.addDomListener(window, 'resize', function() { var center = map.getCenter() google.maps.event.trigger(map, "resize") map.setCenter(center) });
-
Here is my best solution so far. Now, when I click on the "a:not(.external)" links the pages are always load with "scrollTop(0)" and when I use the browser's back/forward buttons "popstate" I always get the saved scroll position. There is only 1 tiny problem with the "popstate". Once I press the browser's back/forward buttons I get instantly the saved scroll position on the current page and then the page gets replaced with the correct one. How can I make it to get the scroll position ONLY when the page gets replaced and not before? $(function() { $(document).on('click', 'a:not(.external)', function(e) { var replacePage = function(url) { $.ajax({ url: url, type: 'get', dataType: 'html', success: function(data) { $(window).scrollTop(0); var dom = $(data); var title = dom.filter('title').text(); var html = dom.filter('.ajax-container').html(); $('title').text(title); $('.ajax-container').html(html); } }); }; history.pushState(null, null, this.href); replacePage(this.href); e.preventDefault(); }); $(window).on('popstate', function() { var replacePagePopstate = function(url) { $.ajax({ url: url, type: 'get', dataType: 'html', success: function(data) { var dom = $(data); var title = dom.filter('title').text(); var html = dom.filter('.ajax-container').html(); $('title').text(title); $('.ajax-container').html(html); } }); }; replacePagePopstate(location.pathname); }); });
-
@abdus It doesn't work and I don't know how to modify it but thanks anyway!