Hi,
I have a project to do a community/social network for people to create/share multimedia contents (videos and photos of sports).
Elgg seem to be a strong base for me to work with, but I am a bit lost to customize it the way I need.
I have a strong c++ background, quite a smaller one on php (it's been a while).
My english is usually good, but I seem to struggle to understand the meaning of most documentation sentences!
For the first set I am trying to at least change the login page (the first one!) so I had a look at the custom index mod to see how it's done but I am not sure I understand it well.
The start.php ask elgg to change the index to index.php (from the mod file).
index.php does:
- create all the variable needed to display on the page.
- Merge it with the view/default/page/layout/custom_index.php (function elgg_view_layout)
- Display it with the elgg_view_page
the layout does:
- check if the module is activated and display it with the variables taken from index.php
Questions?
is $params from index.php the same as $vars in custom_index.php?
I don't understand $mod_params = array('class' => 'elgg-module-highlight'); in custom_index.php
The wiki/view(http://docs.elgg.org/wiki/Views) page does not talk about the function elgg_view_layout, what is the difference between template and layout?
what are those lines for?
// a view for plugins to extend
echo elgg_view("index/lefthandside");
And also, is there a way to have that page to have a custom header and footer?
PS: any link to good easy to understand tutorial for creating theme/plug in would be nice too, the search function doesn't give me great resultfor 1.8!
I can't find what are the files hierarchy to have, the most important function/files to use and what they are for etc....
I had a look at easy theme also, but it have a completly different hierarchy of file!
PS2: http://community.elgg.org/groups/58806/the-idiots-guide-to-changing-elgg/ this is like the name of what I am looking for but it is not available anymore!
I will keep having a look and trying to figure things out.
Thanks.
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.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- ***@IltikA
*** - 0 likes
You must log in to post replies.they elgg (sic) team deleted it ? such wonderfully usefull content and they deleted ?? http://docs.elgg.org/wiki/Plugin_development some | a lot of what you're looking for cannot be 'answered' here in a few short sentences;; you'll need to spend *hours studying to learn what-to and how-to.
I went through a fair amount of documentation and I do start to undestand it a bit more.
I will keep playing with it and ask when i need, thanks.
I also found this guide which help a bit to understand some basic stuff
http://www.solutiongrove.com/docwiki/beginners_elgg_guide