PAGES
LIVE
Blog
A blog is a web page where you can leave text, photographs, audio files, and links, typically but not always on a daily or weekly basis. The term is a shortened form of weblog. The EZGenerator Blog Page designed to be customized to meet your blogging needs. It's the web equivalent of a 'magazine column'. You edit, add articles and content live online, not in EZGenerator.
Basics
Generally, the blog page consists of some or all of the following objects: blog object, month archive, recent posts, recent comments, tag cloud, blog search, category archive, category drop-down menu, link to administrator. You can keep all or some of them in your blog page. Each of these objects represents different element of your blog.
Blog objects
The blog will look confusing at fist. You will be adding content online, not in EZGenerator. To better understand how Blog page objects change the appearance of your page you will need to view it live online. The Blog objects will allow you to re-design your blog by adding/removing objects, and changing their position.
With these parameters you define what information to show for each post. Add and remove parameters in %BLOG_OBJECT(...)%, within the brackets.
Database
This page can use MySQL or flat files database (depending on the MySQL switch in MySQL Settings). All blog posts and comments will be stored in a MySQL database or on the web server in flat files in ezg_data/ folder. You can add multiple blog pages in your project, and each one will have its own database.
Customization
Blog Settings
The following properties are available in the Blog Settings panel, accessed from the Toolbar. Make sure to configure these settings.
This tab is divided into few sections. Some of them have a small button (
) at the bottom right corner. Press it to access more settings.
Notification
Front Page
Comments
RSS
Media
Accessible Macros Fields
Each page has a Macros Fields panel, accessed via Editing Tools. This panel contains objects that you can insert on page.
In case you want to use your own blog home link, insert your custom hyperlink and use %BLOG_HOME_URL% as url.
Field parameters
Some objects can be inserted with additional parameters.
Normally the blog object lists all posts with title, date, image/mp3/other (if available), content and footer. Using a few parameters you can customize this default layout. The parameters are:
If you want to change the default date format used with the %date% parameter, use: %date[mmm d, yyyy (ddd)]%, where the syntax follows the standard %DATE% Macro syntax. If you want to set month or week name in upper case, use MMM and DDD.
For example:
%BLOG_OBJECT( %title%
%image%
%date%)% - will list all posts with title, image/mp3/other and date
%BLOG_OBJECT( %date%
%title%
%image%
%datetime% )% - will list all posts with date, title, image/mp3/other and date&time footer
Normally, recent posts object lists all recent posts with title link, date and (::) as bullet. Using few parameters you can customize this layout. The parameters you can use are: %title%, %date% and %item_url%.
For example:
%BLOG_RECENT_ENTRIES( * %title% %date%)% - will list recent posts with (*) as bullet, title as link, and date
%BLOG_RECENT_ENTRIES( * %title% )% - will list recent posts with (*) as bullet and post title as link
In order to set one of the parameters as link to the specified post, you should make this parameter hyperlink (with Link type: url, and Url: %item_url%)
If you use Upload File field to attach image, when writing posts, and want to include the image thumbnail inside recent posts bar, use %image[100,80]% parameter. 100 and 80 are sample width and height and you can change these.
Normally, recent comments object lists all recent comments with title link, date and (::) as bullet. Using few parameters you can customize this layout. The parameters you can use are: %title%, %date% and %item_url%.
For example:
%BLOG_RECENT_COMMENTS( * %title% %date%)% - will list recent comments with (*) as bullet, title as link, and date
%BLOG_RECENT_COMMENTS( * %title% )% - will list recent comments with (*) as bullet and comment title as link
In order to set one of the parameters as link to the specified comment, you should make this parameter hyperlink (with Link type: url, and Url: %item_url%)
Normally, archive object lists all archive periods with date link. Using few parameters you can customize this layout. The parameters you can use are: %title% and %item_url%.
For example:
%BLOG_ARCHIVE( :: %title%)% - will list archive periods with (::) as bullet and date as link
%BLOG_ARCHIVE( * %title% )% - will list archive periods with (*) as bullet and date as link
In order to set %title% parameter as link to the specified period, you should make this parameter hyperlink (with Link type: url, and Url: %item_url%)
Normally, category list object lists all categories with category link. Using few parameters you can customize this layout. The parameters you can use are: %title% and %item_url%.
For example:
%BLOG_CATEGORY_LIST( :: %title%)% - will list categories with (::) as bullet and category title as link
%BLOG_CATEGORY_LIST( * %title% )% - will list categories with (*) as bullet and category title as link
Same for BLOG_CATEGORY_LIST_VER object.
In order to set %title% parameter as link to the specified category, you should make this parameter hyperlink (with Link type: url, and Url: %item_url%)
Normally, category filter drop-down menu is set with fixed width. In case you have categories with longer names, you may need to make this drop-down menu wider. To accomplish this, use the following syntax:
%BLOG_CATEGORY_FILTER(XXXpx)%, where XXX is the drop-down menu width
Using RSS
RSS or Really Simple Syndication allows visitors to subscribe to websites that have provided RSS information feeds. RSS is a useful tool for sharing your site updates with users that may be interested. RSS makes use of code that scans the content of your blog for updates and broadcasts those changes to subscribers through an RSS feed. EZGenerator blog page uses RSS 2.0 format for the feed.
To set RSS feed for your blog, you should follow these steps:
If a visitor is interested in your blog and wants to be informed when updates are available, they can use the RSS button to get the RSS feed, and pass it to their favorite RSS aggregator.
Administrator panel
The Administrator lets you manage your Blog - review, add, edit and delete posts, edit and delete comments. The panel is accessible through the administrator link (if any is placed on the Blog page) or via Online Administration panel. This panel is username&password protected.
To insert administrator link in your Blog page:
Start Blogging, Write a post
To add new blogg post:
Type blog url in Send Trackback To field to ping certain blog.
Posts
Use Posts screen to review/edit/delete posts.
Categories
Use categories screen to manage categories - edit/delete and add new.
Comments (available if comments are enabled)
Use comments screen to review/edit/delete comments, posted by visitors and to approve them (if approval is required).
Trackbacks
You allow trackbacks on post level. A trackback is a method for Web authors to request notification when somebody links to one of their documents. This screen will list received trackbacks, sent to your blog by external blogs, waiting for approval. After you approve a trackback, it will be shown on blog front page. To show approved trackbacks on front page, make sure you have %trackbackslink% parameter somewhere in %BLOG_OBJECT(..)%.
Settings
Default permalink looks like: http://www.mysite.com/blog.php?entry_id=1304421683&title=post-title
While the alternative (month and title) looks like: http://www.mysite.com/2011/05/post-title/
In order to have this feature work, you will have to manually create file .htaccess in the root directory on server.