You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GetSimple Tutorial: Setting up a Plugin Development Environment
GetSimple Tutorial: Setting up a Plugin Development Environment
These are the steps I take for setting up an environment for developing GetSimple plugins. It allows me
to Keep my individual plugin's repository separate from the plugins folder.
Install GetSimple to your desired root directory (for now we will refer to it as root/).
Create your plugin's working directory/clone your repository to the root/ directory.
Symbollically the plugin's registration file and assets folders to the plugins directory:
Javascript implementation(s) of a Power Set function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetSimple tutorial for adding shortcode-like to the admin panel.
GetSimple Tutorial: Shortcodes
Sometimes you have content that you want to place onto a page that requires a bit of messy HTML, CSS and PHP coding. This can be very frustrating when there are multiple occurrences of said piece of content within your page, and when each occurrence requires something different about it. What is even worse is when the person who needs to manipulate this content isn't very confident with the above markup (HTML, CSS) and code (PHP) languages, yet they need to be able to edit the necessary pieces without breaking a crucial piece of the markup. Wouldn't it be great if GetSimple had such a function?
Other content management systems such as forums and Wordpress do have such functions, called BBCode and Shortcodes respectively, which allow for dynamic content to be output on pages without knowledge of the messy code that goes in beforehand. For example, on forums you can often place a link on the page by simply using [url][/url] tags instead of knowing how to use HTML anchors and p
GetSimple tutorial for integrating page-specific sidebars on your site.
GetSimple Tutorial: Sidebars
A common request people have when it comes to having a dynamic site is the ability to create content displayed adjacently to the main content: a “side-bar” if you will. Sometimes it will be content that should be displayed universally, regardless of the page that you're viewing, such as a 'Latest News/Blog/Tweet' block, or a calendar widget. Other times it is a very page-specific piece of content, like an extra menu to a set of relevant links to the main content, or the latest comments made on the current page. The biggest problem that people tend to have is the difficulty of maintenance of such sidebar content – often you have to hard-wire the code into your layout and continually have to edit the content from the template file or as a component, which can be very grating when you have page-specific sidebars and a lot of pages to boot.
This article will outline a way that I think is a pretty efficient way of providing yourself either universal sidebar widgets, page-specific s
GetSimple tutorial for archiving pages (in news/blogging fashion) with i18n.
One feature that I thought was missing from the i18n News system is that of providing automatic archives for news results. However, such a feat is actually achievable with the current i18n Search plugin if you take a moment to think outside of the box...
Tags are the lifeblood of i18n Search. They are the key to filtering out your results to output exactly the kind of content that you are looking for and ordering them in a sensible way. Initially, tags were simply there as key-words to be involved in the “meta” information of the page – words that would help your site/page be indexed by search engines and found by users. With i18n Search however, these tags can be used to set up virtual categories and a filtering system, provided that you can maintain some kind of logical structure and consistency with the tags that you utilise.
GetSimple tutorial on providing random search results for i18n search.
Ever wanted to have random items put into the search results pulled from I18N Search?
It's actually not that difficult. The technique hinges on the return_i18n_search_results function, specifically designed for doing custom results rendering.
We call the function with the desired paramters to get the results. To ensure a properly random selection, we'll set the maximum number of results to a high number (e.g. 999).
GetSimple tutorial for creating a news system with the i18n plugin(s) (version 3)
Hello dear reader, and welcome back to another session of GetSimple tutorial fun! We return to the subject of news and how to attain a functional news plugin for the GetSimple CMS. A lot of changes have been made since last we met, both to the core functionality of the CMS and to the plugins themselves. But let's get everybody up to speed now, shall we?