Guide Category

134

Upgrade theme 9.8 to 10.0

Upgrade theme for Datalife Engine 9.8 to 10.0 is the most easiest theme upgrade in DLE history because there is only one file to modify, not only that the file is only if you want to allow users to add "poll" into your articles from main page otherwise the theme upgrade is absolutely no need if you don't want users to add poll from main page, so in this tutorial we will show you how to upgrade theme from 9.8 to 10.0, please note that there is no file is added to your theme in this upgrade version.
dlestarter
Upgrade theme 9.8 to 10.0
Upgrade Theme
9.8 to 10.0
Last Updated: November 20, 2013
Upgrade theme for Datalife Engine 9.8 to 10.0 is the most easiest theme upgrade in DLE history because there is only one file to modify, not only that the file is only if you want to allow users to add "poll" into your articles from main page otherwise the theme upgrade is absolutely no need if you don't want users to add poll from main page, so in this tutorial we will show you how to upgrade theme from 9.8 to 10.0, please note that there is no file is added to your theme in this upgrade version.
To upgrade theme from 9.8 to 10.0 simply follow one simple step below
Open your-theme/Open addnews.tpl

Find:

		<tr>
			<td class="label">
				Category:<span class="impot">*</span>
			</td>
			<td>{category}</td>
		</tr>

Add After:

		<tr>
			<td class="label">&nbsp;</td>
			<td><a href="#" onclick="$('.addvote').toggle();return false;">Add a Poll</a></td>
		</tr>
		<tr  class="addvote" style="display:none;" >
			<td class="label">Poll Title:</td>
			<td><input type="text" name="vote_title" value="{votetitle}" maxlength="150" class="f_input" /></td>
		</tr>
		<tr  class="addvote" style="display:none;" >
			<td class="label">Poll Question:</td>
			<td><input type="text" name="frage" value="{frage}" maxlength="150" class="f_input" /></td>
		</tr>
		<tr  class="addvote" style="display:none;" >
			<td class="label">Answer Choices:<br /><br />One answer choice per line</td>
			<td><textarea name="vote_body" rows="10" class="f_textarea" >{votebody}</textarea><br /><input type="checkbox" name="allow_m_vote" value="1" {allowmvote}> Allow multiple selections</td>
		</tr>

Related Tutorials

Review/Leave Comment

comments powered by Disqus