ok continuing on my questions.
How do I go about adding a 4th widget dropdown area to my theme?
I'm trying to put a 4th area, on the member profile page, right below the member profile block info, that is the exact same size. Then the left 2 columns would begin below this block.
What I can't figure out 'I think' is what file is generating the 3 widget areas on the profile page.
in the profile/start.php I see this at the end
// Define widgets for use in this context
use_widgets('profile');
I then look at the architecture of the profile page and my best guess is that defaultprofile.php page is the page generating the actual user profile information block on the profile page.
or it's the userdetails.php page doing that block.
What I can't find is the 'master' profile template file that defines where to put the profile block and the 3 widget areas on the page for displaying 'profile widgets'
My best guess is it is the defaultprofile.php file that generates the page with the last part of code
page_draw(elgg_echo('profile:edit:default'),elgg_view_layout("two_column_left_sidebar", '', $title . $form . $listing));
making it so that there is 2 columns of widgets under the user info block?
even if i do figure that part out.... would i not have to define a new 'three_column_left_sidebar' or whatever it needs to be called somewhere?
sure would be nice if there was a graphic layout somewhere that details the default theme and which files draw it out jsut an idea.....
I'm getting the idea that adding widget areas to elgg is nowhere as easy as it is in wordpress where I just add a new widget area to my theme template and it automatically shows up in my theme admin dropdown when choosing where to place widgets.
Here is an example of how I do it in wordpress.
If I want to add a new widget area then I simply add this to my template
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget1_R') ) : ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget1') ) : ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget2_R') ) : ?>
etc, etc, etc....
This automatically creates a new widget area in my admin interface that allows me to drop widgets into the specified area.
Does elgg have such a system where I can just define a non-existing widget area, and it will automaticallly show up on the edit screen for the mod in question... in this case profile page?
ok continuing on my questions.
How do I go about adding a 4th widget dropdown area to my theme?
I'm trying to put a 4th area, on the member profile page, right below the member profile block info, that is the exact same size. Then the left 2 columns would begin below this block.
What I can't figure out 'I think' is what file is generating the 3 widget areas on the profile page.
in the profile/start.php I see this at the end
// Define widgets for use in this context
use_widgets('profile');
I then look at the architecture of the profile page and my best guess is that defaultprofile.php page is the page generating the actual user profile information block on the profile page.
or it's the userdetails.php page doing that block.
What I can't find is the 'master' profile template file that defines where to put the profile block and the 3 widget areas on the page for displaying 'profile widgets'
My best guess is it is the defaultprofile.php file that generates the page with the last part of code
page_draw(elgg_echo('profile:edit:default'),elgg_view_layout("two_column_left_sidebar", '', $title . $form . $listing));
making it so that there is 2 columns of widgets under the user info block?
even if i do figure that part out.... would i not have to define a new 'three_column_left_sidebar' or whatever it needs to be called somewhere?
sure would be nice if there was a graphic layout somewhere that details the default theme and which files draw it out jsut an idea.....
I'm getting the idea that adding widget areas to elgg is nowhere as easy as it is in wordpress where I just add a new widget area to my theme template and it automatically shows up in my theme admin dropdown when choosing where to place widgets.
Here is an example of how I do it in wordpress.
If I want to add a new widget area then I simply add this to my template
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget1_R') ) : ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget1') ) : ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget2_R') ) : ?>
etc, etc, etc....
This automatically creates a new widget area in my admin interface that allows me to drop widgets into the specified area.
Does elgg have such a system where I can just define a non-existing widget area, and it will automaticallly show up on the edit screen for the mod in question... in this case profile page?
i just was thinking of something where we could have page a url to it and then place html code in the page... I dont need an editor just a page where there is a section to add html code thats enough. I am sure I can figure it out with the plugs out there like the FAQ plug but i was just wondering if there was something even simpler.
and its for embed code so people can paste banners on myspace profiles and what not... once i have the page setup can do the rest in html and php
I was not thinking of the badge. But, I badly need the technology to be able to create new pages. :|
i just was thinking of something where we could have page a url to it and then place html code in the page... I dont need an editor just a page where there is a section to add html code thats enough. I am sure I can figure it out with the plugs out there like the FAQ plug but i was just wondering if there was something even simpler.
and its for embed code so people can paste banners on myspace profiles and what not... once i have the page setup can do the rest in html and php
I was not thinking of the badge. But, I badly need the technology to be able to create new pages. :|
ok continuing on my questions.
How do I go about adding a 4th widget dropdown area to my theme?
I'm trying to put a 4th area, on the member profile page, right below the member profile block info, that is the exact same size. Then the left 2 columns would begin below this block.
What I can't figure out 'I think' is what file is generating the 3 widget areas on the profile page.
in the profile/start.php I see this at the end
// Define widgets for use in this context
use_widgets('profile');
I then look at the architecture of the profile page and my best guess is that defaultprofile.php page is the page generating the actual user profile information block on the profile page.
or it's the userdetails.php page doing that block.
What I can't find is the 'master' profile template file that defines where to put the profile block and the 3 widget areas on the page for displaying 'profile widgets'
My best guess is it is the defaultprofile.php file that generates the page with the last part of code
page_draw(elgg_echo('profile:edit:default'),elgg_view_layout("two_column_left_sidebar", '', $title . $form . $listing));
making it so that there is 2 columns of widgets under the user info block?
even if i do figure that part out.... would i not have to define a new 'three_column_left_sidebar' or whatever it needs to be called somewhere?
sure would be nice if there was a graphic layout somewhere that details the default theme and which files draw it out jsut an idea.....
I'm getting the idea that adding widget areas to elgg is nowhere as easy as it is in wordpress where I just add a new widget area to my theme template and it automatically shows up in my theme admin dropdown when choosing where to place widgets.
Here is an example of how I do it in wordpress.
If I want to add a new widget area then I simply add this to my template
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget1_R') ) : ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget1') ) : ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('NpAdv_Widget2_R') ) : ?>
etc, etc, etc....
This automatically creates a new widget area in my admin interface that allows me to drop widgets into the specified area.
Does elgg have such a system where I can just define a non-existing widget area, and it will automaticallly show up on the edit screen for the mod in question... in this case profile page?
i just was thinking of something where we could have page a url to it and then place html code in the page... I dont need an editor just a page where there is a section to add html code thats enough. I am sure I can figure it out with the plugs out there like the FAQ plug but i was just wondering if there was something even simpler.
and its for embed code so people can paste banners on myspace profiles and what not... once i have the page setup can do the rest in html and php
I was not thinking of the badge. But, I badly need the technology to be able to create new pages. :|
i just was thinking of something where we could have page a url to it and then place html code in the page... I dont need an editor just a page where there is a section to add html code thats enough. I am sure I can figure it out with the plugs out there like the FAQ plug but i was just wondering if there was something even simpler.
and its for embed code so people can paste banners on myspace profiles and what not... once i have the page setup can do the rest in html and php
I was not thinking of the badge. But, I badly need the technology to be able to create new pages. :|
FIrst of all thanx zakary for take a look at my problem.. But that is not the solution of my problem... what i need is to set a limit for total size of uploaded files for each user i.e. 10 gb for for each user.. and if he/she will run out of memory then he can send a request to admin to incerase the size limit.. This kind of user managment was possible with classicc elgg but dont know why developers not added this most important feature in elgg 1.5...
Hope some buddy can help me... plz
@Pramesh
You have 2 topics on same subject
http://community.elgg.org/mod/groups/topicposts.php?topic=181564&group_guid=23300
@ dhrup
Yes buddy i have posted the same content in two different places in two different groups, just because of more experts can take a look at my problem.. And i feel it, this is the biggest loop hole in with elgg 1.5... How can we set our users free to upload contetnt as much as they wish.... This will make halirious situation...
So experts present here please help me out...
How a page is displayed, whether its "full view", "list view" and there is a third one which escapes me for now, is contained in a php file under "view". If the file for the view you want (say list view) then go to the php file that is invoking the display, and change it to "list view". if the list view php does not exist, you need to create it yourself. I think in your case it does exist.
FIrst of all thanx zakary for take a look at my problem.. But that is not the solution of my problem... what i need is to set a limit for total size of uploaded files for each user i.e. 10 gb for for each user.. and if he/she will run out of memory then he can send a request to admin to incerase the size limit.. This kind of user managment was possible with classicc elgg but dont know why developers not added this most important feature in elgg 1.5...
Hope some buddy can help me... plz
@Pramesh
You have 2 topics on same subject
http://community.elgg.org/mod/groups/topicposts.php?topic=181564&group_guid=23300
@ dhrup
Yes buddy i have posted the same content in two different places in two different groups, just because of more experts can take a look at my problem.. And i feel it, this is the biggest loop hole in with elgg 1.5... How can we set our users free to upload contetnt as much as they wish.... This will make halirious situation...
So experts present here please help me out...
FIrst of all thanx zakary for take a look at my problem.. But that is not the solution of my problem... what i need is to set a limit for total size of uploaded files for each user i.e. 10 gb for for each user.. and if he/she will run out of memory then he can send a request to admin to incerase the size limit.. This kind of user managment was possible with classicc elgg but dont know why developers not added this most important feature in elgg 1.5...
Hope some buddy can help me... plz
@Pramesh
You have 2 topics on same subject
http://community.elgg.org/mod/groups/topicposts.php?topic=181564&group_guid=23300
@ dhrup
Yes buddy i have posted the same content in two different places in two different groups, just because of more experts can take a look at my problem.. And i feel it, this is the biggest loop hole in with elgg 1.5... How can we set our users free to upload contetnt as much as they wish.... This will make halirious situation...
So experts present here please help me out...
FIrst of all thanx zakary for take a look at my problem.. But that is not the solution of my problem... what i need is to set a limit for total size of uploaded files for each user i.e. 10 gb for for each user.. and if he/she will run out of memory then he can send a request to admin to incerase the size limit.. This kind of user managment was possible with classicc elgg but dont know why developers not added this most important feature in elgg 1.5...
Hope some buddy can help me... plz
@Pramesh
You have 2 topics on same subject
http://community.elgg.org/mod/groups/topicposts.php?topic=181564&group_guid=23300
@ dhrup
Yes buddy i have posted the same content in two different places in two different groups, just because of more experts can take a look at my problem.. And i feel it, this is the biggest loop hole in with elgg 1.5... How can we set our users free to upload contetnt as much as they wish.... This will make halirious situation...
So experts present here please help me out...
FIrst of all thanx zakary for take a look at my problem.. But that is not the solution of my problem... what i need is to set a limit for total size of uploaded files for each user i.e. 10 gb for for each user.. and if he/she will run out of memory then he can send a request to admin to incerase the size limit.. This kind of user managment was possible with classicc elgg but dont know why developers not added this most important feature in elgg 1.5...
Hope some buddy can help me... plz
@Pramesh
You have 2 topics on same subject
http://community.elgg.org/mod/groups/topicposts.php?topic=181564&group_guid=23300
@ dhrup
Yes buddy i have posted the same content in two different places in two different groups, just because of more experts can take a look at my problem.. And i feel it, this is the biggest loop hole in with elgg 1.5... How can we set our users free to upload contetnt as much as they wish.... This will make halirious situation...
So experts present here please help me out...
Hey harcha..
ok man.. here's the whole trail for that area..
Your main page container is: views/default/pageshells/pageshells.php (this is only the page container.. it contains all areas of your global page like header, main contant, footer..) If you no longer want to see a part of your page, you can take it out from this file...
Your site name area is: views/default/page_elements/header_content.php (this is where you edit your header content including the part you want modified)..
Hope this helps.
-Carlos
Hey harcha..
ok man.. here's the whole trail for that area..
Your main page container is: views/default/pageshells/pageshells.php (this is only the page container.. it contains all areas of your global page like header, main contant, footer..) If you no longer want to see a part of your page, you can take it out from this file...
Your site name area is: views/default/page_elements/header_content.php (this is where you edit your header content including the part you want modified)..
Hope this helps.
-Carlos
Hey harcha..
ok man.. here's the whole trail for that area..
Your main page container is: views/default/pageshells/pageshells.php (this is only the page container.. it contains all areas of your global page like header, main contant, footer..) If you no longer want to see a part of your page, you can take it out from this file...
Your site name area is: views/default/page_elements/header_content.php (this is where you edit your header content including the part you want modified)..
Hope this helps.
-Carlos
Hey harcha..
ok man.. here's the whole trail for that area..
Your main page container is: views/default/pageshells/pageshells.php (this is only the page container.. it contains all areas of your global page like header, main contant, footer..) If you no longer want to see a part of your page, you can take it out from this file...
Your site name area is: views/default/page_elements/header_content.php (this is where you edit your header content including the part you want modified)..
Hope this helps.
-Carlos
FIrst of all thanx zakary for take a look at my problem.. But that is not the solution of my problem... what i need is to set a limit for total size of uploaded files for each user i.e. 10 gb for for each user.. and if he/she will run out of memory then he can send a request to admin to incerase the size limit.. This kind of user managment was possible with classicc elgg but dont know why developers not added this most important feature in elgg 1.5...
Hope some buddy can help me... plz
@Pramesh
You have 2 topics on same subject
http://community.elgg.org/mod/groups/topicposts.php?topic=181564&group_guid=23300
@ dhrup
Yes buddy i have posted the same content in two different places in two different groups, just because of more experts can take a look at my problem.. And i feel it, this is the biggest loop hole in with elgg 1.5... How can we set our users free to upload contetnt as much as they wish.... This will make halirious situation...
So experts present here please help me out...
Hi, new to elgg. I am trying to build a site with social community in mind. Peeple can join groups, and upload photos. But I have stucked on how to layout the plugin/module on the site in order to skin them. I would like to build a theme by myself though. Just need some guidance on how to build a theme from scrtach. Anyone can help?
Easy way to do your own theme. Go to the theme page download a theme. I used the Theme_elgg_example and then just go in an modify Theme/views/default/css.php and run through that file. If you arent sure what each part is then change the color to FFAAFF and look for it. Something will do nothing but with some time you can figure out what is where and how to change it. Hope this helps.
gh
I have been trying to get the elgg_topbar.php file included in my index just as his example does.... Can anyone give me a sample of code to include this please? I am using the vazco_mainpage mod right now for my index.
Thanks in advance!
another example of what I am looking for here: http://yourcommunities.org/
the top bar included as a file include, variable, or hardcoded?
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.