TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Same fe plugins in same Page but different TSConfig

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 ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 26.06.2008, 15:26
Sancar Saran
Gast
 
Beiträge: n/a
Standard [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 26.06.2008, 15:34
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 26.06.2008, 15:40
Andre Dittmar
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 26.06.2008, 15:59
Sancar Saran
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 26.06.2008, 16:02
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #6  
Alt 26.06.2008, 16:20
Katja Lampela
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #7  
Alt 27.06.2008, 09:26
Sancar Saran
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #8  
Alt 27.06.2008, 12:50
bernd wilke
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #9  
Alt 30.06.2008, 09:50
Sancar Saran
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Same fe plugins in same Page but different TSConfig

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:47 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39