Forumlar / Cotonti / Support / 0.0.6 admin.inc.tpl

musashi9
#1 2009-07-17 08:56
When I click on Admin I get this
Fatal error: Uncaught exception 'Exception' with message 'Template file not found: ./plugins/admin/admin.inc.tpl'

There was no plugins/admin/admin.inc.tpl' to upload
Lombi
#2 2009-07-17 09:03
That's true but have you uploaded one from the skin directory to your skin directory?

from skins/whateverIsDefault/admin.inc.tpl to skins/YourSkin/admin.inc.tpl
<a href="http://www.domenlo.com">Surreal Art</a>
musashi9
#3 2009-07-17 09:23
Worked thanks (now I have to edit the TPL to suit my default skin)

1 more thing. Now whenever I make a new page or edit a page it automatically goes to the validation section. before 0.0.6 this never happened. Is there a way to turn this off?
Admin config pages is already set to Autovalidate for Admins

Bu konu musashi9 tarafından düzenlendi(2009-07-17 10:40, 14 yıllar önce)
Trustmaster
#4 2009-07-17 12:27
In page.add.tpl/page.edit.tpl there is code near Submit button:
				<tr>
					<td colspan="2" class="valid">
					<!-- IF {PHP.usr_can_publish} -->
					<input name="rpublish" type="submit" class="submit" value="{PHP.L.Publish}"
						onclick="this.value='OK';return true" />
					<input type="submit" value="{PHP.L.Putinvalidationqueue}" />
					<!-- ELSE -->
					<input type="submit" value="{PHP.L.Submit}" />
					<!-- ENDIF -->
					</td>
				</tr>
You need to use it or similar in your skin. Now we have 2 buttons for admins: Submit to validation queue or Publish directly.
May the Source be with you!
musashi9
#5 2009-07-17 12:46
Thanks!