这几天在Internet Explorer或Maxthon里保存jpg图片,不管怎样,总是保存为bmp格式的。

baidu了才知道,这是ie的一个bug,解决这个问题的方法有三种,但一般来说是由于临时文件夹已满,清空就可解决。

Read the rest of this entry »

原文:http://typo3.hachmeister.org/Insert_a_forum.95.0.html

作者:Karsten Hachmeister

翻译:thinkcq

在这片指导手册里,我想让大家了解怎样创建一个看起来像phpbb的论坛,它不是来自phpbb,而仅仅是普通的typo3论坛。在这里你可以看看最后它的效果。

forum.png

Read the rest of this entry »

原文:http://typo3.hachmeister.org/Add_news_to_your_page.183.0.html
作者:Karsten Hachmeister
翻译:thinkcq

准备

本教程将讲述怎样使用新闻插件(模块),它分为两部分,第一部分解释一个简单的新闻列表用***页呈现出来;第二部分你将学习到怎样用一个新闻存档创建一个最新的新闻列表。

在使用News plugin(新闻插件)前你需要在扩展管理器激活它,你可以在Frontend plugin(前台插件)部分找到。

新闻列表

页面结构

为你新闻列表创建一个页面和为新闻项目与分类创建一个系统目录。如下图:

news.png

新闻条目与分类将创建在news系统目录中,你现在已经可以创建一些新闻类别了,创建类别的方法是:用鼠标左键点击系统目录图标,选择new(新建),然后点击News创建一条新闻,点击News category创建一个新闻类别。

模板

在这个页面中(不是系统目录)新建一个模板并在”Constants”字段处写下如下代码:

plugin.tt_news {
  file.templateFile = media/scripts/news_template.tmpl
  wrap1 = <font color="#999999"> | </font>
  wrap2 = <font color="#004263"> | </font>
  color1 = #999999
  color2 = #004263
  PIDitemDisplay = single_news_display_pid
}

参数”File.templateFile表示哪个HTML模板将用来显示新闻。

“wrap1″和”wrap2″你可以用来特别地描述HTML模板的外观,在这个例子中,”wrap1″被用着浅灰色文字,”wrap2″被用着新闻的标题。

参数color1和color2是定义用在HTML模板中颜色的值,在此例子中没有用到。

定义参数”PIDitemDisplay”到news页面的pid(不是系统目录)————–你也可以用另外一个页面来现实单条的新闻,然后你需要改变这个的pid值。

在模板的”setup”区域中放置如下代码:

plugin.tt_news {
  limit = 5
  displayList {
    image.file.maxW = 100
    imageWrapIfAny (
      <table align="left" bgcolor="#AAAAAA" cellpadding="1"
             cellspacing="0" border="0">
      <tr><td>
      <table bgcolor="#EEEEEE" cellpadding="0"
             cellspacing="0" border="0">
      <tr><td> | </td></tr>
      </table>
      </td></tr>
      </table>
    )
  }
  displaySingle {
    image.file.maxW = 160
    imageWrapIfAny (
      <table align="left" bgcolor="#AAAAAA" cellpadding="1"
             cellspacing="0" border="0">
      <tr><td>
      <table bgcolor="#EEEEEE" cellpadding="0"
             cellspacing="0" border="0">
      <tr><td> | </td></tr>
      </table>
      </td></tr>
      </table>
    )
  }
}

参数”limit”是用来限制在一个页面显示新闻的条数,如果有更多的新闻条目你可以使用”prev”和”next”按钮来表示。

用参数”image.file.maxW”你可以具体指定新闻图片的最大宽度,”displayList”和”displaySingle”两者都可使用。

如果是一张图片,”imageWrapIfAny”将是图片到新闻条目之间的值,否则将不会执行,”displayList”和”displaySingle”两者都可使用。

现在用来显示新闻的HTML模板准备就绪,取名为news_template.tmpl上传到”media/script”目录下:

news_template.tmpl

请记住:如果你要保存,Internet Explorer要改成.htm

页面内容

在news页面中(不是系统目录)创建如下的一个内容元素:newcontent.png

在Startingpoint里的news是系统目录news。

现在在系统目录你可以创建一些新闻准备用来显示新闻列表。

这里查看实例


Technorati : , ,

Mysource Matrix挺好。我看了官方的演示视频,感觉比较人性化,功能也好像满强大, 我试图装上试试。但没有装上,对服务器的配置有严格要求。如果国内有哪位大哥使用Mysource Matrix的,请与我联系thinkcq@gmail.com QQ:68654360

Mysource Matrix后台操作视频演示下载:

http://www.matrix.squiz.net/__data/assets/file/6191/admin_video.swf

Read the rest of this entry »

什么是MySource Matrix

03月 15th, 2006

Mysource Matrix后台操作视频演示下载:

