[TYPO3] jm_gallery

Borut Rozman jedo at zipp.nu
Fri Apr 7 12:14:59 CEST 2006


I did what you asked me and it looks like like that

:

temp.gal {
        stdWrap.cObject = CONTENT
        stdWrap.cObject {
        table = tt_content
        select {
                pidInList = 208
                orderBy = sorting
                where = uid = 689
                }
        }
}

temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  template =< plugin.tx_automaketemplate_pi1
  workOnSubpart = DOCUMENT_BODY
  subparts.content < styles.content.get
  subparts.left < styles.content.getLeft
  subparts.gr < temp.gr
  subparts.menu < temp.menu
  subparts.menu_1 < temp.menu_1
  subparts.pageTitle < temp.title
  subparts.gal < temp.gal
}
plugin.tx_automaketemplate_pi1 {
  content = FILE
  content.file = fileadmin/stanovanjska-oprema.si/index.html
  relPathPrefix = fileadmin/stanovanjska-oprema.si/

  elements {
    BODY.all = 1
    BODY.all.subpartMarker = DOCUMENT_BODY
    HEAD.all = 1
    HEAD.all.subpartMarker = DOCUMENT_HEADER
    HEAD.rmTagSections = title
    TD.id.top1 = 1
    TD.id.top2 = 1
    TD.id.searchbox = 1
    TR.id.gr = 1
    TD.id.menu = 1
    TD.id.menu_1 = 1
    TD.id.content = 1
    TD.id.left= 1
    TD.id.pageTitle = 1
      TD.id.gal = 1
}
}

and I still cant get the content....

any clue from now on ?

and thanks for your big help
Navajanje Borut Rozman <jedo at zipp.nu>:

> So I "make" a content somewhere which is selected through TS ?
> pidInList = 690 ?!? what is this for number of element or?
>
> regards b.
>
> Navajanje Tapio Markula <tapio.markula at dnainternet.net>:
>
> > Borut Rozman wrote:
> > > I am building this site ...
> > >
> > > http://test.zipp.nu ,gallery is on
> > > http://test.zipp.nu/Predogled_slik.205.0.html
> > >
> > > so I want to use part for rand. images on that right part of my website
> > where it
> > > is "Galerija" . I would like to set that up in template of page let me
> say
> > as id
> > > 'gal' Now I have to set up template (that I know how) but do not know how
> > to do
> > > this in TS so that element would be replaced with random part of
> jm_gallery
> >
> > if you don't know how to set the plugin with TS create a content object
> >
> >
> > gal {
> > 	stdWrap.cObject = CONTENT
> > 	stdWrap.cObject {
> > 	table = tt_content
> > 	select {
> > 		pidInList = 690
> > 		orderBy = sorting
> > 		where = uid = 2
> > 		}
> > 	}
> > }
> >
> > That should select a certain content element.
> > And you can setup it as RANDOM for settings for the content element itself
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
>
>
> Borut Rozman
> Zipp design
> http://www.zipp.nu
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


Borut Rozman
Zipp design
http://www.zipp.nu

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the TYPO3-english mailing list