Hello, I am new for elgg. I install elgg 1.7.4.
Where are the position of files which elgg home page contains in the elgg folder?
Such as css, js, toolbar, login panel, etc ?
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.
Look at /wp-content/
Thanks for a quickly reply.
Forgive my insensitivity
Where is the /wp-content/ ?
There is no wp-content directory. It exists on Wordpress, not on Elgg.
@yulichika:
For the css:
/views/default/css.php/ and /mod/custom_index/views/default/custom_index.css.php/
If you have any template plugin, the css should reside inside:
/mod/TEMPLATENAME/views/default/css.php/
To edit the homepage elements:
/mod/custom_index/views/default/canvas/layouts/new_index.php/
In my opinion, you should create a new template plugin to make the changes, rather than editing the core plugins or other directories.
~Shouvik
Thanks Shouvik Mukherjee, by your seggestion, I will download a new template and modify it.
And for more question, where is the login panel? If I add a custom page, and I want add the elgg's login panel and session it it. Do you have some good seggestion?
Have a nice weekend.
sorry, just a lapsus between elgg and wordpress XD
emm...I see some theme has already made a login panal on the top of the page.
I tried to separate it out of the theme. I'm now trouble in change a different path (from mod to the parent directory), I think elgg always depend on a start.php.
I'm still agonizing. if someone can give me more advice, let me detours ... ...
@yulichika If I get you the right way, you want to create a new loginpage, right? Well, that is possible. Create a new directory - /accounts/login.php/
Then, put the following code:
The, go to your template and create a directory if it doesn't already has one: /mod/TEMPLATENAME/account/forms/login.php/
Put the following code on it.
This should make a login form appear on http://URL.TLD/account/login.php/
Thanks a lot, this is a great code. this is what I mean.
cheers,
Have a nice day :-}
Hi Shouvik Mukherjee. It works well if I add in to an elgg theme.
But if I add to an empty page. use
<? include("mod/themenames/account/forms/login.php"); ?>
it does not work... ... is it lack of something?
@yulichika : elgg is not using an include function for page contents. Its using a view system for displaying contents.See the wiki : http://docs.elgg.org/wiki/Views
To insert the login form, you need to add <?php echo elgg_view('account/forms/login'); ?>
- Previous
- 1
- 2
- Next
You must log in to post replies.