By Mist on Thursday, 13 February 2014
Posted in General Issues
Replies 5
Likes 0
Views 1.1K
Votes 0
I am trying to override the stream output for apps and i need a small tip

I noticed that the stream output is controlled by apps theme files located under the directory shown below

/media/com_easysocial/apps/user/


For example, the EasyDiscuss app stream is controlled by files located under this directory

/media/com_easysocial/apps/user/discuss/themes/default/streams/


The question is how to override/modify some app files in order to avoid any issues with future updates ?

For example, if i wany to override the file below

/media/com_easysocial/apps/user/discuss/themes/default/streams/create.title.php


How to proceed ?
Of course i can modify the file directly in order to obtain the output i want but i assume on future updates i will loose my changes.
Hello Mist,

EasySocial 1.1.x does not support template overrides for apps yet but EasySocial 1.2 would. Basically it will search for your app theme file in the following location

/templates/JOOMLA_TEMPLATE/html/com_easysocial/apps/user/discuss/streams/create.title.php
·
Thursday, 13 February 2014 10:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

i try the same for the upcoming birthday app

the Basictemplate is located in:
/media/com_easysocial/apps/user/birthday/themes/default/widgets/upcoming.birthday.php


Than i try to create the override in:
/templates/JOOMLA_TEMPLATE/html/com_easysocial/apps/users/birthday/widgets/upcoming.birthday.php


but it doesn`t work - joomla load the default template.


Maybe someone has a suggestion to fix it?
·
Friday, 19 June 2015 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steffen,

I am sorry for the delay of this reply as it weekends for all of us here.

Seems like your user folder is spelt as "users" instead of "user". Try change the folder name and see how it goes.
·
Monday, 22 June 2015 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
thx - it works fine

now i have a second question regarding overrides

I create a override for userlist

//Basictemplate
/components/com_easysocial/themes/wireframe/users/default.list.php

//Override
/templates/JOOMLA_TEMPLATE/html/com_easysocial/users/default.list.php


It works realy fine, but it's possible to create ah new view-controller for this override to control the output of my new user-list?


//Path of View
/components/com_easysocial/views/users/view.html.php
·
Wednesday, 24 June 2015 21:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steffen,

I am sorry for the delay of this reply.

Unfortunately it is not possible to override the view.html.php file.
·
Thursday, 25 June 2015 10:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post