Project

General

Profile

Actions

Feature proposal #5450

closed

Implement IF substitution for location

Added by krileon over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11 August 2015
Due date:
% Done:

100%

Estimated time:

Description

Implement a new IF substitution for location so content can show/hide based off being in frontend or backend. Example as follows.

[cb:if location="frontend"]DISPLAY IN FRONTEND ONLY[/cb:if]
[cb:if location="backend"]DISPLAY IN BACKEND ONLY[/cb:if]

It could also strictly follow Client ID as follows.

[cb:if clientid="0"]DISPLAY IN FRONTEND ONLY[/cb:if]
[cb:if clientid="1"]DISPLAY IN BACKEND ONLY[/cb:if]

https://www.joomlapolis.com/forum/153-professional-member-support/230833-problem-with-activity-plugin-and-jqueryvalidateminjs-in-backend

Actions #1

Updated by krileon over 9 years ago

  • Tracker changed from Bug to Feature proposal
Actions #2

Updated by krileon over 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Implement in #945. The following usages implemented.

[cb:if client_id="0"]FRONTEND[/cb:if]
[cb:if client_id="1"]BACKEND[/cb:if]
[cb:if lang_name="English"]ENGLISH[/cb:if]
[cb:if lang_tag="en-GB"]ENGLISH[/cb:if]

Actions #3

Updated by krileon over 9 years ago

Modified to:

[cb:if application_context="frontend"]FRONTEND[/cb:if]
[cb:if application_context="administrator"]BACKEND[/cb:if]
[cb:if language_code="en"]ENGLISH[/cb:if]
[cb:if language_tag="en-GB"]ENGLISH[/cb:if]

Actions #4

Updated by beat about 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF