Skip to content

Instantly share code, notes, and snippets.

@DevertNet
Created July 26, 2016 13:24
Show Gist options
  • Save DevertNet/83a625eb4c98d79193046d571747307f to your computer and use it in GitHub Desktop.
Save DevertNet/83a625eb4c98d79193046d571747307f to your computer and use it in GitHub Desktop.
[globalVar = GP:tx_news_pi1|news > 0]
temp.newsTitle = RECORDS
temp.newsTitle {
source = {GP:tx_news_pi1|news}
source.insertData = 1
tables = tx_news_domain_model_news
select.languageField = sys_language_uid
conf {
tx_news_domain_model_news >
tx_news_domain_model_news = TEXT
tx_news_domain_model_news {
field = title
}
}
}
lib.pagetitle = COA
lib.pagetitle < temp.newsTitle
lib.pagetitle.wrap = <h1 class="pagetitle">|</h1>
[global]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment