Тема: Релиз XenForo 1.0.0 Release Candidate 3
Показать сообщение отдельно
Старый 22.02.2011, 17:53 Вверх   #1
Местный житель
 
Аватар для NarKrIeL
NarKrIeL вне форума
Доп. информация
По умолчанию XenForo 1.0.0 Release Candidate 3

Facebook ColorScheme Style Property

To assist those using predominantly dark styles, we have added a new style property @fbColorScheme, which allows you to switch instantly between Facebook's light and dark plugin color schemes.

This setting affects Like buttons, 'Face Piles', Like boxes and all other Facebook integrated plugins.


Easier Color Palette Access

It is no longer necessary to drill down into the Style Properties system in order to access the color palette editor, as it is now linked directly from the navigation panel.

Additionally, the template editor itself now includes a gadget to allow you to quickly refer to the color palette without interrupting your editing session.


Enhanced Last Item Selection in Admin Control Panel

We have improved the usability of our CSS-driven list panels in the Admin Control Panel by highlighting the last edited item and automatically scrolling it into view, making repeat-editing a far easier task.

Additionally, we have improved the breadcrumbs for most items in the Admin Control Panel such that clicking on the final breadcrumb will return you to the list page and highlight the item you were just viewing.


Track Visitors from Search

A commonly-requested feature is the ability to identify visitors who have arrived on your site from a search engine result page, in order to target appropriate advertising etc. to them. XenForo now exposes this information in the session and visitor objects, allowing you to customize your templates and add-ons in any way you see fit. This information remains available for the duration of the visitor's browsing session.


PHP код:
<xen:if is="{$visitor.from_search}">  <!-- content to display to visitors referred by a search engine --> </xen:if> 
The URL of the page from which a visitor landed is now available as 'referer' within the session and visitor objects, wherever they came from.


More Template Hooks

In response to requests, we have included a number of new template hooks, including hooks that allow extensive control of the control panels in the account_x templates, and several points in the PAGE_CONTAINER template.


Disabled Add-Ons More Disabled

When an add-on is disabled in the Admin Control Panel, its navigation entries and options will be hidden, so there can be no mistaking that it is indeed disabled.


DEFAULT Template for Developers

To assist add-on developers get their code running, it is now possible to render a new template called DEFAULT in both the public and ACP areas until custom templates are authored. This template lists the parameters available to the template, along with the current controller name, action and view name.
PHP код:
 return $this->responseView('Example_ViewPublic_Thingy''DEFAULT'$viewParams); 
  Ответить с цитированием
 
Время генерации страницы 0.04211 секунды с 10 запросами