Oracle of ONE1

Obscure words of unity

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.

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.

(more…)

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.
(more…)

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

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‘.

Testing Credit Card Numbers

In development work, you must always test your functions or expressions for proper results. For credit cards, there are some numbers that are NOT REAL numbers but will verify properly in developmental tests.

Testable Credit Card Numbers

Card Type Card Number
Master Card (16 Digits) 5105105105105100
Master Card (16 Digits) 5555555555554444
Visa (13 Digits) 4222222222222
Visa (16 Digits) 4111111111111111
Visa (16 Digits) 4012888888881881
American Express (15 Digits) 378282246310005
American Express (15 Digits) 371449635398431
Amex Corporate (15 Digits) 378734493671000
Dinners Club (14 Digits) 38520000023237
Dinners Club (14 Digits) 30569309025904
Discover (16 Digits) 6011111111111117
Discover (16 Digits) 6011000990139424
JCB (16 Digits) 3530111333300000
JCB (16 Digits) 3566002020360505


* Thanks to http://www.crazysquirrel.com/finance/test-cc.jspx

Online ticket sales

On occasion, I am asked to set up online ticket sales for various clients. This is usually for a client that does not have an online store for other products. Sometimes the client wishes to highlight or feature the event as well.

There are many services available to help you sell your tickets online. All that I have found charge a fee. For many of my clients, holding small events, these fees make the service cost-prohibitive. Instead, they choose to go with a self-hosted and processed solution that relies on their current capabilities. This leaves the possibilities nearly endless for a developer like me.

Here, I review the information needed to start developing online ticket sales for small clients with special events. This information could also be applied to larger clients, though it may be appropriate to develop a more robust online store that includes the ability to sell tickets.

(more…)