Skip to content

Instantly share code, notes, and snippets.

magicHatOfTYPO3

Block or report user

Report or block magicHatOfTYPO3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:24262fbcf7f80d4b033b
seminartitel = CONTENT
seminartitel {
table = tx_news_domain_model_news
select {
pidInList = {$newsStorage}
selectFields = tx_news_domain_model_news.title
where.data = field:gp:newsid
where.intval = 1
where.wrap = uid=|
}
@magicHatOfTYPO3
magicHatOfTYPO3 / List.html
Last active Feb 22, 2016
VHS - Altersberechnung bei tx_news
View List.html
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:n="http://typo3.org/ns/GeorgRinger\News\ViewHelpers"
v:schemaLocation="http://fluidtypo3.org/schemas/vhs-1.8.5.xsd">
...
<!-- Auswahl des passenden Bildes anhand des Alters der News -->
@magicHatOfTYPO3
magicHatOfTYPO3 / setup.ts
Last active Jul 19, 2016
render images in TYPO3 7.6 using TypoScript and File Abstraction Layer in Text/Media Content Element
View setup.ts
lib.startPageOwlSliderContent = CONTENT
lib.startPageOwlSliderContent {
wrap = |
table = tt_content
select {
languageField = sys_language_uid
where = colPos = 1
orderBy = sorting
pidInList = {$pageSliderContentPageID}
}
View categories.ts
lib.category = COA
lib.category {
10 = CONTENT
10 {
table = sys_category
select {
pidInList = root,-1
join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid
where = (uid_foreign = 22) // uid des Inhaltselemente ersetzen bzw. dynamisieren (where.data = ... )
selectFields = title
View IfCondition.ts
page.headerData {
1 = TEXT
1 {
if.equals.field = DB:tx_news_domain_model_news:{GP:tx_news_pi1|news}:has_href_lang
if.value = 0
dataWrap = DB:tx_news_domain_model_news:{GP:tx_news_pi1|news}:href_lang_one
wrap3 = {|}
insertData = 1
}
View keybase.md

Keybase proof

I hereby claim:

  • I am MagicHatOfTYPO3 on github.
  • I am marcwillmann (https://keybase.io/marcwillmann) on keybase.
  • I have a public key whose fingerprint is 5016 5F96 183A DB28 4356 5920 8FCC C053 9AAF 3451

To claim this, I am signing this object:

You can’t perform that action at this time.