[TYPO3-ttnews] Re: [Typo3-tt-news] tt_news and mountpoint (MP): change on tslib_pibase?
Davide Principi
d.principi at nospamme.provincia.ps.it
Wed Dec 21 08:48:48 CET 2005
Another way (that I choosed at last) is setting up config.MP_defaults TS
property.
This saves other tt_news plugin instance configurations.
---
I try to explain my problem:
I have about 40 related-domains on the same typo3 installation that
share a single "news subtree". This subtree consists of 4 pages. On the
first root page there is a tt_news LIST instance, and on the sibilings
there are ARCHIVE SEARCH and SINGLE instances, respectively.
Every homepage mounts (by a sibling MountPoint page) the subtree and has
an INSERT RECORD cObj that includes a LATEST instance.
So every domain points to the same structure. This saves a lot of
creation and maintenance time, considered that the number of domains
will increase to 100 and more.
The MP_defaults solution allows other ad-hoc tt_news LATEST instances
(that refers to other news repositories) to work together with the main
LATEST instance.
On the other hand, the "addParams" solution has the problem of setting
the MP var to ALL tt_news instances on the same (home)page and also
requires an extension template to unset it on the mounted subtree.
--Davide Principi (dabba)
Amministrazione Provinciale di Pesaro e Urbino (Italy)
http://www.provincia.pu.it (italian typo3 site, still in progress)
More information about the TYPO3-project-tt-news
mailing list