Third Party Plugins to CMSimple - how to install, use and create plugins
Moderator: Tata
-
Tata
- Posts: 3601
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sun May 08, 2016 5:53 pm
Es wäre toll, wenn es im Plugin môglich wäre die Kategorien zu definieren, um den gesammten Inhalt in Kategorien verteilen. Ich meine, es würde genung, wenn die Leeren Seiten ohne "expand_link" in die Liste eingetragen würden.
z.B.:
Code: Select all
<h1>Topics</h1>
<h2>Category 01</h2>
<!-- Category -->
<h2>Topic 01</h2>
Topic content
<h2>Topic 02</h2>
Topic content
<h2>Category 02</h2>
<!-- Category -->
<h2>Topic 01</h2>
Topic content
<h2>Topic 02</h2>
Topic content
resultiert in
Topics
Category 01
Topic 01 >>
Topic 02 >>
Category 02
Topic 01 >>
Topic 02 >>
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
svasti
- Posts: 1660
- Joined: Wed Dec 17, 2008 5:08 pm
Post
by svasti » Sun May 15, 2016 9:09 am
Don't quite understand what you mean. Where is the plugin call ? What action is the plugin call supposed to start ?
-
Tata
- Posts: 3601
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Thu May 19, 2016 6:19 pm
svasti wrote:Don't quite understand what you mean. Where is the plugin call ? What action is the plugin call supposed to start ?
Meine Vorstellung ist:
Code: Select all
<h1>Topics</h1>
{{{expand}}}
<h2>Category 01</h2>
<!-- Category -->
<h2>Topic 01</h2>
Topic content
<h2>Topic 02</h2>
Topic content
<h2>Category 02</h2>
<!-- Category -->
<h2>Topic 01</h2>
Topic content
<h2>Topic 02</h2>
Topic content
D.h. die leere H2 Seiten werden auf der expandirten Seite als
Kategoriennamen gezeigt. Wenn da eine Seite ohne Inhalt gibt, wird die mit der volgende Seite expandiert. Es wäre aber auch môglich die kategorien als H2 und die volgende Seiten als H3 zu machen. Das kônnte aber Probleme mit Menulevel produzieren.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
-
svasti
- Posts: 1660
- Joined: Wed Dec 17, 2008 5:08 pm
Post
by svasti » Fri Jun 10, 2016 4:55 pm
Mit dem neuen Expandcontract 0.7 ginge:
Topics
Category 01
Topic 01 >>
Topic 02 >>
Category 02
Topic 03 >>
Topic 04 >>
Code: Select all
<h1>Topics</h1>
<h4>Category 01</h4>
{{{expand 'Topic 01,Topic 02' }}}
<h4>Category 02</h4>
{{{expand 'Topic 03,Topic 04' }}}