[TYPO3] Can Typo3 work with flash?

Mike php at talkingspider.com
Sat Aug 12 18:00:11 CEST 2006


Found out how to do parent uid, it's leveluid:-2.

Still don't know why I can't get your code to work.  I am definately 
viewing the right page, and it definately has an "Images only" 
content object on the colPos 2 column, I've even double checked 
everything in the mysql table...



At 11:40 AM 8/12/2006, you wrote:

>Still won't work, output is still &image0=/yourImagePath/. I tried
>both splits, here is my code now:
>
>
>temp.myFlashSlideShow = COA
>temp.myFlashSlideShow {
>     # wrap = <here goes your flash code except parameters>|</end of the code>
>      10 = TEXT
>      10 {
>          field = image
>             split  {
>                  token = ,
>                  cObjNum = 1
>                  1 {
>                          current = 1
>                          rawUrlEncode = 1
>                          dataWrap =
>&image{register:SPLIT_COUNT}=/yourImagePath/|
>                  }
>          }
>      }
>}
>
>
>
>imgcon = CONTENT
>imgcon  {
>      table = tt_content
>      select {
>          where = colPos=2
>      }
>      renderObj < temp.myFlashSlideShow
>}
>
>
> >1.) there is no "global:id"
>
>Actually, there is a global:id, it's in the documentation, try doing:
>
>page.10.data = global:id
>
>http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/current/view/4/2/
>
>I'm actually looking for a way to get the parent page's id.  Do you know?
>
>
>
>At 07:00 AM 8/12/2006, you wrote:
> > > It still won't work.
> > >
> > > imgcon = CONTENT
> > > imgcon  {
> > >
> > >    table = tt_content
> > >
> > >    select {
> > >          pidInList = global:id
> > >          uidInList = 7
> > >    }
> > >    renderObj < temp.myFlashSlideShow
> > > }
> > >
> > > The output I always get is "image0=/yourImagePath/".  I have two
> > > images in my image pagecontent object.  I'm definitely viewing the
> > > right page, the one that has the content object. If I explicitly set
> > > the pid to 14, which is the page id, I still get the same result.
> >
> >1.) there is no "global:id"
> >2.) if you want to do it dynamically and not from a fixed page you have to
> >do it like this:
> >
> >imgcon = CONTENT
> >imgcon  {
> >     table = tt_content
> >     select {
> >         where = colPos=2
> >     }
> >     renderObj < temp.myFlashSlideShow
> >}
> >
> >pidInList will always default to "this", which is the current page.
> >uidInList has to be replaced with a where clause pointing to the desired
> >column.
> >
> >3.) I found a bug in the code I posted for the split section it has to be:
> >
> >  split  {
> >     token = ,
> >     cObjNum = 1
> >     1 {
> >         current = 1
> >         rawUrlEncode = 1
> >         dataWrap = &image{register:SPLIT_COUNT}=/yourImagePath/|
> >     }
> >}
> >
> >or
> >
> >  split  {
> >     token = ,
> >     cObjNum = 1
> >     1 {
> >         10 = TEXT
> >         10.current = 1
> >         10.rawUrlEncode = 1
> >         10.dataWrap = &image{register:SPLIT_COUNT}=/yourImagePath/|
> >     }
> >}
> >
> >check it out.
> >
> >Joey
> >
> >--
> >Wenn man keine Ahnung hat: Einfach mal Fresse halten!
> >(If you have no clues: simply shut your knob sometimes!)
> >Dieter Nuhr, German comedian
> >openBC: http://www.cybercraft.de
> >T3 cookbook: http://www.typo3experts.com
> >
> >
> >_______________________________________________
> >TYPO3-english mailing list
> >TYPO3-english at lists.netfielders.de
> >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list