Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2017-07-04 10:52:46

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 351
Website

Re: Compiler config (zem_tpl.php)

And what about xml format of the help file?

<?xml version="1.0" encoding="utf-8"?>
<resources>
<help>
	<item format="textile"><![CDATA[
		h3. What do you want to do next?
		...
	]]></item>
	<item format="textile"><![CDATA[
		h3. Other textile block, why not?
		...
	]]></item>
	<item format="markdown"><![CDATA[
		# Future support for *Markdown*
		...
	]]></item>
	<item><![CDATA[
		<h3>Bulk HTML</h3>
		...
	]]></item>
	<item format="css"><![CDATA[
		#aks h1 { color: #000000; font: 20px sans-serif;}
	]]></item>
</help>
</resources>

In its original form, it is unchanged to store it everywhere: in the plugin itself, in the database, in the flat files, etc.
Handle help file only when displayed.


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#12 2017-07-06 13:53:22

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 351
Website

Re: Compiler config (zem_tpl.php)

An example of realization of my idea: #914
Slightly changed the format of the xml file.

Last edited by makss (2017-07-06 13:54:22)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

Board footer

Powered by FluxBB