Group activity

  • elggHopeful replied on the discussion topic Custom Index / Dashboard
    Hello   thx to kshelton360 for sharin his code :-)   i modified it a little, but i have some issues Contetnt of content.php (of the customIndex mod) <?php    $form_body = "<p><label>" ....
  • jededitor created a page Changing the image
    The ELGG you see at the top of a page is just an image. Now make sure a copy of your new logo is placed into the graphic folder/directory of your theme folder/directory. Go to your theme directory/folder then views > default > page_element...
  • Go to your theme directory/folder and use your text editor to open manifest.xml. You will be greated with the following; <?xml version="1.0" encoding="UTF-8"?><plugin_manifest>    <field key="author"...
  • jededitor created a page Changing the page background
    Okay by now your probably fed up looking at the default page background colour - so how to change it? Well what we are talking about is the following (thanks Marcus - please feel free to do some more of these!)   Open the main css file...
    • is there any other way than having to go to Tool Administration & Adjust the Position & Click Dashboard & Refresh JUST TO TEST THE THEME.

    • Its by far the best way because it clears out the cache as well and if your doing this on a live site then it avoids any users getting the old css or a corruption of old & new.

      Its not such a pain if you open up another instance of your elgg in another tab and do the adjusting in that window, and then just refresh the page in the working window.

    • Open the main css file views/default/css.php with your text editor.

      Just wanted to note that you can also do this in your theme folder.

      Btw, I had to deactivate and activate my theme to show changes.

  • jededitor created a page Changing the Top Bar
    Okay what we are going to do now is change a few things in the top bar at the top of the page. First if you want to remove the top bar, and you should only do this if you have a replacement method for navigating around your ELGG site ( see a...
    • I've read a lot of help posts referring to a theme directory (including this one).

      I haven't downloaded anyone else's theme (and I can't find a default theme file) because well, I don't like any of them (sorry) and I want mine to look unique, as much as possible. So far I've used plugins to make changes to colors, etc. Which means, I don't have a theme directory (I don't think).

      Is this the wrong way to approach it? Do I have to download someone else's theme to make sense of all the suggestions that say "go to your theme directory"? I can't find an "activity" or "river" directory either. Is it called something else?

      What is the best way, in terms of procedure that will aid me in the future, of doing these things? Should I roll my own theme, not worry about a theme directory and hard-code things? Or load someone else's them and then drastically change it? Thanks.

    • In elgg themes are equivalent to plugins, they're not structurally separated like in Drupal or whatever else you might be used to.  So when people talk about looking in the theme directory, it's not necessarily a directory called 'theme' it's the directory of the plugin that's being used as the theme - which may be named whatever the author chooses.

      Ideally if you're looking for something unique, you'd roll your own theme.  If you're not too familiar with elgg yet I'd suggest starting with a theme that's similar enough to build from and see how they're overwriting the default views/css etc.

    • 'default theme' ? ==>
      the parts of elgg's default theme -
      are loosely spread over different folders,
      mainly the  /views/default/css -
      where all the css that control the appearance lives.
      and hmmm...
      i thot i has prepared a 'defauult theme' plugin when 1.8 came out --
      to collect all the components of the 'theme' into one plugin
      so that it be easy to find, review, change.
      don't know what happened to that code ;(

      in elgg all the extras' modules are in the folder /mod
      there is no distinction made between the type of the extras.
      so both elgg 'plugins' and 'themes' will be in there.
      the only way  to know the difference
      is if the developer named his plugin/theme to try to say what it is.

      so on example below --
      my_theme is a (non-plugin;) theme
      and my_plugin is a (non-theme;) plugin..
      because i say so (via the name) ;-)
      (*could be a lie.. but unlikely)

      Directory of C:\xampp\htdocs\Elgg1880_BASE                    
      11/04/2012  11:12 AM    <DIR>          actions
      11/04/2012  11:12 AM    <DIR>          _graphics
      . . .
      12/16/2012  10:10 AM    <DIR>          mod
      11/04/2012  11:12 AM    <DIR>          languages
      . . .
      11/04/2012  11:21 AM    <DIR>          engine
      07/11/2012  06:35 AM             4,879 htaccess_dist
      07/11/2012  06:35 AM               735 index.php
      . . .

      Directory of C:\xampp\htdocs\Elgg1880_BASE\mod               
      12/15/2012  08:50 AM    <DIR>          adverts
      11/04/2012  11:12 AM    <DIR>          blog
      . . .
      11/19/2012  10:52 PM    <DIR>          my_theme
      11/19/2012  10:52 PM    <DIR>          custom_index
      11/04/2012  11:12 AM    <DIR>          pages
      11/19/2012  10:52 PM    <DIR>          my_plugin
      . . .

  • Crusader replied on the discussion topic Add header to custom index?
    Hello all.  First off, I am using the theme Simple Blue White.  I was wondering how to add my Topbar to the index page (not logged in - no info, just the plain topbar).  What file do I need to change?  Do I change a file in the...
  • Crusader added a new discussion topic Add header to custom index?
    Hello all.  First off, I am using the theme Simple Blue White.  I was wondering how to add my Topbar to the index page (not logged in - no info, just the plain topbar).  What file do I need to change?  Do I change a file in the...
  • Kraken replied on the discussion topic The wire on front page
    I have seen other pages that have the wire on the first page and I also want to see "the wire" on my front page.....What code should I write in order to receive "the wire" on the front page? and where should I write it in order to see it on front...
  • Team Webgalli replied on the discussion topic IE Png fix
    Dear friends, i am developing a theme, but the problem is that it uses png images, i tried pngfix for ie5.0 or 6.0. but it was of no use.  Could anybody point me to a script where i can add like this If ie 5.0 or 6.0 warn the user we dont...
    • Just add this java code in the header of your theme. hope it will fix the png issue.

      <!--[if lte IE 6]> <script type="text/javascript"> function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. { var arVersion = navigator.appVersion.split("MSIE") var version = parseFloat(arVersion[1]) if ((version >= 5.5) && (document.body.filters)) { for(var i=0; i<document.images.length; i++) { var img = document.images[i] var imgName = img.src.toUpperCase() if (imgName.substring(imgName.length-3, imgName.length) == "PNG") { var imgID = (img.id) ? "id='" + img.id + "' " : "" var imgClass = (img.className) ? "class='" + img.className + "' " : "" var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " var imgStyle = "display:inline-block;" + img.style.cssText if (img.align == "left") imgStyle = "float:left;" + imgStyle if (img.align == "right") imgStyle = "float:right;" + imgStyle if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" img.outerHTML = strNewHTML i = i-1 } } } } window.attachEvent("onload", correctPNG); </script> <![endif]-->

  • Jaxon added a new discussion topic IE Png fix
    Dear friends, i am developing a theme, but the problem is that it uses png images, i tried pngfix for ie5.0 or 6.0. but it was of no use.  Could anybody point me to a script where i can add like this If ie 5.0 or 6.0 warn the user we dont...
    • Just add this java code in the header of your theme. hope it will fix the png issue.

      <!--[if lte IE 6]> <script type="text/javascript"> function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. { var arVersion = navigator.appVersion.split("MSIE") var version = parseFloat(arVersion[1]) if ((version >= 5.5) && (document.body.filters)) { for(var i=0; i<document.images.length; i++) { var img = document.images[i] var imgName = img.src.toUpperCase() if (imgName.substring(imgName.length-3, imgName.length) == "PNG") { var imgID = (img.id) ? "id='" + img.id + "' " : "" var imgClass = (img.className) ? "class='" + img.className + "' " : "" var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " var imgStyle = "display:inline-block;" + img.style.cssText if (img.align == "left") imgStyle = "float:left;" + imgStyle if (img.align == "right") imgStyle = "float:right;" + imgStyle if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" img.outerHTML = strNewHTML i = i-1 } } } } window.attachEvent("onload", correctPNG); </script> <![endif]-->

  • DhrupDeScoop replied on the discussion topic Small tip to fix the topbar to the top of the window.
    Fix your topbar to the top of the page. (stays while scrolling).   Find these classes and replace with provided changes.   #page_container { margin:0; padding:0; position: relative; top: 18px; }   #elgg_topbar {...
  • jededitor replied on the discussion topic Small tip to fix the topbar to the top of the window.
    Fix your topbar to the top of the page. (stays while scrolling).   Find these classes and replace with provided changes.   #page_container { margin:0; padding:0; position: relative; top: 18px; }   #elgg_topbar {...
  • DhrupDeScoop replied on the discussion topic How to limit characters in activity list?
    Hi, maybe someone knows how to limit characters in latest activity list on index page? For example group description can be very long and whole description appears in the latest activity block. How can I limit display characters number? I use this...
  • webtakeaway replied on the discussion topic How to limit characters in activity list?
    Hi, maybe someone knows how to limit characters in latest activity list on index page? For example group description can be very long and whole description appears in the latest activity block. How can I limit display characters number? I use this...
  • DhrupDeScoop replied on the discussion topic How to limit characters in activity list?
    Hi, maybe someone knows how to limit characters in latest activity list on index page? For example group description can be very long and whole description appears in the latest activity block. How can I limit display characters number? I use this...
  • webtakeaway replied on the discussion topic How to limit characters in activity list?
    Hi, maybe someone knows how to limit characters in latest activity list on index page? For example group description can be very long and whole description appears in the latest activity block. How can I limit display characters number? I use this...
  • DhrupDeScoop replied on the discussion topic How to limit characters in activity list?
    Hi, maybe someone knows how to limit characters in latest activity list on index page? For example group description can be very long and whole description appears in the latest activity block. How can I limit display characters number? I use this...
  • webtakeaway added a new discussion topic How to limit characters in activity list?
    Hi, maybe someone knows how to limit characters in latest activity list on index page? For example group description can be very long and whole description appears in the latest activity block. How can I limit display characters number? I use this...
  • skotmiller added a new discussion topic Small tip to fix the topbar to the top of the window.
    Fix your topbar to the top of the page. (stays while scrolling).   Find these classes and replace with provided changes.   #page_container { margin:0; padding:0; position: relative; top: 18px; }   #elgg_topbar {...
  • Yudhi added a new discussion topic Show all new member
    How do i show all new members whether they already put their picture profile or not?
Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking