-
Posts
926 -
Joined
-
Last visited
-
Days Won
1
Everything posted by PWaddict
-
Module: Video embed for YouTube/Vimeo (TextformatterVideoEmbed)
PWaddict replied to ryan's topic in Modules/Plugins
I've sent a PR to @ryan that adds support for lazyload plugins. -
Adds a class="external" and a rel="nofollow" to every external link by default. Optionally adds a rel="noopener", a rel="noreferrer" and a target="_blank". Note: This module is based on TextformatterMarkExternalLinks and some improvements of @teppo that were never implemented due to module's author inactivity. Download TextformatterOptimizeExternalLinks Requirements ProcessWire 3.x Changelog 1.0.0 (3 April 2018) Initial release
-
@mel47 On my code I have it like this inside the head section and works perfect: <script src="https://maps.googleapis.com/maps/api/js?key=<?= $modules->get("FieldtypeMapMarker")->get("googleApiKey") ?>"></script>
-
I moved $templateID inside "if" to prevent "Undefined offset" error on a module page. $this->addHookAfter('InputfieldPageTable::render', function(HookEvent $event) { $id = $this->input->get('id'); $page = wire('pages')->get('id='.$id); $table = $event->object; $content = $event->return; if($table->name == 'mypagetable' && $page->template->name == "mytemplate") { $fieldsarray = array ( 'myfield' => __('My New Header') ); $templateID = $page->template->childTemplates[0]; foreach($fieldsarray as $key=>$value) { $label = wire('templates')->get($templateID)->fields->getFieldContext($key)->label; $content = str_replace($label, $value, $content); } $event->return = $content; } });
-
@mel47 Remove "&callback=initMap" from src and it should be ok.
-
You're right. The module has been updated to 1.0.1. Changelog 1.0.1 (31 March 2018) Module renamed to prevent confusion
-
They are still visible. For example I have a hidden page that's used for AJAX on the Shopping Cart page. Even though the status of that page is hidden it's still visible on admin area. With this module I can hide it from the admin navigation by selecting it's template.
-
Module for hiding pages for non-superusers. Download HidePages Requirements ProcessWire 3.x Changelog 1.0.1 (31 March 2018) Module renamed to prevent confusion 1.0.0 (30 March 2018) Initial release
-
It's not hard. You can find the instructions here plus when you buy the module you will get access to the Padloper Support section here on forum so in case you're having any trouble you can post there.
-
You can buy @apeisa's module Padloper.
-
Yep I forgot to mention the Sessions.
-
Maybe if you delete the PW cache it will fix that too.
-
I haven't used the Focus/Zoom yet but I thought that they actually do the same job as Croppable Image 3...
-
Is it safe to migrate from Croppable Image 3 to the New Core Image Focus/Zoom on a production site? Has anyone done that? If yes what are the steps to do it properly to avoid messing things up?
-
The Google Maps API have just been updated and the "center" is now working on all browsers: When the map is resized, the map center is fixed The full-screen control now preserves center. There is no longer any need to trigger the resize event manually.
-
@Gideon So You have to increase the memory_limit, post_max_size & upload_max_filesize via cPanel's "Select PHP Version" by clicking on "Switch to PHP Options".
-
@Mijo Try this: //Grabbing the news list $posts = $page->children("limit=10"); //Rendering each news post foreach($posts as $post) { echo "Lorem Ipsum..."; //Rendering selected tags inside each post foreach($post->tags as $tag) { echo "<li><a href='{$tag->url}'>{$tag->title}</a></li>"; } }
-
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
PWaddict replied to David Karich's topic in Modules/Plugins
I'm thinking of switching from CSS to SCSS in order to use variables. Very useful for example when you want to change colors. Unfortunately the module doesn't minify scss files. Can someone add this feature? Sorry I'm new to SASS. If I understand correctly I don't need to include a scss file in html. -
LOL!!! Merry Christmas to all!
-
The above function that I posted few months ago it's working perfect for Chrome, Firefox & Opera. On IE11 it's partial working. If the map's full screen button pressed the map is no more centered. On the browser resize is working properly. Anyone knows how to fix this?
-
Yep @ryan's method working perfect. $config->imageSizerOptions('cropping', 'north'); $config->imageSizerOptions('sharpening', 'none'); $config->imageSizerOptions('quality', 80); $config->imageSizerOptions('defaultGamma', -1);
-
I just test it too and it doesn't work. I will try Ryan's method.