Hi friends,
I,m doing tests with the "groups" and "tidypics" plugins. I'm trying create a new view from to show the latest albums of the group otherwise actual.
I know that's in the file /mod/groups/groupfile.php have a line that add the view of items from the profile group.
$area2 .= elgg_view('groups/profileitems',array('entity' => $group));
Inside of the file load a view elgg_view("groups/right_column".....)
From here all good, I go to the tidypics plugin and in the start.php file see that the view "groups/column" replace by "tidypics/groupprofile_albums". I trying modify this line by my line.
elgg_extend_view('groups/right_column','tidypics/groupprofile_list_album_ajax');
The file groupprofile_list_album_ajax is inside of the directory /mod/tidypics/views/tidypics/ in the same level that value by default.
¿Why doesn't load this file? What am I doing wrong?
p.d: My english is bad, sorry.
Thankyou for the help!!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Jorge Jordà@jorgejorda
Jorge Jordà - 0 likes
- RPGRealms@quiklink
RPGRealms - 0 likes
- Jorge Jordà@jorgejorda
Jorge Jordà - 0 likes
You must log in to post replies.I used the method elgg_view_exists with my view tidypics/groupprofile_list_album_ajax and return false. The view not exists.
How do I add the view?
Thanks!!!
put it in the Groups folder
/groups/views/default/tidypics/groupprofile_list_album_ajax.php
This doesn't work.
The provisional solution had add in the start.php file of plugin tidypics the next line:
Is it okay???
What is the solution??
Thanks!