http://www.matrix.squiz.net/__data/assets/file/6191/admin_video.swf

MySource Matrix is an open source web content management system (CMS). Open source means it is free; free to download, free to use, free to copy and you are even free to change the software.

A free product does not mean feature poor. In fact, to the contrary, MySource Matrix is an extremely feature rich CMS and in many cases exceeds the functionality of traditionally licensed high-end CMS such as Interwoven, Vignette, Microsoft CMS or RedDot.

MySource Matrix was originally developed by an Australian company called Squiz. MySource Matrix is very popular in Australia and may be the most widely used CMS in Australian Government. It is also popular in the private and education sectors. The Australian Federal Government has completed an independent review of MySource Matrix and collated their results in a report known as the white-branding documentation suite. You can download the white-branding report here.

MySource Matrix is also very popular in the private and education sectors with many large brand-name organisations using the product such as News Limited, Austereo, Ray White, Melbourne University, Oxford University and Cambridge University.

MySource Matrix is intended for use by mid-sized and large organisations. It is not designed for smaller systems (less than 100 pages) rather the leaner MySource Classic is a more suitable product for these users. The real benefits of MySource Matrix are appreciated by organisations that are looking for a publishing solution that that includes:

  • A completely functional GUI cross-browser interface that does not require high-level IT skills to operate (no programming skills are needed to use any of the features of MySource Matrix)
  • Rich content editing for users with little or no IT skills
  • Comprehensive content versioning and audit trails
  • Industry leading standards and web accessibility support
  • Definable workflow
  • Granular Permissions
  • Content locking (check-out) to ensure editors can work collaboratively
  • Flexible and enforceable metadata schema
  • Link management (ie cannot delete items and cause broken links in a site)
  • Functionality to separate design from content for improved maintenance and ability to present content to different channels such as text-only or Blackberry.
  • Dynamic content personalisation and other portal style functions
  • Internationalisation support
  • Easily extensible architecture with plug-in modules such as calendars, discussion forums, search engine etc

MySource Matrix is different from most other open source content management systems such as Typo3 or Mambo. Many open source CMS follows a Lego style of development philosophy where you start with the core CMS then download and add (like Lego blocks) different bits and pieces (extensions) to build a fully functional site. By comparison, MySource Matrix achieved much of its functionality is in the core or in one of a handful of “super” extensions.

For example, if I wished to create an image library, a staff directory or a document database and I was using an extension style CMS, one would pick an appropriate module for each of those functions from the extension library and configure each to work in the way I require.

Instead, MySource Matrix’s Asset Listing is capable of performing all 3 functions (and many more) and gives the user a much greater degree of flexibility to configure the way each behaves.

The Lego approach works well on smaller sites but is less effective where large amounts of content is managed. The extension based model does pose some frustrations in larger systems as extensions are not necessarily interoperable - At least not to the same inter-operability level as MySource Matrix and there is a lot of wasted (duplicate) code and functions between extensions all of which needs to be maintained and may introduce bugs.

In MySource Matrix the Asset Listing tool can be used to aggregate different types of content across a system to make:

  • A staff directory
  • An image library
  • A document library
  • A single page that summarises the content of your site
  • A harvest control list
  • An RSS feed
  • A product selection page for shopping

In other words much richness and functionality can be added to a site simply by configuring assets of the core system which greatly improves system maintainability. Of course you are still free to create or add additional extensions if you feel that is appropriate.

MySource Matrix is ready to use “out-of-the-box”; it does not require users to program the system, rather all functionality can be configured through set up through graphical user interfaces. There are in fact two interfaces for accessing and managing content. The first, known as the “Simple-edit” interface, is designed to be easy to learn and allow users with little or no training to create, edit, approve and publish content. The simple-edit interface provides a cut-down set of functions and forces users to adhere to the rules defined by the MySource Matrix Administrators.

The MySource Matrix Administrators use the second interface which is logically called the “Administration Interface”. This interface allows users too define site rules such as design templates, information architecture, access rights, metadata schema and workflow. The administration interface is about as simple/complex to learn as Macromedia Dreamweaver consequently we encourage people to attend the accredited training courses if they will be responsible for managing sites through the administration interface.

In addition to training, there are many support services available for MySource Matrix. This website is of course one resource, as the free web forums another. Some states run regular user group meetings and a number of organisations offer professional support services such as implementation services and Service Level Agreements.

Community code contributions are encouraged however there are strict quality requirements that tend to limit contributions to professionals developers. All code submitted to the project must be architecturally sound, pass Snoopy tests and be supplied with relevant units tests to be included in our unit testing framework before being added to the code base.

MySource Matrix is designed to run on a Linux web server, running Apache, PHP and PostgreSQL (all open source software). Other platforms and databases (eg Oracle) are also supported and you can find more information about supported platforms here.

Other reading:

 

Technorati : , ,