This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add a class with the page title to the body tag: | |
bodyTag > | |
bodyTagCObject = TEXT | |
bodyTagCObject { | |
data = field:title | |
case = lower | |
stdWrap.replacement { | |
10 { | |
search = #\W#i | |
replace = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'feld' => array( | |
'exclude' => 0, | |
'label' => 'Feld Name', | |
'config' => array( | |
'type' => 'select', | |
'items' => Array ( | |
Array("",0), | |
), | |
'foreign_table' => 'tx_deinetabelle', | |
'size' => 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete directly: | |
# ------------------------------------- | |
DELETE | |
n1 | |
FROM | |
`tableName` n1, `tableName` n2 | |
WHERE | |
n1.id = n2.id AND | |
n1.lastmodifieddate = n2.lastmodifieddate AND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path=/content | |
group.p.or=true | |
group.1_relativedaterange.property=jcr:lastModified | |
group.1_relativedaterange.lowerBound=-14d | |
group.1_relativedaterange.lowerOperation=>= | |
group.1_relativedaterange.upperBound=0 | |
group.2_relativedaterange.property=jcr:created | |
group.2_relativedaterange.lowerBound=-14d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Download Images | |
""" | |
import optparse | |
from bs4 import BeautifulSoup | |
import requests | |
from urlparse import urlsplit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Sitebar ### | |
marks.sitebar = COA | |
marks.sitebar { | |
10 = CONTENT | |
10 { | |
table = tt_content | |
select.where = colPos = 0 | |
select.languageField = sys_language_uid | |
renderObj = COA | |
renderObj { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tab4 | |
jcr:primaryType="nt:unstructured" | |
title="Filter" | |
xtype="panel"> | |
<items jcr:primaryType="cq:WidgetCollection"> | |
<tagFilter | |
jcr:primaryType="cq:Widget" | |
name="./tagFilter" | |
fieldDescription="Add tags to filter the result set." | |
fieldLabel="Filter by tags" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tt_content.stdWrap.innerWrap.cObject.default.20.40.20 = CASE | |
tt_content.stdWrap.innerWrap.cObject.default.20.40.20 { | |
key.field = layout | |
1 = TEXT | |
1.value = class-name-here | |
if { | |
value = textpic | |
equals.field = CType |
NewerOlder