My Ultimate Cool Theme v2.1.1

Release Notes

Bugfixes from 2.1

  • Hello friends, I am new to elgg, but I tried to do my best to implement a community on my website, I have used this and I have made many changes according to what you have posted on this page, I have something almost definitive, I thank you all for your corrections cool theme, I have relied heavily on some other nose as I made them, I hope I apologize for my English, I am translating with google, and I invite you to see the final result in this link, before publication among my visitors would like me to help me find out if something is wrong, we're willing to colaborarles if they like my work. My page is in REDNUEVATE. God bless you .... Thank you very much again ...


    en español...

    Hola amigos, soy nuevo en elgg, pero he tratado de hacer mi mejor esfuerzo en implementar una comunidad en mi sitio web, he utilizado este tema y le he realizado muchos cambios de acuerdo a lo que ustedes han publicado en esta pagina, ya tengo algo casi que definitivo, les agradezco a todos por sus correcciones a cool theme, las he tenido muy en cuenta algunas las hice otras nose como hacerlas, espero me disculpen por mi ingles, estoy traduciendo con google, y los invito para que vean el resultado final en este link, antes de hacerla publica entre mis visitantes me gustaria me ayudaran a encontrar si algo esta fallando, con gusto estoy dispuesto a colaborarles si les gusta mi trabajo. mi pagina es en REDNUEVATE . Dios los bendiga.... Muchas gracias nuevamente...

  • Graet plugin Stan & many thanks @Ve & @deny & all others for great ideas & support for this pluging.

    I've a question...

    How to change background & Header colour?

  • Shah Nawaz: Edit files in mod/cool_theme/views/default/css/elements/

  • Hi Ve, is there possibilities to add a sub-header kind of thing in this theme? I would like to add some menu items under the header, similer to core elgg header. 

  • @Ve, I found a way to show comments to a post on the wire.

    Just go to mod/thewire/pages/thewire/view.php and find:


    $content = elgg_view_entity($post);


    after it, add:


    $content = elgg_view_comments($post);


    Sorry for the late and for my bad english 

  • Hi, 

    first of all, I Love this theme.

    @Ve : I don’t really know where to change the color for the header, i really need to do this and i have been through all the files on the elements folder but I’m struggling with the php.

    @Shah Nawaz : did you ever get to change the color on the header?



    I thank you both for your time and i would appreciate any help.



  • To change the Default CSS, go to 


    and find layout.php

    Then, find 

    /***** PAGE HEADER ******/    To change the header background or 

    /***** PAGE BODY LAYOUT ******/ To change the Default body options.


    @peterp, You don't need knowledge of php to edit these CSS files, they're CSS-based only.

  • @Phill Colins, thank you for your help. but still I t didn´t work for me. 


    i will attach my layout.php , i hope you can help me.

    /***** PAGE HEADER ******/
    .elgg-page-header {position: relative;background: #cf2ccf;}.elgg-page-header > .elgg-inner {position: relative;}
    /***** PAGE BODY LAYOUT ******/
    .elgg-layout {min-height: 360px;}.elgg-layout-one-column {padding: 10px 0;}.elgg-sidebar {position: relative;padding: 20px 0;float: left;width: 181px;min-height: 360px;}.elgg-sidebar-alt {position: relative;float: right;width: 244px;margin-left: 20px;min-height: 360px;}.elgg-main {position: relative;min-height: 360px;}.elgg-layout-two-sidebar > .elgg-body,.elgg-layout-one-sidebar > .elgg-body {border: 1px solid #B3B3B3;border-top: 0;padding: 15px 20px;}.elgg-layout > .elgg-body > .elgg-head {padding-bottom: 3px;margin-bottom: 10px;}

    this is the only problem i have run into, i really think this is the best theme there is in this site.

  • Ok, here we go.

    So, you want to change the color of the topbar isn't it?

    If yes, try it: 

    go to 


    and find layout.php

    Then, replace the


    /***** TOPBAR ******/
    .elgg-page-topbar {position: fixed;right: 0;left: 0;z-index: 1030;margin-bottom: 0;padding-left: 20px;padding-right: 20px;background-color: #2c2c2c;background-image: -moz-linear-gradient(top, #333333, #222222);background-image: -ms-linear-gradient(top, #333333, #222222);background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image: -webkit-linear-gradient(top, #333333, #222222);background-image: -o-linear-gradient(top, #333333, #222222);background-image: linear-gradient(top, #333333, #222222);background-repeat: repeat-x;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);}.elgg-page-topbar > .elgg-inner {padding-top: 6px;width: 981px;margin: auto;position: relative;}.elgg-page-topbar ~ .elgg-page-body {padding-top: 38px;}


    with the 


    /***** TOPBAR ******/
    .elgg-page-topbar {position: fixed;right: 0;left: 0;z-index: 1030;margin-bottom: 0;padding-left: 20px;padding-right: 20px;background:#cf2ccf;}.elgg-page-topbar > .elgg-inner {padding-top: 6px;width: 981px;margin: auto;position: relative;}.elgg-page-topbar ~ .elgg-page-body {padding-top: 38px;}


    The bold code is the color you want to put in your topbar.After it, flush the cache 3x, and press F5 a lot of times, then you will see the result ^^.

    (I done it in my elgg, so I got a good result)

  • Just a tip: You will see that this topbar uses gradient (variation of color from #333333 to #222222 in this case).

    If you want to keep this gradient, just change the #333333 with the initial color and the #222222 with the final color that you want.Test it, you will have a better result than a monocolored topbar.

  • Hi all.

    Anyone know how to put the tabs FILE - BLOG to make a post also has the "My Ultimate Cool Theme"?

    I'm using another theme and want to have it so.

  • thank you for your help guys, i really appreciate it.

    i hve sencond problem that has me very worried, thinking i might have to shut down the website.

    every time i post a coment on friends board i am redirected to an error page. i researched this and it said it might be a corrupt language file or a virus, and in other to fix it i would have to download a new language pack or delete my current elgg intallation and install it again. I just dont know what to do. 

    i have attached the message in the error page i{m being redirected to.


    Fatal Error.

    Redirect could not be issued due to headers already being sent. Halting execution for security. Search for more information.

    SecurityException Object
    [message:protected] => Redirect could not be issued due to headers already being sent. Halting execution for security. Search for more information.
    [string:Exception:private] => exception 'SecurityException' with message 'Redirect could not be issued due to headers already being sent. Halting execution for security. Search for more information.' in /home/clasifik/public_html/
    Stack trace:
    #0 /home/clasifik/public_html/ forward(-1)
    #1 /home/clasifik/public_html/ include('/home/clasifik/...')
    #2 /home/clasifik/public_html/ action('messageboard/ad...')
    #3 {main}
    [code:protected] => 0
    [file:protected] => /home/clasifik/public_html/
    [line:protected] => 150
    [trace:Exception:private] => Array
    [0] => Array
    [file] => /home/clasifik/public_html/
    [line] => 38
    [function] => forward
    [args] => Array
    [0] => -1


    [1] => Array
    [file] => /home/clasifik/public_html/
    [line] => 98
    [args] => Array
    [0] => /home/clasifik/public_html/

    [function] => include

    [2] => Array
    [file] => /home/clasifik/public_html/
    [line] => 20
    [function] => action
    [args] => Array
    [0] => messageboard/add



    [previous:Exception:private] => 

  • @Viug, I didn't understand, can you explain me?Better, tell me the theme that you are using, so I can take a look.


    @peterm, do you have the plugin 'messageboard' installed?If yes, try to reinstall and make sure that the latest version is in your website.And don't forget to put your theme at the bottom of the plugin pages.

  • @Phill Colins, I'm using the bright theme ( and to explain better, I mean the TABS that are in the rectangle of the image attached here:

    It is excellent that you add files directly through a post and I'd put that in my theme
  • Lol @Viug bro, I tried but I couldn't do it, sorry.

    All I know is that you would have to find a way to register the changes (bookmarks, files...) in your theme's start.php

  • O man I like this theme alot would be very happy ifs updatet to new version of elgg

  • when i am using this Theme i am unable to use other plugins like Event manager,chat can you tell how to fix them.

  • I'm just now trying to get familiar with elgg, php, css, ..., and thought I would add my own logo to this theme's header.  There are some really helpful posts on this thread that make this a piece of cake, but instead of hard-coding I wanted to do it using Liang Lee's Theme Designer.

    Specifying the header logo in Liang Lee's Theme Designer nicely replaces the site name on the profile pages as well as the front page for the default theme.  However, activating this Ultimate (extra:-) Cool theme clobbers the logo in both places and displays the site name instead.  So I tried comment out the elgg_register/unregister_menu_item blocks in WISB's start.php that instruct site->name to be displayed, but then nothing is displayed (neither the site name or the logo specified in Theme Designer).  The same thing happened when I commented out the <h1> block that displays the site->name in WISB/views/default/page/elements/header.php.

    So my first php lesson taught me that simply commenting out the block doesn't do the trick (perhaps not sooo shocking), but I'm guessing that it must not be too much harder then that.  However, if I'm wrong about that assumption please speak up and I'll just hard-code them per previous instructions.  I don't wanna waste valuable time from you experts on the coding for me, but I was hoping a little greatly appreciated guidance would be all it took.

  • Hey there mate, love the theme but an having a few issues which I thought I would be able to fix but instead I have lead my self down a path that I can not get out of, so started 

    What I am trying to do is:

    1 - Get the icons to show up in the Sidebar

    2 - Add photo to the status update section

    my site is u: Test p: 1234567

  • Sorry about the double post but I finally figured out what I was doing wrong with the Icons and they now show up. 

    What I would still like to do is add Photo's and Video's to the status update area as at the moment it only has the following options "Status, Bookmark, Blog, File".

  • @koomar the way I fixed the favicon thing was to use MyFavicon plugin and have it located under the Cool_Theme or Ultimate Cool Theme 2.1. 

    Activate the MyFavicon plugin and change the icon with in mod\myfavicon\graphics to the one you would like to use and it should fix it for you.

  • I have a problem with widget. I can add widget to dashboard, it appears but doesn't work, althought it works well in profile page. How can I fix it?!

    Below is my dashboard.php file in WISB/pages folder.


    $user = elgg_get_logged_in_user_entity();


    $title = elgg_echo('newsfeed');

    $composer = elgg_view('page/elements/composer', array('entity' => $user));

    $db_prefix = elgg_get_config('dbprefix');
    $activity = elgg_list_river(array(
        'joins' => array("JOIN {$db_prefix}entities object ON object.guid = rv.object_guid"),
        'wheres' => array("
            rv.subject_guid = $user->guid
            OR rv.subject_guid IN (SELECT guid_two FROM {$db_prefix}entity_relationships WHERE guid_one=$user->guid AND relationship='follower')
            OR rv.subject_guid IN (SELECT guid_one FROM {$db_prefix}entity_relationships WHERE guid_two=$user->guid AND relationship='friend')

    $options = array();

    $page_type = preg_replace('[\W]', '', get_input('page_type', 'all'));
    $type = preg_replace('[\W]', '', get_input('type', 'all'));
    $subtype = preg_replace('[\W]', '', get_input('subtype', ''));
    if ($subtype) {
        $selector = "type=$type&subtype=$subtype";
    } else {
        $selector = "type=$type";

    if ($type != 'all') {
        $options['type'] = $type;
        if ($subtype) {
            $options['subtype'] = $subtype;

    switch ($page_type) {
        case 'mine':
            $title = elgg_echo('river:mine');
            $page_filter = 'mine';
            $options['subject_guid'] = elgg_get_logged_in_user_guid();
        case 'friends':
            $title = elgg_echo('river:friends');
            $page_filter = 'friends';
            $options['relationship_guid'] = elgg_get_logged_in_user_guid();
            $options['relationship'] = 'friend';
            $title = elgg_echo('river:all');
            $page_filter = 'all';

    $activity = elgg_list_river($options);
    if (!$activity) {
        $activity = elgg_echo('river:none');

    $content = elgg_view('core/river/filter', array('selector' => $selector));

    $sidebar = elgg_view('core/river/sidebar');

    $params = array(
            'title' => $title,
            'content' =>  $composer . $content . $activity,
            //'sidebar' => $sidebar,
            //'filter_context' => $page_filter,
            'class' => 'elgg-river-layout',

    $content = elgg_view_layout('two_sidebar', $params);

    echo elgg_view_page($title, $content);

  • hey guys letting you all know that I have upgraded this theme with a lot of fixes from this page. is the new theme


  • Category: Themes
  • License: Expat (MIT) License
  • Updated: 2014-11-17
  • Downloads: 16107
  • Recommendations: 42

Other Projects

View Staszek's plugins