[TYPO3] retrieving fields from tables

Cate & Peter catepeter at optusnet.com.au
Thu Aug 24 15:31:45 CEST 2006


Hi all

 

I am trying to pull the page name from table "pages" , and am having very
little success.

 

So far I have

 

#Leftside Spoke Name

lib.pagename = CONTENT

lib.pagename {

   table = pages

  select {

    pidInList = this

    selectFields = title

   

  }

  

  renderObj = TEXT

  renderObj {

    required=1

 

 

# Outer wrap around all rows

  wrap=<span class="pagetitle">|</span>

 

  # Displays the title inside class tags

    field = title

    

       }

}

 

I am getting nothing at all.

 

What am I missing?

 

Thanks for fresh eyes ...

 

Cate




More information about the TYPO3-english mailing list