Changing the manifest.xml and start.php files: Revision

Last updated by jededitor

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" value="Curverider" />
    <field key="version" value="1.0" />
    <field key="description" value="Elgg Theme Simple Example" />
    <field key="website" value="http://www.elgg.org/" />
    <field key="copyright" value="(C) Curverider 2008-2009" />
    <field key="licence" value="GNU Public License version 2" />
    <field key="elgg_version" value="2009031301" />
</plugin_manifest>

Change the following

    <field key="author" value="Curverider" />

to reflect you contribution to the theme. I would suggestyou ADD your name name to it - for example...

    <field key="author" value="Curverider and Wallyhead" />

Next change the following to reflect your theme name....

    <field key="description" value="Elgg Theme Simple Example" />

For example;

    <field key="description" value="Jims great and Glorius ELGG theme" />

Save the file and then use your text editor to open start.php and you will be greated with the following...

<?php

    /* Elgg Theme Simple Example */
   
   
    /* Initialise the theme */
    function theme_elgg_example_init(){
   
    }
   
    // Initialise log browser
    register_elgg_event_handler('init','system','theme_elgg_example_init');
   
?>

Change all instances of theme_elgg_example to whatever you have chosen as the name of your theme folder.directory.

Save the file.

Click on Administration > Tool Administration  and adjust the position of one of the plugins - NOT your theme one which should be at the bottom of the list.

Click Dashboard and refresh the page and everything should look fine.

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

History