By Karen Laksamana on Wednesday, 22 May 2019
Posted in General Issues
Replies 3
Likes 0
Views 548
Votes 0
I'm using an EasyBlog subscribe module on my site, and I wondered how I can figure out the src URL for that module in order to embed it in an iframe in a static html tab in Facebook.

For example, Acymailing has the following example code to embed a mailing list subscribe module:


<iframe src="https://www.YOURWEBSITE.COM/index.php?option=com_acymailing&ctrl=sub&task=display&tmpl=component&formid=YOUR_MODULE_ID" height="YOUR_HEIGHT" frameborder="0" width="100%" ></iframe>



For an Easyblog subscribe module, I would think the source would be something like:

"https://www.YOURWEBSITE.COM/index.php?option=com_easyblog&ctrl=sub&task=display&tmpl=component&formid=YOUR_MODULE_ID";

but I can't figure out the tmpl or module ID part of the source to make it work for the Easyblog module. Everything I've tried just displays the whole Easyblog frontpage in my Facebook tab.

Any help? Thanks!
Hey there,

I am really sorry for the delay of this reply as it is a public holiday for us here.

I think you can't think it this way, because different component also have their own different code structure, in order to use this following URL format to render a iframe, I believe they got a function to handle these few URL query string e.g. ctrl=sub&task=display&tmpl=component&formid=YOUR_MODULE_ID

It would be best consult with Acymailing developer regarding this where is the PHP file handle this so you can able to see how they implement this.
·
Wednesday, 22 May 2019 09:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,
If I understand your response, are saying there is not currently a straightforward way to target a specific EasyBlog module on my site to load it externally in an iFrame? And that in Acymailing's example, they are not necessarily using standard Joomla strings in the URL and appear to have specifically configured a way to do this within their component?

Thanks,
Karen
·
Thursday, 23 May 2019 02:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, you understand it correctly, currently Easyblog do not have this.

And that in Acymailing's example, they are not necessarily using standard Joomla strings in the URL and appear to have specifically configured a way to do this within their component?

Currently I am not sure how they made it, but I think the better is consult with them and see how it goes, so you can understand more how they code it.
·
Thursday, 23 May 2019 11:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post