Third Party Plugins to CMSimple - how to install, use and create plugins
Moderator: Tata
-
Tata
- Posts: 3588
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sat Mar 19, 2016 12:57 pm
I work on a webpage with a part
Code: Select all
<h1>COMMUNITY</h1>
<p>
<a href="?COMMUNITY/Community-Forum">FORUM</a> |
<a href="?COMMUNITY/Community-Guestbook">GUESTBOOK</a> |
<a href="?COMMUNITY/Community-Blog">BLOG</a>
</p>
<h2>Community Forum</h2>
<div>{{{forum('forum');}}}</div>
<h2>Community Guestbook</h2>
<div>{{{access('admin,parent');}}}</div>
<div>{{{twocents('guestbook');}}}</div>
<h2>Community Blog</h2>
<div>{{{miniblog();}}}</div>
<h3>First Category</h3>
<div>{{{access('admin,parent')}}}</div>
<h4>Entry</h4>
<p>Lorem ipsum dolor sit amet, ad natum vivendo vim. ...</p>
<div>{{{twocents('first-category');}}}</div>
I have Register plugin installed and the forum works just as expected - entries are visibile for all visitors, the entries are only allowed to those registered/logged in.
I would like to use the same approach both for the guestbook and Blog. But with the guestbook it doesn't work and in Blog, the plugin call is visible in full entry.
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.
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Wed Apr 27, 2016 2:28 pm
Tata wrote:I have Register plugin installed and the forum works just as expected - entries are visibile for all visitors, the entries are only allowed to those registered/logged in.
I would like to use the same approach both for the guestbook and Blog. But with the guestbook it doesn't work and in Blog, the plugin call is visible in full entry.
I might add this feature to Twocents_XH, iff there will be a general
API for "user account" plugins. Otherwise there would be another dependency on a non-public API, what is really bad in my opinion. There are already too many of these.