Skip to content

Commit

Permalink
Moved the Virtual Object configuration for pages and content into sta…
Browse files Browse the repository at this point in the history
…tic TypoScript files
  • Loading branch information
cundd committed Aug 13, 2015
1 parent 86693c9 commit 10c21cd
Show file tree
Hide file tree
Showing 7 changed files with 683 additions and 686 deletions.
358 changes: 358 additions & 0 deletions Configuration/TypoScript/Content/setup.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,358 @@
plugin.tx_rest.settings {
paths {
2010 {
path = VirtualObject-Content
read = deny
write = deny
}
}

aliases {
# content = VirtualObject-Content
}

virtualObjects {
Content {
mapping {
identifier = id
tableName = tt_content
skipUnknownProperties = true

properties{
id {
column = uid
type = int
}
pageIdentifer {
column = pid
type = int
}
# t3ver_oid {
# column = t3ver_oid
# type = int
# }
# t3ver_id {
# column = t3ver_id
# type = int
# }
# t3ver_wsid {
# column = t3ver_wsid
# type = int
# }
# t3ver_label {
# column = t3ver_label
# type = varchar
# }
# t3ver_state {
# column = t3ver_state
# type = tinyint
# }
# t3ver_stage {
# column = t3ver_stage
# type = int
# }
# t3ver_count {
# column = t3ver_count
# type = int
# }
# t3ver_tstamp {
# column = t3ver_tstamp
# type = int
# }
# t3ver_move_id {
# column = t3ver_move_id
# type = int
# }
# t3_origuid {
# column = t3_origuid
# type = int
# }
modificationDate {
column = tstamp
type = int
}
creationDate {
column = crdate
type = int
}
creationUserId {
column = cruser_id
type = int
}
hidden {
column = hidden
type = bool
}
sorting {
column = sorting
type = int
}
type {
column = CType
type = string
}
header {
column = header
type = string
}
# headerPosition {
# column = header_position
# type = string
# }
bodytext {
column = bodytext
type = string
}
image {
column = image
type = string
}
imageWidth {
column = imagewidth
type = int
}
imageOrientation {
column = imageorient
type = int
}
imageCaption {
column = imagecaption
type = int
}
imageColumns {
column = imagecols
type = int
}
imageBorder {
column = imageborder
type = int
}
media {
column = media
type = string
}
layout {
column = layout
type = int
}
deleted {
column = deleted
type = boolean
}
columns {
column = cols
type = int
}
records {
column = records
type = string
}
pages {
column = pages
type = string
}
startTime {
column = starttime
type = int
}
endTime {
column = endtime
type = int
}
colPos {
column = colPos
type = int
}
subheader {
column = subheader
type = string
}
spaceBefore {
column = spaceBefore
type = int
}
spaceAfter {
column = spaceAfter
type = int
}
feGroup {
column = fe_group
type = string
}
headerLink {
column = header_link
type = string
}
imageCaptionPosition {
column = imagecaption_position
type = string
}
imageLink {
column = image_link
type = string
}
imageZoom {
column = image_zoom
type = integer
}
imageNoRows {
column = image_noRows
type = integer
}
imageEffects {
column = image_effects
type = integer
}
imageCompression {
column = image_compression
type = integer
}
alternativeText {
column = altText
type = string
}
titleText {
column = titleText
type = string
}
longdescURL {
column = longdescURL
type = string
}
headerLayout {
column = header_layout
type = string
}
textAlign {
column = text_align
type = string
}
textFace {
column = text_face
type = string
}
textSize {
column = text_size
type = int
}
textColor {
column = text_color
type = integer
}
textProperties {
column = text_properties
type = integer
}
menuType {
column = menu_type
type = string
}
listType {
column = list_type
type = string
}
tableBorder {
column = table_border
type = int
}
tableCellSpacing {
column = table_cellspacing
type = int
}
tableCellPadding {
column = table_cellpadding
type = int
}
tableBackgroundColor {
column = table_bgColor
type = int
}
selectKey {
column = select_key
type = string
}
sectionIndex {
column = sectionIndex
type = int
}
linkToTop {
column = linkToTop
type = bool
}
fileLinkSize {
column = filelink_size
type = int
}
target {
column = target
type = string
}
sectionFrame {
column = section_frame
type = int
}
date {
column = date
type = int
}
splashLayout {
column = splash_layout
type = string
}
multimedia {
column = multimedia
type = string
}
imageFrames {
column = image_frames
type = int
}
recursive {
column = recursive
type = int
}
imageHeight {
column = imageheight
type = int
}
rteEnabled {
column = rte_enabled
type = bool
}
systemLanguageUid {
column = sys_language_uid
type = int
}
# tx_impexp_origuid {
# column = tx_impexp_origuid
# type = int
# }
flexform {
column = pi_flexform
type = string
}
accessibilityTitle {
column = accessibility_title
type = string
}
accessibilityBypass {
column = accessibility_bypass
type = string
}
accessibilityBypassText {
column = accessibility_bypass_text
type = string
}
l18nParent {
column = l18n_parent
type = int
}
# l18n_diffsource {
# column = l18n_diffsource
# type = mediumblob
# }
}
}
}
}
}

0 comments on commit 10c21cd

Please sign in to comment.