TomatoCMS 2.0.3

From TomatoCMS Documentation

Jump to: navigation, search

Contents

March, 1st, 2010: TomatoCMS 2.0.3 released

TomatoCMS 2.0.3 version released on 1st, March, 2010. This version improved core module: support hook in module level; support database prefix. It used more Zend Framework components. This version also supports RTL language in both front-end and back-end sections.
Let's download TomatoCMS version 2.0.3

What's new?

Use more Zend Framework components

- Remove PEAR JSON Service from Twitter widget and use Zend_Json

- Use Zend_Paginator and Zend_View_Helper_PaginationControl to render the paginator instead of PEAR_Pager

- Use Zend_Application to create and bootstrap the application

- Fixed to work with Zend Framework 1.10.0. Also, Zend Framework 1.10.0 is attached in download package.

Improve core module

- Support database prefix. You can set it when install TomatoCMS.

Now, it's more easy to translate language data in modules and widgets without caring about current module, widget.

  1. In modules:

BEFORE:

<?php 
$this->translates['news']->_('article_add_page_title'); 
?>

NOW:

<?php 
$this->translator('article_add_page_title'); 
?>
  1. In widgets:

BEFORE:

<?php 
$this->translates['news_mostviewed']->_('most_viewed'); 
?>

NOW:

<?php 
$this->translator()->widget('most_viewed'); 
?>

- With 2.0.3 version, you can install and apply hook in module level. Install hook:

caption

Apply hook:

caption

New SEO module

This 2.0.3 version built new SEO module which provide SEO utilities. Currently, it comes with

- New hook named gatracker that allows you to insert Google Analytic tracker code.

caption

- New widget named googler that show configurable welcome message if user visit your site from Google's searching result

caption

Support RTL languages

2.0.3 version supports RTL languages as Arabic, Iranian, ... for both front-end and back-end sections. In front-end:

caption

and back-end:

caption

New widgets

There're two built-in widgets in this version. - The first widget is Flickr that show latest Flickr images from given account

caption

- The second one is TextResizer that allows user to set the smaller or larger font size for pages

Offline mode

This version allows you to set website in offline mode

caption

You can configure this message when install using Install Wizard or in back-end

caption

Bugs fixed

This 2.0.3 version fixed various bugs which are listed as follow:


  • #0000049: Could not load result when make a vote for Vote widget
  • #0000054: Don't work with ZF 1.10.0
  • #0000055: Remove the temp files in root directory when generate thumbnails by GD
  • #0000056: Allows user to add Google Analytic code to site
  • #0000058: Could not uninstall zfdebug plugin
  • #0000063: Generate random password for admin account after installing
  • #0000061: There are errors if user don't connect to the Internet directly
  • #0000065: Redirect to install page if user have just downloaded TomatoCMS and have not installed yet
  • #0000066: Install Wizard: Execute most important queries to ensure the website will work without importing sample data
  • #0000075: Show message when user want the site to be in offline mode
  • #0000098: Front-end links are not correct, if user install in sub directory
  • #0000104: At the final step of Install Wizard, show the link to backend
  • #0000106: Could not update category
  • #0000107: Convert entry point class of application to the one extending from Zend_Application_Bootstrap_Bootstrap (Includes App and Installer class)
  • #0000108: Remove PEAR Services from lib
  • #0000110: Use Zend_Paginator instead of PEAR Pager
  • #0000111: Links in pager of page that lists comments in same thread are not correct if user install TomatoCMS in sub-directory
  • #0000113: Rename twitterupdate widget to twitter
  • #0000114: There is an error at comment widget section in article details page
  • #0000117: Back-end menu does not work correctly when switch to blog template
  • #0000118: At step 2 of Install Wizard, allows user to select date time format more easy
  • #0000119: Create new view helper to translate
  • #0000121: Create new plugin that disable magic quote and turn on this plugin during install if magic quote is on

March, 2nd, 2010: TomatoCMS 2.0.3.1430 minor version released

TomatoCMS 2.0.3.1430 minor version released.

This version fixed some critical bugs from 2.0.3 version.

Bugs fixed

  • #0000059: Support RTL (right to left) interface: Fix front-end section on Chrome
  • #0000142: After update article, the article lost its status
  • #0000143: The Widget Paginator does not work in Layout Editor
  • #0000144: Error if user access to module which has not been install
  • #0000145: The vote widget: There's javascript error if poll is not found
  • #0000147: Newer and Older widgets do not load articles as expected
  • #0000149: Add title for images in Flickr widget
  • #0000150: Don't create slug for article automatically
  • #0000151: Error after installing zfdebug plugin
  • #0000154: There's a JavaScript error when removing hook from targets
  • #0000156: Suggest articles when typing in search box
  • #0000159: User still can view the inactive article on front-end

March, 14th, 2010: TomatoCMS 2.0.3.1622 minor version released

This is final release for 2.0.3 branch. This minor version support session lifetime, debug mode and fixed most critical bugs.

What's new?

Support session lifetime

Now, users don't have to remove expired session manually. Users can set session lifetime (in seconds) in app.ini (TomatoCMS_Installed_Folder/app/config/app.ini):

...
[web]
session_lifetime = "3600"
...

Debug mode

This version allows developer to set the website in debug mode by setting following option in app.ini

...
[web]
debug = "true"
...

Bugs fixed

This minor version fixed bugs from previous version:

  • #0000141: When install in sub-directory, thumbnails received invalid URLs after uploading
  • #0000148: The article does not show image or clip icon although it was set in back-end
  • #0000161: Could not load menu at the front-end due to javascript error
  • #0000162: Error when apply hooks which its type do not match target
  • #0000165: Could not generate thumbnails after uploading png images
  • #0000167: Fix UI of banners listing page if there's flash banner
  • #0000168: After updating banner, the banner zones are swapped
  • #0000169: Not found error after creating config without selecting group
  • #0000171: Could not install if set the database prefix empty
  • #0000172: Javascript error occurred in adding/updating template page
  • #0000174: Could not comment in front-end if install TomatoCMS in sub-directory
  • #0000175: In back-end, the date of comments don't display correctly
  • #0000176: Show the message after saving order of pages
  • #0000177: Improve Translator widget and remove the big loop in Init plugin that initialize language data
  • #0000178: Could not load banners if user installed TomatoCMS in sub-directory
  • #0000179: Could not load new created static page
  • #0000180: Countdown widget: Allows user to select the date time from select boxes instead of inputing to textbox
  • #0000181: Improve editing/adding page for template
  • #0000182: Update layout route file (layout.ini) after adding/updating/deleting page
  • #0000183: When install in sub-directory, tracking link of banner is invalid
  • #0000185: Fix UI errors on IE
  • #0000189: The suggestions of search box limit the search results
  • #0000190: In front-end, hide paginators when data is empty
  • #0000191: stickycategory widget: The last slide is empty
  • #0000192: Could not reply comments in front-end
  • #0000193: comment widget: The link of avatar is not correct
  • #0000196: In updating menu page, the administrator menu is flicker
  • #0000197: When install in sub-directory, RSS link in head section of category page is not correct
  • #0000106: Add session lifetime setting: Destroy session after given inactivate seconds
  • #0000208: After installing, there are not available widgets to select in Layout Editor

Upgrade to this version

If your site is running an older TomatoCMS and want to upgrade to this version, you have to execute following SQL queries (via phpMyAdmin or any MySQL client tool):

ALTER TABLE `t_core_session` DROP  COLUMN `access_time`;
ALTER TABLE `t_core_session` ADD `modified` INT;
ALTER TABLE `t_core_session` ADD `lifetime` INT;
Personal tools