[TYPO3-dev] typoscript objects and static cache
Asbjørn Morell
atmorell at gmail.com
Fri Jul 13 10:23:23 CEST 2007
Hello,
I have a pretty basic TYPO3 website. There is a search from and dropdownmenu
on every page. These two forms are typoscripts objects that is initialized
from a Templavoila object patch. However I can't get any static cache
working. If I comment out the two objects - cache is working again. I tried
the extension nc_staticfilecache and bestfilecache. Any ideas about how I
can get these two objects working with static cache?
# Agents
lib.agents = USER_INT
lib.agents < plugin.tx_dropdownlistmenu_pi1
lib.agents {
# You can define the starting point directly in TS
pid_list.override = 29
# Level of recursion.
recursionLevel = 3
# Leading separator char
# seperatorChar = +
general_stdWrap.wrap =
firstLabel = Choose region
}
# Search
lib.searchbox = COA_INT
lib.searchbox {
stdWrap.prefixComment = 2 | lib.searchbox
10 = TEXT
10.typolink.parameter = {$plugin.tx_indexedsearch.searchUID}
10.typolink.returnLast = url
10.wrap = <form action="|" method="post" id="indexedsearch">
20 = COA
20 {
10 = TEXT
10.data = GPvar : tx_indexedsearch |sword
10.wrap = <input name="tx_indexedsearch[sword]" value="|"
class="search-input" type="text" />
20 = COA
20 {
wrap =
10 = TEXT
10.value = <input type="hidden"
name="tx_indexedsearch[sections]" value="0" />
20 = TEXT
20.value = <input name="tx_indexedsearch[submit_button]"
value="Search" type="hidden" />
30 = TEXT
30.value = <input name="search" value="Submit"
class="search-submit" type="submit" />
}
}
wrap = | </form>
}
Best regards.
Asbjørn Morell.
More information about the TYPO3-dev
mailing list