Creating a basic plugin

From Sohowiki
(Difference between revisions)
Jump to: navigation, search
(Introduction)
Line 2: Line 2:
 
This tutorial will walk you through the creation of a basic plugin that adds the text "Hello World" to Pro Edition's Main Menu, next to the "Basic Features Group" header.
 
This tutorial will walk you through the creation of a basic plugin that adds the text "Hello World" to Pro Edition's Main Menu, next to the "Basic Features Group" header.
  
==Step 1: Hack it==
+
==Reccommended stuff you'll want for this tutorial==
 +
I'll be writing this under the assumption that you've already got the following covered...
 +
*A website with Soholaunch Pro Edition installed on it that you can screw around with. All feature modules should be enabled.
 +
*FTP client and FTP access to your test site
 +
*Some kind of code/text editor to edit php files with (Dreamweaver, UltraEdit, PHP Edit, Emacs, Notepad, etc.)
 +
*Decent profeciency working with html, css, and php
 +
 
 +
==Getting set up==
 +
#Create a folder on your local PC called "HELLO_WORLD". All of your plugin's files will go in this folder.
 +
 
 +
#Open Your FTP client, log-in to your test site, and download sohoadmin/program/main_menu.php from your test site.
 +
 
 +
#Rename this file to something like main_menu-helloworld.php
 +
 
 +
#Open the file up your code editor
 +
 
 +
#Find (ctrl + f) "Basic Features Group"
 +
 
 +
 
 +
 
 +
#Windows explorer
 +
 
  
 
==Step 2: Create an install manifest==
 
==Step 2: Create an install manifest==

Revision as of 14:59, 17 May 2006

Contents

Introduction

This tutorial will walk you through the creation of a basic plugin that adds the text "Hello World" to Pro Edition's Main Menu, next to the "Basic Features Group" header.

Reccommended stuff you'll want for this tutorial

I'll be writing this under the assumption that you've already got the following covered...

  • A website with Soholaunch Pro Edition installed on it that you can screw around with. All feature modules should be enabled.
  • FTP client and FTP access to your test site
  • Some kind of code/text editor to edit php files with (Dreamweaver, UltraEdit, PHP Edit, Emacs, Notepad, etc.)
  • Decent profeciency working with html, css, and php

Getting set up

  1. Create a folder on your local PC called "HELLO_WORLD". All of your plugin's files will go in this folder.
  1. Open Your FTP client, log-in to your test site, and download sohoadmin/program/main_menu.php from your test site.
  1. Rename this file to something like main_menu-helloworld.php
  1. Open the file up your code editor
  1. Find (ctrl + f) "Basic Features Group"


  1. Windows explorer


Step 2: Create an install manifest

Personal tools