Stavo provando a scrivere un template da zero, ma purtroppo incappo in un errore di installazione. Ho seguito due guide differenti per la creazione, ma gli errori sono gli stessi, ed incomincio a spazientirmi!
Gli errori sono sul file xml. vi posto il codice di quello piu semplice:
<?xml version="1.0" encoding="utf-8?>
<extension version="2.5" type="template">
<name>small</name>
<creationDate>19/02/2012</creationDate>
<author>giozh</author>
<authorEmail>author</authorEmail>
<authorUrl>http://localhost</authorUrl>
<copyright>giozh2012</copyright>
<license>GNU/GPL</license>
<version>1.0</version>
<description>a small template</description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
<folder>css</folder>
<folder>images</folder>
</files>
<positions>
<position>breadcrumb</position>
<position>left</position>
<position>right</position>
<position>top</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>footer</position>
</positions>
</extension>
gli errori segnalati sono:
XML: String not closed expecting " or '
XML: attributes construct error
XML: Couldn't find end of Start Tag field line 74
XML: Opening and ending tag mismatch: fieldset line 66 and field
XML: expected '>'
XML: Opening and ending tag mismatch: config line 64 and fields
XML: Opening and ending tag mismatch: extension line 6 and config
XML: Extra content at the end of the document
XML: String not closed expecting " or '