Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] Same fe plugins in same Page but different TSConfig within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hello, I'm trying to put 2 instance of same frontend plugin in same page and I want to setup ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hello,
I'm trying to put 2 instance of same frontend plugin in same page and I want to setup different page TSConfig each for them. I put following config into template setup plugin.tx_evodotinjector_needle { process_page = 14 evo_root = /usr/local/evodot/ evo_module = shopsystem evo_plugin = search language = en } plugin.tx_evodotinjector_needle { process_page = 14 evo_root = /usr/local/evodot/ evo_module = shopsystem evo_plugin = response language = en } And it won't work. Could anybody give me information about to how to do this or lead me into a documentation. Regards Sancar _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
Hi!
Sancar Saran wrote: > I'm trying to put 2 instance of same frontend plugin in same page and I want > to setup different page TSConfig each for them. You mean TS setup, not TSConfig? TSConfig is used for user or page in Backend. > I put following config into template setup > > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = search > language = en > } > > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = response > language = en > } > > And it won't work. Yes, the second overrides the first. > Could anybody give me information about to how to do this or lead me into a > documentation. It depends on several things: - what templating method you use (traditional or TemplaVoila) - how do you insert plugin on the page (as TS object or as content element) -- Dmitry Dulepov http://typo3bloke.net/ _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
Hi Sancar,
> I'm trying to put 2 instance of same frontend plugin in same page > and I want > to setup different page TSConfig each for them. > > I put following config into template setup > > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = search > language = en > } > > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = response > language = en > } Your second setup will override the first one. In Typoscript you're be able to copy whole objects. For example in a COA (Content Object Array ![]() ---- Typoscript ---- # Default setting plugin.tx_evodotinjector_needle { process_page = 14 evo_root = /usr/local/evodot/ evo_module = shopsystem evo_plugin = search language = en } lib.rightContent = COA lib.rightContent { # This object use the default setting 10 < plugin.tx_evodotinjector_needle # This object use some own settings 20 < plugin.tx_evodotinjector_needle 20 { evo_plugin = response } } Hope this example will help? Best regards, Andre _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
On Thursday 26 June 2008 16:34:12 Dmitry Dulepov [typo3] wrote:
> Hi! > > Sancar Saran wrote: > > I'm trying to put 2 instance of same frontend plugin in same page and I > > want to setup different page TSConfig each for them. > > You mean TS setup, not TSConfig? TSConfig is used for user or page in > Backend. > > > I put following config into template setup > > > > plugin.tx_evodotinjector_needle { > > process_page = 14 > > evo_root = /usr/local/evodot/ > > evo_module = shopsystem > > evo_plugin = search > > language = en > > } > > > > plugin.tx_evodotinjector_needle { > > process_page = 14 > > evo_root = /usr/local/evodot/ > > evo_module = shopsystem > > evo_plugin = response > > language = en > > } > > > > And it won't work. > > Yes, the second overrides the first. > > > Could anybody give me information about to how to do this or lead me into > > a documentation. > > It depends on several things: > - what templating method you use (traditional or TemplaVoila) > - how do you insert plugin on the page (as TS object or as content element) Hello Again, We are using traditional template method. I insert 2 different plugin instance with "new content element" button Regards Sancar _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#5
|
|||
|
|||
|
Hi!
Sancar Saran wrote: > We are using traditional template method. > > I insert 2 different plugin instance with "new content element" button I must tell that I do not know this extension. If it provides options as content element, use those. Otherwise you are out of luck. -- Dmitry Dulepov http://typo3bloke.net/ _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#6
|
|||
|
|||
|
Hi Sancar,
I don't know if this ext could help you, but you might want to check this anyway: tscobj regards, Katja Sancar Saran kirjoitti: > Hello, > > I'm trying to put 2 instance of same frontend plugin in same page and I want > to setup different page TSConfig each for them. > > I put following config into template setup > > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = search > language = en > } > > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = response > language = en > } > > And it won't work. > > Could anybody give me information about to how to do this or lead me into a > documentation. > > Regards > Sancar > _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#7
|
|||
|
|||
|
On Thursday 26 June 2008 17:02:20 Dmitry Dulepov [typo3] wrote:
> Hi! > > Sancar Saran wrote: > > We are using traditional template method. > > > > I insert 2 different plugin instance with "new content element" button > > I must tell that I do not know this extension. If it provides options as > content element, use those. Otherwise you are out of luck. Hello Again, It was our special extension, we can include our non GPL modules and run under TYPO3. We had lots of modules and module plugins. Because of this we have to run more than one instance of this fe plugin. And I'm sorry to disturbed with this. I'm not capable TYPO3 user, I'm just php developer who write some code and his company wants to move TYPO3 at ASAP. (I do not know exact terminology, so I'm try to explain how to insert my fe plugin) We add our extension fe plugins with following way from Backend. left menu -> Web Page (click) Page Tree-> Page Name (click) calculator icon whit green +-> (click) Find our extension fe name -> (click) Then click save and close button Regards Sancar _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#8
|
|||
|
|||
|
on Fri, 27 Jun 2008 10:26:45 +0300, Sancar Saran wrote:
> On Thursday 26 June 2008 17:02:20 Dmitry Dulepov [typo3] wrote: >> Hi! >> >> Sancar Saran wrote: >> > We are using traditional template method. >> > >> > I insert 2 different plugin instance with "new content element" >> > button >> >> I must tell that I do not know this extension. If it provides options >> as content element, use those. Otherwise you are out of luck. > > Hello Again, > > It was our special extension, we can include our non GPL modules and run > under TYPO3. > > We had lots of modules and module plugins. > > Because of this we have to run more than one instance of this fe plugin. > > And I'm sorry to disturbed with this. I'm not capable TYPO3 user, I'm > just php developer who write some code and his company wants to move > TYPO3 at ASAP. Then it is your duty to enhance your extension to accept individual paramters for each inclusion. This may be done with flexforms. with flexforms you can give each instance of your plugin individual paramters which can override any global typoscript definitions. my private cheat sheet for this: http://www.pi-phi.de/t3v4/171.html as I'm german the few instructions around the code are in german, but you may find code like this in many other extensions. > (I do not know exact terminology, so I'm try to explain how to insert my > fe plugin) > > We add our extension fe plugins with following way from Backend. > > left menu -> Web > Page (click) > > Page Tree-> > Page Name (click) > > calculator icon whit green +-> (click) > > Find our extension fe name -> (click) With flexform-enhanced extensions you get fields to configure each instance with inidivual parameters at this point. > Then click save and close button bernd -- http://www.pi-phi.de/t3v4/cheatsheet.html _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#9
|
|||
|
|||
|
Hello Andre
Your Model WORKS ![]() Thank you very much > > Your second setup will override the first one. In Typoscript you're be > able to copy whole objects. For example in a COA (Content Object Array ![]() > > > ---- Typoscript ---- > > # Default setting > plugin.tx_evodotinjector_needle { > process_page = 14 > evo_root = /usr/local/evodot/ > evo_module = shopsystem > evo_plugin = search > language = en > } > > lib.rightContent = COA > lib.rightContent { > # This object use the default setting > 10 < plugin.tx_evodotinjector_needle > > # This object use some own settings > 20 < plugin.tx_evodotinjector_needle > 20 { > evo_plugin = response > } > } > > > Hope this example will help? > > Best regards, > Andre > > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] Page TSconfig and plugin property | Kiril Mitev | typo3-english@lists.netfielders.de | 0 | 16.04.2007 16:02 |
| [TYPO3] TCAdefaults for Page TSconfig? | David Lanier | typo3-english@lists.netfielders.de | 3 | 16.03.2007 21:04 |
| [TYPO3-templavoila] TCAdefaults for Page TSconfig? | David Lanier | typo3-project-templavoila@lists.netfielders.de | 1 | 16.03.2007 06:16 |
| [TYPO3-german] page tsconfig anschauen | Michael Stein | typo3-german@lists.netfielders.de | 2 | 07.02.2007 16:32 |
| Re: [TYPO3-ttnews] Condition for 2 tt_news plugins on one page | Amiran Chyb | typo3-project-tt-news@lists.netfielders.de | 0 | 29.01.2007 16:26 |