Splash of Style...Macs, Photography, Design, and other Passions

New Website for Expression Engine

April 21, 2007 by debbie T | Expression Engine

I was slightly behind on my web site software updates & site news for WordPress, TextPattern, and Expression Engine, so this weekend, I decided to catch up a bit.

Much to my surprise, when I checked the web site for pmachine.com, I was redirected to a brand new site called EllisLab.

pMachine is now EllisLab!!!

Along with the new Ellis Lab web site, three related web sites were also launched:

Additional related web posts:

Expression Engine Version 1.5 Released

September 10, 2006 by debbie T | Expression Engine

I just (painlessly) updated to Expression Engine 1.5. Looks good so far, but I haven’t really had a chance to check out all the new additions and changes. Most prominently, they added a Simple Commerce module. Pretty nifty!

Related Web URLs

Expression Engine Offering Free Version

December 19, 2005 by debbie T | Expression Engine

How exciting! pMachine.com is now offering a free core version of Expression Engine! This is my favorite CMS and it is great to hear that they are doing this! I was lucky enough (over a year ago) to receive a free 1 year personal license, and I have since renewed my license for an additional year. I highly recommend this software.

Besides this great news, Expression 1.4 has been released.

Expression Engine: Assign Global Variables

November 8, 2004 by debbie T | Expression Engine

I was working on my templates tonight. I want them to be as easy to re-use for other template groups. Since Expression Engine creates dynamic pages, the paths to images, css files, etc can be difficult to keep from breaking.

In other blog programs, I include a homepage or site-root tag when structuring image and css file paths. When the php file is parsed, the site url will be automatically added to the path.

Well, I couldn’t find such a tag in Expression Engines list of tags or variables. The closest I found was the {homepage} variable, but that added ‘index.php’ to the url, which causes the path to break.

Expression Engine allows users to create our own global variables.

I can specify a variable for just one template by including it at the top of the template coding:

{assign_variable:weblog_root="http://www.mysite.com/directory"}

Or I can assign a variable to be shared with any or all templates, by choosing Control Panel Home>Templates>Global Variables.

The name of the variable is “weblog_root” so whenever this variable is used in a template, my site root url will be automatically inserted into the coding. For example:

<style type="text/css" media="screen">
@import url('{weblog_root}/colorful.css');</style>

The end result will look like:

<style type="text/css" media="screen">
@import url('http://www.mysite.com/directory/colorful.css');</style>

Expression Engine: Saving Templates as Text Files

November 7, 2004 by debbie T | Expression Engine

It’s been a few weeks since I first started to familiarize myself with Expression Engine. This weekend, I decided it was time again, so I opened up my printed User Guide, and started to read.

Although I am familiar with many blogging systems, after viewing so many complex features, menus, and options, I am still a little intimidated, but excited. The system seems to have everything I need and more!

I started out simple, keeping only one weblog for now. I deleted the original blog, and created a new one from scratch for practice. I found Lisa-Jill’s tutorial on Creating a New Weblog very helpful.

I am starting with the Templates area, and I figure that the best way to learn the tags is to just jump in and study the index template, while viewing the user guide. When I created the new weblog, I created a new Template group with a duplicate of the initial template groups.

Now, I don’t want to work online constantly, so I immediately found the instructions to Save Templates to Text Files. The setup worked like a charm. Expression Engine created text files of the chosen template files.

I downloaded the new directories and files, made a test edit, then tried to re-upload the file to the server. Problems! I was denied permission to alter any file created by Expression Engine, that includes moving, renaming, deleting, editing, or changing chmod.

I posted a note on the EE help forum, which lead me to post a note to my host.

The problem, it seems, is that when PHP is used to generate or alter a file, its ownership is going to be set to “nobody”. So that means my user name didn’t have permission to alter the files since the template directories were chmod 755. The problem was corrected when my host set up a root cron job to change permissions.

Update: After trying to save additional (new) templates, I was now receiving the error: “Unable to save your template as a text file.” (note: the templates previously saved were working fine.)

Other users were also having trouble with this error as well. After thinking about it for a bit, I realized that because Expression Engine originally set the new directory to 755, and because my host was reverting the user name back to me, EE was having a problem recognizing it now. I changed permissions to 777 and saved the remaining templates. Then changed the directory’s permission back to 755.

UPDATE #2: Thanks to Chris at the Expression Engine help forum, I discovered that a recent update to EE fixed the problem I was experiencing with incorrect permissions. sigh all the hours of aggrevation could have been avoided if I just kept up to date with the new system files!

Expression Engine: Auto Login

November 6, 2004 by debbie T | Expression Engine

I was having trouble keeping myself logged on to Expression Engine after closing Firefox. Finally found the answer on pMachine’s help forum.

In the Control Panel, go to Admin > Security and Session Preferences and change the Control Panel Session Type to “cookies only” - this allows a user to remain actively logged on.

Expression Engine: Publish Page Causes Horizontal Scroll

November 6, 2004 by debbie T | Expression Engine

While messing around in the Expression Engine control panel, I noticed that my Publish page displayed a large horizontal scroll in Firefox 0.9. Yikes. I didn’t notice it before, and all I did was import my older Movable Type entries, which created new categories. Hmm, after searching on the Expression Engine support forum, I found a few posts, but not exactly a fix.

UPDATE: (Thanks Farron for the tips!) Problem solved by editing the default css file in the cp_css directory. By editing the width to 70% for the main content wrapper, the scroll disappeared:

MAIN CONTENT WRAPPER:

#content {
 left:              0px;
 right:             10px;
 margin:            0 25px 0 25px;
 padding:           8px 13px 0 13px;
 width:             70%;
}

I also deleted the extra code under it:

* html #content {
 width:             100%;
 width:            auto;
}

The Content Management Decision

October 2, 2004 by debbie T | Expression Engine

My camping web site is in need of new organization (again!) and the decision for a content management system has been made. This was a process that started with choices of Mamboserver, Typo3, Webgui, Textpattern, and WordPress. It ended with a choice of Expression Engine. Read the Rest of the Article