Comments (7)
Some more info on this one, it happens in the view_preprocessed directory after running static content deploy and di compilation
It actually outputs:
s.src = ' ?>.disqus.com/embed.js';
from module-blog.
Have you entered your Disqus Shortname at blog configuration section (Admin Left Menu > Store > Configuration > Blog) ?
from module-blog.
Yes, without minify it works
from module-blog.
in file
view/frontend/templates/post/view/comments.phtml
try to replace the code
s.src = '//<?php echo $block->getDisqusShortname() ?>.disqus.com/embed.js';
with the following
s.src = '<?php echo '/' . '/' . $block->getDisqusShortname() ?>.disqus.com/embed.js';
then clean cache and make redeploy.
Please let me know if this fix is working for you.
from module-blog.
Updated my previews post.
from module-blog.
OK, thanks
But you forgot about facebook because line
js.src = "//connect.facebook.net/<?php echo $block->getLocaleCode() ?>/sdk.js#xfbml=1&version=v2.5&appId=<?php echo $block->getFacebookAppId() ?>";
becomes
js.src = " ?>";
from module-blog.
Thank you. it is fixed to.
from module-blog.
Related Issues (20)
- Error: Class "Zend_Filter_Input" in Magento 2.4.6 due Zend removal HOT 1
- main.CRITICAL: Error: Cannot instantiate interface Magefan\Blog\Api\UrlResolverInterface HOT 1
- Deprecated Functionality: Creation of dynamic property Magefan\Blog\Model\Config::$scopeConfig is deprecated in /var/www/html/magento/app/code/Magefan/Blog/Model/Config.php on line 118 HOT 1
- Unable to save Blog post, getting error HOT 2
- CRITICAL: Error: Class Zend_Filter_Input not found HOT 1
- Issue with category and blog article with same name HOT 3
- Saving Blog Post items does not working HOT 1
- Post Image not upload HOT 6
- /blog index page keeps working after changing blog route in settings HOT 2
- Class Missing HOT 1
- Enable "Modern" on post view exposes CSS root location HOT 2
- [Feature Request] Category listing in admin like Magento Categories
- Call to a member function getRelatedProducts() HOT 2
- Save category is not working HOT 2
- Installing data... URL key is already in use by another blog item. HOT 1
- When trying to create a category through the admin panel HOT 1
- Module Version in etc/module.xml (2.11.1) does not match composer package version (2.11.2) HOT 1
- "Call to a member function getItemById() on array" when viewing frontend posts HOT 2
- main.CRITICAL: Error: Call to a member function getItemById() on array in /vendor/magefan/module-blog/Model/UrlResolver.php:190 HOT 2
- Media Gallery Click event not open dialog box to add alt text and other inputs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from module-blog.