-
AuthorPosts
-
lililout Friend
lililout
- Join date:
- June 2010
- Posts:
- 10
- Downloads:
- 10
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 12, 2014 at 11:57 am #193679Comments plugins don’t show on photos and videos article type. I use Komento. How can I turn it on? Thanks
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 13, 2014 at 8:18 am #518222The issue relates to the displayContent position that our template defines for the text article type only. In order to show the Komento comments on Videos and Photo article, you can open templatesja_magzhtmlcom_contentarticledefault.php file, replace the code:
<?php if ($exinfo['type'] == 'text'): ?>
<?php echo $this->item->event->afterDisplayContent; ?>
<?php endif ?>with:
<?php echo $this->item->event->afterDisplayContent; ?>
lililout Friendlililout
- Join date:
- June 2010
- Posts:
- 10
- Downloads:
- 10
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 13, 2014 at 2:00 pm #518274Hi,
Thanks for your reply. The suggested change works but it breaks the gallery/video layout (see screenshot). It does not respect the margins and layout of the page.
Regards,
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
lililout Friendlililout
- Join date:
- June 2010
- Posts:
- 10
- Downloads:
- 10
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
January 14, 2014 at 2:12 am #518336You can try to create a custom.css file at …/templates/ja_magz/css/ path and add following css rules:
#section-kmt #kmt-fame {
width: 586px;
margin-left: 100px;
}#kmt-form {
width: 600px;
margin-left: 100px;
}That should help to display the Komento comment section better.
1 user says Thank You to phong nam for this useful post
lililout Friendlililout
- Join date:
- June 2010
- Posts:
- 10
- Downloads:
- 10
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 14, 2014 at 12:00 pm #518421Hi @leo Burnetts,
Thanks for the tips. To keep it responsive and only on video/gallery pages. I’ve added the following code and it works well !
.view-article.photo-page body .t3-content div#section-kmt.theme-freso,
.view-article.video-page body .t3-content div#section-kmt.theme-freso,
.view-article.media-page body .t3-content div#section-kmt.theme-freso {
width: 70%;
margin-left: 15%;
}1 user says Thank You to lililout for this useful post
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by lililout 10 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Comments on Videos and Photo
Viewing 7 posts - 1 through 7 (of 7 total)