ようこそ! Geeklog Japan, Anonymous 2024/04/20 22:41 JST

Geeklog 2.1.3 機能アップ内容

  • 2017/07/15 00:59 JST
  • 投稿者:
  • 表示回数 2,783
Geeklog Geeklog 2.1.3では、いくつかの機能追加があります。

>>[Feature] Images in articles can now be styled

[imageX], [imageX_right], そして [imageX_left] タグのスタイルが追加されました。

関係するテンプレート:
storttext.thml, featuredstorytext.thml archivestorytext.thml

>>[Feature] Admins can now edit more fields of users

Forumプラグイン(まだリリースしていませんが、最終リポジトリで活用). プラグインは自動的にユーザープロフィールにフィールドを追加できます。マイアカウントと、管理者のユーザー管理画面で表示されます。

プラグインに対応すべく、手動でフィールドを追加しなければならなかったのですが、今では自動的に追加されます。

>>[Feature] Autotags can now have a close tag if needed

Autotags plugin 1.1.1で、閉じタグが必要な自動タグがセットできるようになりました。

Example 2 (with close tag): Autotags can be used to add HTML tags. A Replace With field of <#1>#3</#1> when combined with this tag [tag:h1]This is a Heading[/tag] will result in the string This is a Heading

[Feature] 静的ページのテンプレートが、caching template libraryを利用できるようになりました。すなわち、静的ページはロジック処理ができるようになったということです。

静的ページをテンプレートとして作成し(HTML とテーマ変数) 1または複数の、XML形式の静的ページが処理できます。
詳しくはWiki:
http://wiki.geeklog.net/Static_Pages_...atic_Pages

This allows you to create pages with unique content but follows a template. So if you ever want to change the look you only have to change the template page.

As of Geeklog 2.1.3 we have added logic processing to the template staticpage. It uses the same logic processing as theme template files.

http://wiki.geeklog.net/Static_Pages_...Processing

http://wiki.geeklog.net/Caching_Templ...ocessing_2

which means you can do a lot more things. This means staticpages also have access to global template variables like 'anonymous_user' and 'device_mobile' so you can setup staticpages to react to just anonymous users or a mobile device.