solved JrEmbed place holder tag is not being rendered properly for the custom modules

sekeri
sekeri
@ilker
10 years ago
334 posts
Hi,

I have an articles module which was created using Aparna. When I embed audio files into articles JrEmbed tags are not being rendered properly. Actually it was working fine and don't know which update is the reason of this problem.

This is the relevant code in item_detail.tpl for articles module:

{$item.article_body|jrCore_format_string:$item.profile_quota_id:null:nl2br}

I had a similar problem before but not only for articles module. It was related to Meta Tag Manager. I have also tried to disable it but did not help.( https://www.jamroom.net/the-jamroom-network/forum/my_posts/12108/jrembed-place-holder-tag-is-not-being-rendered)

I attached how it looks like in the page and the problematic page source.

Thanks..
page.JPG.jpg
page.JPG.jpg  •  128KB


updated by @ilker: 11/16/14 11:35:09PM
michael
@michael
10 years ago
7,714 posts
That looks like a CSS issue. Try running the integrity check with reset caches checked.
sekeri
sekeri
@ilker
10 years ago
334 posts
I have tried but it did not help.
michael
@michael
10 years ago
7,714 posts
Its not a problem with the embed tag. All that code is getting passed in fine, i can see it in your image.

The issue is the css file to create the player is not there.
michael
@michael
10 years ago
7,714 posts
I just tried to do as you said:
* create an xxArticle module via aparna
* add the code you have above into it

What I expected to happen:
The output would be the same as in your image.

What actually happened:
The player rendered correctly.

I need more info to be able to help further.
sekeri
sekeri
@ilker
10 years ago
334 posts
You can check it here

http://www.mywebsite.info/jerry-kramskoy/articles/98/theory-for-the-weary-emotional-rescue

Please let me know how I can provide you with more details if you need.
updated by @ilker: 10/10/14 01:51:51AM
michael
@michael
10 years ago
7,714 posts
First thing to do is to use smarty syntax comments to comment out sections.

In your source code you have large sections code commented out with html comment syntax.

Html comments:
<!--  this is a comment -->

This is smarty code comments:
{*   this is a comment  *}
sekeri
sekeri
@ilker
10 years ago
334 posts
That's it !! Thank you so much Michael.
michael
@michael
10 years ago
7,714 posts
Great. I wasn't expecting that to fix it, I just wanted to eliminate it as a possibility.

I'm glad its fixed. :)

Tags