FRAME

FRAME is an object type.

Attention

FRAME, FRAMESET and frameSet have been deprecated in version 8.5 of the TYPO3 core. Using this is no longer considered good practice.

Additionally, frameset and frame are no longer supported in HTML

See Deprecation: #78217 - frameset and frame (8.5 Changelog).

Properties

Property Data Type stdWrap Default
name <frame>-data:name   value of “.obj”
obj pointer to top-level object-name    
options string    
params <frame>-params    
src <frame>-data:src /stdWrap   typolink to id=[currentId]&type=[obj->typeNum]

Property details

name

Property

name

Data type

<frame>-data:name

Description

Manually set name of frame

Note: Is set automatically and should not be overridden under normal conditions!

Default

value of “.obj”

obj

Property

obj

Data type

pointer to top-level object-name

Description

top-level object-name of a PAGE / FRAMESET

Example:

“left”, “page”, “frameset”

options

Property

options

Data type

string

Description

URL parameters.

Example:

options = print=1&othervar=anotherthing

This would add ‘ &print=1&othervar=anotherthing ‘ to the “.src”-content (if not “.src” is set manually).

params

Property

params

Data type

<frame>-params

Description

Example:

scrolling=”AUTO” noresize frameborder=”NO”

src

Property

src

Data type

<frame>-data:src /stdWrap

Description

Instead of using the “obj” destination, you can define a specific src for your frame with this setting. This overrides the default behavior of using the “obj” parameter!

Default

typolink to id=[currentId]&type=[obj->typeNum]

Example:

This produces a simple frameset with a topframe and content-frame:

frameset = PAGE
frameset.typeNum = 0

page = PAGE
page.typeNum = 1

top = PAGE
top.typeNum = 3

frameset.frameSet.rows = 150,*
frameset.frameSet.params = border="0" framespacing="0" frameborder="NO"
frameset.frameSet {
  1 = FRAME
  1.obj = top
  1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
  2 = FRAME
  2.obj = page
  2.params = scrolling="AUTO" noresize frameborder="NO"
}