By Techjoomla on Tuesday, 15 October 2013
Posted in Technical Issues
Replies 6
Likes 0
Views 761
Votes 0
Hello,

I have to create app which will push different massages on user stream / wall.
Different messages like -
1. when store owner add newly product in his store - Product information will be post on his wall .
such type of massage has to push in stream.

I have checked tutorial on site http://docs.stackideas.com/developers/Applications/Application_Methods to create a app. But doc is not updated..

Please suggest me how could i do this? Please reply me as soon as possible (Stuck in developement).


Thank you in advance
Hello,

We are developing App for our component and we have to include one view in our component.

We have included view in your APP. But as of now
echo $this->loadTemplate('template_name');
is not working for us since

Can you tell us what is a ideal way to include component view in APP?
·
Friday, 27 June 2014 16:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Parth,

You can't actually include a component view in your app. You can however include a view in your app itself though.
·
Friday, 27 June 2014 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

ok actually we have one joomla view We using require_once function to include it. It has multiple layout
So we want similar functionality like

echo $this->loadTemplate('template_name');

As in joomla which also considers template overrides. Is there similar function in Easysocial?
·
Monday, 30 June 2014 17:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Parth,

Unfortunately this isn't possible because we are using our own template architecture and it's actually a little different than Joomla's template architecture. The reason that we built our own template layer was because Joomla's template layer wasn't really as flexible as what we wanted.
·
Monday, 30 June 2014 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
ok then what is ideal way to include script in your APP. Since in canvas view we cannot include javascript by
$document->addScript($filename);
I think its ajax based and we cannot include it

What is ideal way to add it?
·
Tuesday, 01 July 2014 22:44
·
0 Likes
·
0 Votes
·
0 Comments
·
You should put it in the __construct method of your app in /media/com_easysocial/apps/user/yourapp/yourapp.php . Since the apps are actually initialized on the page load.
·
Tuesday, 01 July 2014 23:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post