Project

General

Profile

Actions

Feature proposal #6354

open

Rewrite how template files are included

Added by krileon almost 8 years ago. Updated over 7 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
19 December 2016
Due date:
% Done:

0%

Estimated time:

Description

Currently it uses a Class > Function usage. The problem with this is if you include it more than once it errors. This means you can't have per-community template usage. Instead the template function should return a URL path that can then be output via a require call. This is in short how Joomla layouts function.

See CB Core Fields Ajax for first implementation of this new template usage.

Note at same time this is implemented add support for per-stream template selection instead of it strictly being globally based.


Related issues 1 (1 open0 closed)

Precedes CB Gallery - Feature proposal #7710: Implement a core template for embedded outputAssignedkrileon20 December 201620 December 2016

Actions
Actions #1

Updated by krileon over 7 years ago

  • Target version changed from 2.1.0 to 4.0.0
Actions #2

Updated by krileon about 5 years ago

Actions

Also available in: Atom PDF