Slightly Some

By: Leo
27/06-11, 22:55
Category: Code
Nucleus CMS

Version 2.0 of NP_LMFancierURL is a total rewrite from version 1.0. It contains several major additions and changes. Among these are:

  • 2 new URL schemes: Compact and Classic. URL schemes are configurable on site and blog level. The Compact URL scheme is like the Fancier URL scheme in the previous version of the plugin, but drops the keywords from the URL.
  • All URL parts are editable.
  • Keywords are configurable on site and blog level.
  • Better handling of non ASCII 7-bit characters when making URL friendly text values.
  • How to handle category in item URLs is configurable on site and blog level.
  • Will return a 404 not found HTML error using the error skin when the URL contain unknown parts.
  • Item skinvar that return a canonical item URL that can be used as canonical link in item page <head> section.

The full documentation and the latest version of the plugin can be found on the LMFancierURL plugin page.

By: Leo
27/06-11, 22:50
Category: Code
Nucleus CMS

I got the idea for the NP_LMRedirectToItem plugin after reading some posts on the Nucleus forums about the problem of keeping old URLs valid after changeing from the FancierURL2 plugin to the CustomURL plugin. One solution to this is to manually make redirects and add these to the web server configuration. If you have many items in your blog will this be a large task.

Since I was going to face a simmular problem myself with the new version on NP_LMFancierURL, I had the idea that a plugin could be made to handle redirects. The plugin stores the old item URLs and return a HTML redirect that points to the new URL of the item when the old URLs are used. As a bonus it is possible to add alias URLs for items.

The full documentation and the latest version of the plugin can be found on the LMRedirectToItem plugin page.

By: Leo
04/03-11, 01:50
Category: Code
Nucleus CMS

During the making of the skin and template for this blog, I found some problems with the Nucleus core. These problems have I reported as bugs or change suggestions on the Nucleus forum.

This post is mostly for me to track these bugs and change suggestions. The individual bugs and change suggestions are described, and the source code updated with my changes can be downloaded.

» Read More

By: Leo
20/02-11, 18:52
Category: Code
NucleusCMS

Back when I started tinkering with Nucleus CMS (many years ago) was one of the first things i started to customize the NP_Calendar plugin. This was because I wanted more control over the CSS formatting of the calendar table. Especially wanted I to be able to use the border-radius attributes on the table.

I have made a new plugin called NP_LMCalendar based on the v0.73 version of the NP_Calendar plugin. The reason that I have used such an old version as a base for my plugin is that the main development on the plugin was done several years ago. I have later added some of the newer functionality from the NP_Calendar plugin to the NP_LMCalendar plugin.

» Read More

By: Leo
20/02-11, 16:16
Category: Code
Nucleus CMS

When setting up this site i discovered that the NP_FancierURL2 plugin for Nucleus had some problems. The first thing I noticed was that categories for the archive pages didn't work after the plugin was installed. I started out to fix this, but as I progressed I found several problems and ended up doing a large revision of the code for the plugin.

I have made a new plugin called NP_LMFancierURL with my changes to the original NP_FancierURL2 plugin.

The full documentation and the latest version of the plugin can be found on the LMFancierURL plugin page.

Categories:

nucleuscms.org
Valid XHTML
Creative Commons License

Unless otherwise specified is all original material on this website licensed under a Creative Commons License.

Baronial