Re: Quanta Templates Help Requested

Andras Mantia <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
On Saturday 02 February 2008, Lorrie wrote:
> I am trying to create
> global templates and code for several websites that are all
> structured the same.

Create the code, File-Save As Template is how to save a template. Check 
the templates treeview (there is where you have to save it), there you 
can change the properties of templates (grouped by folders). They can be 
of several types, and Quanta will act on them based on the type. E.g. 
binaries will be inserted as links, Document templates are used to 
create new documents, Text snippets are to include them in documents, 
site templates are to create complete directory layout.
 You can filter the templates through an action, which eg. replaces 
%SITE% with a user supplied value before inserting it in the document.
This is all described in the Templates section of the handbook.
 If you want DW style templates (insert a template in several document 
and when you modify the template, it changes in all documents), you have 
to use server side scripting, like PHP and:
<? include("mytemplate") ?>
there.

Andras

-- 
 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
signature.asc (application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQBHpX7HTQdfac6L/08RAkvHAKDTFArHIkVmu3BhG+YrMX+OjxpZBwCgg0dD
p8hqV/g5qjAnL2vipEvHXnk=
=zvz8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.