How to Create a Custom Index Page for Elgg?

by on February 4, 2009

One of the major things that you probably would like to change in your Elgg Social Network website is the index page, as the default index page is showing only the latest activities of the Social Network , but maybe you would like to show more and make your Social Network has more life.

In this post I am going to show you how to make a custom index page for your Elgg community website by using the “Custom Modular Index” as I have tried different code I found them at the Elgg community, nothing was working for me at the beginning, and I spend lots of time testing them with no use, until I found the right one, the right code that really works for me.

View demo on My Life Thinking community. Or at Mimundo.

This is a “Two column left sidebar” custom index page , I will give you some notes and information about how to use it the very simple way:

From where I can download the plugin?

You can download the plugin by visiting the Elgg community, and grab the version I am using in this example , thanks to Jonathan Rico. Or simple by clicking the link below to download it from my personal server, it’s the same version. I only have updated the content.php page in a way to help you edit easier. And actually I am saving this copy here for my work. If you would like to have.. then it here it is:

zip

Download Custom Modular Index 2.0 for Elgg 1.1 and 1.2

Features:

  • content : someting welcome text.
  • discusion: show groups forum (in develoup)
  • latest : last files or grups publics in elgg
  • newforun : last messages in groups forum
  • newgroup: icon of new groups
  • newuser: icon of the new users (have picture or not)
  • tags: tagscloud in your index

How to set up?
Simply by exctract the file on your computer and upload it to the mod folder.

Where I can find the files to edit the views?

At this URL  mod\customindex\views\default\customindex

Note that you can change the look and feel the way you like, and add or change colors, by adding styles to the css.php.

You can also open the content.php file and edit it, put what ever you would like to show on top of the content area, like a short description of your community, rules, photo, or just a simple invitation and a link to sign-up page. You will find an example will help you to start by editing the code.

Here is how my old index look like, Click on the photo to get a full view:

custom_index_no

Here is after activating the plugin and adding text and a link to my register page, I have edited only the content.php page in this example, Click on the photo to get a full view.

custom_index

Interesting on Making Money from Elgg?

Read this also if you would like to show AdSense or 125×125 banner ads on your Elgg social network, this is an update for the Custom-Index plugin that you will like to have on your social network Application: How to Add Google AdSense and Advertising Banners to your Elgg Powered Social Network!

Don’t forget to check out my latest posts about Elgg, you may find it useful.

Read also:

{ 22 comments… read them below or add one }

orbit February 6, 2009 at 3:12 AM

great work…thank you so much…..it’s very helpful…

Reply

Hesham February 14, 2009 at 2:06 AM

@ Orbit – You are welcome, enjoy your time on my blog!

Reply

zen Darkness February 20, 2009 at 12:51 AM

^__^ thenks for that

zen Darkness’s last blog post..¿Cómo ser un profesor youtube?

Reply

Hesham February 20, 2009 at 11:20 AM

You are welcome “zen” , you have a nice Spanish page!

Reply

Kulas February 23, 2009 at 11:53 AM

Nice blog Bro. very informative!

Kulas’s last blog post..Another $250M on My Precious Twitter

Reply

Hesham February 23, 2009 at 12:17 PM

Welcome to my blog Kulas, I appreciate your visit!

Reply

panos March 4, 2009 at 8:26 PM

hello,i want to to ask how i will unzip themes from elgg.org.i download them and are in an uknown type of files with numbers as a name.please help me

Reply

Hesham March 5, 2009 at 12:35 AM

@ Panos – probably this is because you don’t have any unzip program installed on your computer, you can use WinRare or unzip, personally I use WinRare, you can get it from here http://www.win-rar.com/downloadnow.html

Thank you for your comment.

Reply

Pepe March 6, 2009 at 1:56 PM

Hi from Spain

Superb!

Reply

Hesham March 6, 2009 at 2:55 PM

@ Pepe – Well.. hello there :)

Reply

John March 12, 2009 at 7:35 PM

Thanks for this. I’m still learning. Where do I find the content.php file to replace your banner with one for our site ? And is it easy to do ?
Appreciate the help. Thank you.

Reply

Hesham March 12, 2009 at 10:21 PM

@John, Yes.. it’s not that difficult, you will find the files on the theme folder here:

views\default\page_elements

open the files header.php & footer.php and check them, you will find the code delete it and replace yours.

Good luck!

Reply

Can March 26, 2009 at 9:31 PM

Firstly thank you very much!

And then I have a few questions,

if I input some discussions it is shown my index page but, the Latest discussion topic and background are the same colour and the topic can not be read How can I change the topics name ?

I also want to add mouseover effect how can I add this effect for latest activity, and Latest discussion.

And how can I for example lastest videos, or lastest photos box ?

Thank you. Can.

Can’s last blog post..Elgg v1.5 Teması İndir !

Reply

Mikes April 23, 2009 at 11:46 PM

Very good info but a little techie for me. let me try though!

Reply

Bryan April 25, 2009 at 7:14 AM

Hesham,

Excellent plugin, will be very usefull to amateurs like myself. I was hoping you could shed some light on an idea that I am not sure how to implement. I want to include the registration on my index, and am guessing I have to embed it within the index page? Could you possibly share some sample code on how this would be accomplished?
Thanks again for the plugin!

Reply

Ricky July 2, 2009 at 6:13 PM

Any chance you will have a way to do this in 1.5? This is very awesome btw and thanks for posting such a great article!
.-= Ricky´s last blog ..The Ricky Show Friends Network: TheRickyShow =-.

Reply

Jerzy August 30, 2009 at 11:43 PM

You have great stuff here some of the plugin’s are great,thanks.
.-= Jerzy´s last blog ..Network Marketing From Home updated Sun Aug 30 2009 10:55 am CDT =-.

Reply

Mark October 4, 2009 at 4:46 AM

Hi, are you able to guide me though what i have to do to customise my index page to have one image and the login boxes only. This is all new to me, THanks

Reply

honeywell humidifier January 17, 2010 at 10:58 PM

That plugin is very nice. Good job on creating a custom index page and teaching people how to do it.

-Kai

Reply

Paddy May 28, 2010 at 2:41 AM

This looks awesome…

Problem is, it doesnt work on our install (1.7 with yoguyz theme)

Is it compatible with 1.7? If not, would it take much to tweak it so it was?

Im willing to pay :)

Reply

mobsguy September 3, 2010 at 2:18 PM

Cool plugin,. This is a help for a newbie here like me. Great post!
.-= mobsguy´s last blog ..My Online Business Strategy System =-.

Reply

study skills for highschool December 16, 2010 at 7:13 PM

Thanks for the tutorial this is very helpful…

Reply

Leave a Comment

Previous post:

Next post: