Welcome to Geeklog Saturday, July 22 2017 @ 10:44 am EDT


Status: online

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 278
Location:Tokyo Japan
Thank you for Geeklog 2.1.3!

Where is more detail information for Geeklog 2.1.3 feature?

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

/admin/story.php?mode=edit&editor=std&sid=xxx ?
how can I change style?

[Feature] Admins can now edit more fields of users

/admin/user.php?mode=edit&uid=xxx ?

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

how can I use?
Geeklog Japan https://www.geeklog.jp

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1218
>>[Feature] Images in articles can now be styled

This is for images that are uploaded with the story from the image tab that use the [imageX], [imageX_right], and [imageX_left] tags.

In the template files storttext.thml, featuredstorytext.thml and archivestorytext.thml you will notice 3 extra blocks in the files called image_noalign, image_leftalign, and image_rightalign. Within these blocks you can now style how the images look.

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

This is used by plugins like the Forum (use the latest forum code in the repository, it has not been released yet). Plugins can now automatically add new fields which will display on the user page, My Account and when the Admin edits a user.

Plugins could do this before but the templates would have to be manually updated to include the fields. Now they are added automatically.

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

No Geeklog Core autotags need to use this feature (yet). Plugin developers can now use this if they want and add it to their plugins. OR you can use it with the new Autotags plugin 1.1.1 which was just released. Instructions are included with the Autotags Plugin when you create a new autotag. It shows how to create a simple autotag for wrapping html around a text. Here is the example:

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 <h1>This is a Heading</h1>
One of the Geeklog Core Developers.

Status: online

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 278
Location:Tokyo Japan
Thanks!

Autotag new feature is awsome.

Geeklog Japan https://www.geeklog.jp

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1218
[Feature] Staticpage Templates now use caching template library. This means logic processing is now possible

This feature is also really cool. As before you can setup a staticpage as a template (with HTML and template variables) and then assign it to 1 or more staticpages that contain XML that assign those template variables to actual content. See the Wiki for more information and example: http://wiki.geeklog.net/Static_Pages_Plugin#Template_Static_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_Plugin#Accessing_Geeklog_Variables_and_Logic_Processing

http://wiki.geeklog.net/Caching_Template_Library#Logic_Processing_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.
One of the Geeklog Core Developers.

Status: online

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 278
Location:Tokyo Japan
Thank you for Geeklog wiki.
Geeklog Japan https://www.geeklog.jp

Status: online

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 278
Location:Tokyo Japan
Geeklog 2.1.3 Autotags can now have a close tag if needed

How about Autotags PHP functions: "lang"

usage:
PHP Formatted Code
[lang:en]English content[/lang]
[lang:ja]日本語コンテンツ[/lang]


display: url: xxxxxxx_en
PHP Formatted Code
English content

Geeklog Japan https://www.geeklog.jp

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1218
So what is it displaying a url too?

I am not sure what this autotag is suppose to do?

Tom
One of the Geeklog Core Developers.

Status: online

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 278
Location:Tokyo Japan
for multi language site using MediaGallery plugin.
Media title:
PHP Formatted Code
[lang:ja]................[/lang][lang:en]...English title.....[/lang][lang:zh]................[/lang][lang:ko]................[/lang]


Media Description:
PHP Formatted Code
[lang:ja]................[/lang][lang:en]...English description.....[/lang][lang:zh]................[/lang][lang:ko]................[/lang]


if English mode:
title: ...English title.....
Description: ...English description.....

Geeklog Japan https://www.geeklog.jp

All times are EDT. The time is now 10:44 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content