Foren / Cotonti / Skins / Disabled Polls in index.tpl

How to disable

ez
#1 17. November 2009, 05:05
How can I disable the polls on the index with function block logic (XTemplate)

I can not find the right tag...

thanks

Added 20 minutes later:

I have found it...
In sed-light index.tpl change this....

Disable the poll... So also disable the output on the index page !!!
Guys This should be standard in EVERY SKIN !!!

	<!-- IF {PHP.cfg.disable_polls} != "1" -->
		<div class="rboxHD">{PHP.L.Polls}:</div>
		<div class="rboxBody">{PLUGIN_INDEXPOLLS}</div>
	<!-- ENDIF -->

Good to know for everybody :)

I LOVE THIS XTemplate stuff B)

Added 2 minutes later:

OOPS

Forgot to ask..


We should make documentation about this for skinmakers.
We add a list off all the common elements from cotonti, so they can
easily disable/enable them :D

So... Does somebody has a list :P
==- I say: Keep it EZ -==

Dieser Beitrag wurde von ez (am 17. November 2009, 05:28, vor 14 Jahre) bearbeitet