I'm trying to customize my page and I've looked at the tutorials that they've included here on plugin creation and it seems to be just slipping from my grasp at the moment. Can someone please help me identify my problem. I have my manifest.xml as.
<?xml version="1.0" encoding="UTF-8"?> <plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8"> <name>Citivend_custom</name> <author>Uli</author> <version>1.0</version> <category>bundled</category> <category>custom</category> <blurb>Customizepage</blurb> <description>Hoping to start customizing</description> <website>http://www.citivend.com/</website> <license>GNU General Public License version 2</license> <requires> <type>elgg_release</type> <version>1.8</version> </requires> </plugin_manifest>
and my start.php as
<?php function mytheme_init() { elgg_extend_view('css/elgg', 'Citivend_custom/css'); } elgg_register_event_handler('init', 'system', 'Citivend_custom'); ?>
The first I got from the developer plug in, the second from the tutorial on here. I then proceed to create views/default/css/elements/layout.php and then I copy and paste the layout.php that is in the elgg/views/default/css/elements/layout.php, after which I tried and altered the code on me custom theme. When I try and activate it I get a fatal error message. Would Someone please tell me where I'm going wrong?
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.
- Trajan@Trajan

Trajan - 0 likes
You must log in to post replies.It would help if you told us what fatal error you were getting... ;)
Although for starters, in your start.php you're registering the wrong event handler. Replace start.php with the following: