Oracle of ONE1

Obscure words of unity

Donate to GGIS Plugins and Modules

I regularly develop GPL open source plugins, modules, and widgets for Joomla and WordPress. On ocassion, a users has asked if a donation would help support this development. The comment alone is a great compliment and incentive. Cash is always greatly appreciated but in this case, if you find one of my plugins useful please make a donation to one of these great organizations instead.

American Red Cross in Southeastern Wisconsin – Provides relief to victims of disasters and helps people prevent, prepare for, and respond to emergencies in Dodge, Kenosha, Milwaukee, Ozaukee, Racine, Walworth, and Waukesha Counties.

Milwaukee Achiever Literacy Services – Inspires and empowers adult learners to gain the skills necessary to enrich their lives through education and training in an atmosphere of mutual acceptance and respect.

Plugin ggis-InlinePost for WordPress

New plugin for Wordpress developed. It should be available on the their site shortly. In the meantime, it will be available for download here.

If you have any comments or questions, please add them here.

//UPDATE 5/11/2010

Usage is convered on the ggis-inlinepost page.

Plugin ggis-scdesc for Joomla

A 1.5 native plugin enabling you to display section or category descriptions within content. This is a very simple, single purpose plugin that does only and exactly what it claims. On occassion, an article may wish to include the description from a section or category. Copying that description means it may need to be updated in multiple places if changes are made. With this plugin, just update the section/category description and all of the articles remain current.

Read the rest of this entry →

Module ggis-tabnews for Joomla

Module ggis-tabnews is a module developed for Joomla 1.5. Basically, it takes all articles in a category or section and outputs them to a tabbed box. It depends on the Joomla Works Tabs & Slides plugin for the tabbing javascript. A future release may remove that dependency.

Where to get it?

This is currently not a public release but if you are interested in it, please drop a comment on this article.

Expected Usage

This module was developed for a very specific usage and has not been developed or tested beyond that. I do however, see a wide variety of applications for this module. A client wished to display offsite class locations by county in a tabbed box. Additionally; the person editing the locations, while familiar with the basic editor interface on the front-end, was not expected to handle much complexity in layout.
Read the rest of this entry →

Joomla Images with Caption and Extra Style

Problem statement: I have inserted an image using the TinyMCE editor in a Joomla 1.5 article. How do I get the image to display both a caption and a border? I do not want borders on all images but only those I specify.

At first glance, the solution seems as though it would be simple and straightforward but it actually requires some tricks. This article will approach the issue in a somewhat backward approach; starting with what is required of the end-user editor, then going to changes required of the administrator, and finally touching on a little of the why.

Read the rest of this entry →

Backing Up to Amazon S3

Recently, I have started backing up my servers to Amazon S3 (Simple Storage Service) using Duplicity. So far, I am pleased with the process and the costs involved. I still do regular disk dumps to my own backup server but may slowly phase down the frequency of these dumps.

What is Amazon S3?

Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers.

What is Duplicity?

Duplicity backs up directories by producing encrypted tar-format volumes and uploading them to a remote or local file server. Because duplicity uses librsync, the incremental archives are space efficient and only record the parts of files that have changed since the last backup. Because duplicity uses GnuPG to encrypt and/or sign these archives, they will be safe from spying and/or modification by the server.

Read the rest of this entry →

ggis Iframe Plugin

What is it?

ggis Iframe gives authors an easy way to insert an iframe into a Joomla content item.

Features and Requirements

  • Joomla! 1.5 or greater

Setup

Using ggis_iframe is a very simple matter of performing a short setup and then inserting a simple code in your article.

  1. Download and install plugin using standard means. Download here.
  2. There are really no plugin options to set, everything is controlled by the insert tag.
  3. Publish the ggis_iframe plugin

Usage

The subscription form may be inserted on a post, page, or text widget by including the following code in your text.

{ggis_iframe %param0="val" %param1="val"}

http://iframe.url{/ggis_iframe}

The insert tag starts with {ggis_iframe} and ends with {/ggis_iframe}. A number of parameters may be set in the openning tag. The URL of the iframe to insert goes between the tags.

Another example with all parameters set:

{ggis_iframe id="mine" width="100%" height="650"
frameborder="0" allowtransparency="true"
scrolling="auto"}http://mydomain.com/page{/ggis_iframe}

Parameters

  • id – identifies your iframe (text)
    • default = random number
  • width -sets the iframe width (% or px)
    • default = 100%
  • height – sets iframe height (% or px)
    • default = 650px
  • frameborder – border width around iframe (low integer)
    • default = 0
  • allowtransparency – iframe background transparency (true or false)
    • default = true
  • scrolling – set iframe scrolling (auto, yes, or no)
    • default = auto

To Do

ggis Subscribe Plugin

What is it?

ggis Subscribe gives authors an easy way to insert a form that performs emailing list subscription management.

Features and Requirements

  • Wordpress 2.5 or greater
  • An email list to subscribe to. Currently supports:
    • ezmlm lists – subscribe by sending email to listname-subscribe-your=address.com@domain.com
  • Designation of success page

Setup

Using ggisSubscribe is a very simple matter of performing a short setup and then inserting a simple code in your post.

  1. Download and install plugin using standard means. Download here.
  2. View the ggisSubscribe options from the Settings menu.
  3. Add the email address of your mailing list. If you have more than one list, use commas between each address.
  4. Enter the URL of your thank you page (next page)
  5. Enter the URL of you main subscription management page.
    • Yes. Create and publish your subscription management first and then finish with your ggisSubscribe options.

Usage

The subscription form may be inserted on a post, page, or text widget by including the following code in your text.

[-%ggis-subscribe %formtype "%listname"-]

Here is an explanation of the fields:

  • ggis-subscribe – identifies the code (required)
  • formtype – identifies the form type
    • 0, default – full subscription management form
    • 1 – subscribe only form , requires “listname”
  • listname – identifies the list to include in a subscription only form

See the demonstration forms.

In a Widget?

A subscription form may be placed into the standard text widget using the methods above. For widget use, I suggest using only formtype=1, the short form.

To Do

  1. Add template tag output
  2. Add other list manager types

Email List Subscriptions

Here are working examples of the plugin ggisSubscribe. You may subscribe to any of the lists shown here. Extra spaces were added between the [ ]and the -. The correct code should be of the form [-ggis... -].

Read the rest of this entry →

Posts not Pages

I have noticed that many novice WordPress users try to build their site using Pages. This fights the WordPress system. These users are not using WordPress as a blogging platform but as an entry-level Content Management System. Now I know we use words such as ‘view a web page’ but page here has a different meaning.

One thing I push, is that 99% of the site’s content should be in posts. Write content to posts. They are much more flexible and easier for a developer to work with.

Pages have their place on a site but are limited to non-hierarchical, never-changing, organizational metadata (information about data). So what goes on a page? About, contact, history, jurisdiction, terms of use, privacy statements, and a sitemap. All the boring stuff.

Posts, on the other hand, can belong to multiple categories and have unlimited tags. Categories and tags automatically create the navigational structure of the site. The power of going with the flow is that most of the structure is done for you instead of needing to be created by you.

Categories Sub-menu

This is a very simple version of a Categories sub-menu implemented in the sidebar.php. Once a category is clicked, the sidebar should show the following:

  1. Category description (this is useful other than the sidebar)
  2. Children categories
  3. Posts in the category

Read the rest of this entry →

Theory of Addictive Web Design

Interesting presentation on what makes a web site more than compelling for viewers. Link to ‘Discover is the New Cocaine‘.


This website uses a Hackadelic PlugIn, Hackadelic Sliding Notes 1.6.4.