Tagarchief: impresscms

WordPress to ImpressCMS – Cleaning up the source content

A first step in any migration is to clean up your entry data. That doesn’t change when moving from WordPress to ImpressCMS.

Cleaning up your content can be done in several ways : removing old or no longer relevant posts (news items get old soon, and Google doesnt like stale news items), looking into content types that perhaps no longer need to be on the new site, and cleanng up your tags and menu structures.

It depends mainly on your content, so it is difficult to automate this step. However, if done correctly at the beginning of a migration, this step can make the difference between success and failure in the end.

Migrating WordPress to ImpressCMS

migrate wordpress to impresscmsOne of the big sayings in open source is to ‘eat your own dogfood’, meaning that you need to use the tools you develop also yourself on a daily basis.

It’s the only way you can get a good idea of the strengths and weaknesses of your solution, by putting you in the position of the end-user.

I have been a sinner in that regard, by using WordPress for my personal blog instead of my own project ImpressCMS. That is something I intend to set straight in the near future by migrating from WordPress to ImpressCMS, and documenting the process step by step.

using scp to upload to sourceforge to a path with spaces

The titles says it mostly, if you want to upload a file from a linux machine to the FRS on sourceforge, but you have spaces in your paths:

scp (file_to_upload) (my_user)@frs.sourceforge.net:”/home/frs/project/(project_name)/Path\ with\ spaces/”

Easy, really, if you know all the details to watch out for:

  • enclose the path (everything behind the column) in double quotes (“)
  • Escape each space in that path with a backslash (\)

If you don’t enclose the path with double quotes, you’ll get the following error message :

scp: ambiguous target

The following variables are used in the example:

  • (file_to_upload): the name and path of the file (if you’re not uploading from the folder the file is stored in) of the originating machine
  • (my_user) : your Sourceforge.net username
  • (project_name) : the path for your project. On sourceforge, sometimes you may need to add a few folders in front with the first and the first two letters of your project name : /p/pr/project

Using Editors in a CMS – the ImpressCMS editor conundrum

When attending a lunch seminar yesterday there was a very interesting short discussion about thhe use of WYSIWYG editors in CMS-powered websites. The whole discussion was about the amount of options and functionalities you can allow your site editors, keeping into account that your layout nowadays has to adapt itself to a multitude of different screen sizes and orientations.

This is a discussion we need to have in ImpressCMS, as we currently allow as much as possible to the editor. By doing that, we risk breaking the layout of the theme simply by entering content, and that shouldn’t be allowed. Read the blog, and add your comments at the ImpressCMS Community site.

Use Ajax Redirect in ImpressCMS

ImpressCMS introduced a AJAX-based redirect system in series 1.2, which makes your site much quicker to work with. By using this redirect system, notifications and confirmation messages (E.g. ‘Thank you for logging in’) don’t show on a new page any more, but they are presented to the user on a text bubble that is loaded dynamically while the user remains on the same page.

Currently, not that many themes are created that provide this, and you need to explicitly enable it before the functionality becomes available. I’ll explain here the two simple steps you in adding this to your site.

ATTENTION: It has been noted to me that this technique is not needed, as ImpressCMS automatically includes the javascript code required into the <head> section of the page. All that remains to be done then is to enable the Ajax redirect in the settings (STEP 2) Lees verder Use Ajax Redirect in ImpressCMS

ImpressCMS Trac migration to Sourceforge

After getting increasingly dissatisfied with the service from Codesion, ImpressCMS decided to switch to another provider. We had few requirements, and so we started searching for a solution based upon those:

  • free or affordable for our budgets
  • Subversion
  • Trac

We also thought of the possibility of doing the hosting ourselves, but that would mean an investment of time and effort, which would be unavailable for other tasks. Overall, we thought it was best to let specialized service providers handle that kind of non-core activity. Lees verder ImpressCMS Trac migration to Sourceforge

Should We Upgrade ImpressCMS Core to jQuery 1.4?

Recently, jQuery 1.4 was released, with a maintenance release 1.4.2 a few days ago. In a move comparable to what we are doing with ImpressCMS release 1.3, the jQuery developers chose the jQuery 1.4 release to be a release focused on speed and cleanup of the codebase. Mostly, just cleaning up the codebase results in quite some speed advancements, so those two efforts are frequently combined.

The changelog for this latest release of the Javascript library mentions performance improvements in many areas : CSS methods, Attributes and many of the most-used functions. However, the changelog also details some backward incompatible changes with previous versions. These incompatibilities can be countered by installing this specific plugin. Lees verder Should We Upgrade ImpressCMS Core to jQuery 1.4?