10 years ago
Topic
Hi @all,

In my Seblod Adventure, i meet a new ... pitfall.

Some articles are reserved for register users.
In front-end, guest visitor can't see this articles, but... is it possible to show a message instead of "nothing" ? like "create a account link".

Thank you for your help
Get a Book for SEBLOD
693 Posts
rpoy
10 years ago
8
Level 1
Hi psykopathick,

You can create an article, module, or menu for that specific user group (guest) just by setting up the user rights.

Is that what you mean?

Randy

10 years ago
7
Level 2
Hum... yep i know :)
It's a native Joomla rule.

I will try to be more clear.
- I create a seblod article 
- I use "access level" to configure it for register user
- In front-user, visitor can't see this article = blank ! They can't see it an article existe

So, i would to know, if in seblod, i can create a "special field".
If user connected > show article
If user is a visitor > show message

Sorry for my bad english :/
4229 Posts
Kadministrator
10 years ago
6
Level 3
Hi,


you can set permisisons by field (button 4), so in your content type you could set all fields but one to registered and one with message to public
10 years ago
2
Level 4
Hi,

Yes, but public is also visible for registered :/
So, i have to create a special template for public, and for registered ?
Because, sometimes my article is visible for everyone, and sometines, just for members.

4229 Posts
Kadministrator
10 years ago
1
Level 5
Sorry, my mistake, the right level for guest is, well..Guest :)    Public incldues registered, while Guest equals NOT registered users.
10 years ago
0
Level 6
Yeah thank Klas !
With a little php condition it works perfectly !!!
548 Posts
joomleb
10 years ago
2
Level 4
...and, please, Is there a way to have a Fulltext content part visible only to Guests and part visible only to Registered ?
10 years ago
1
Level 5
For example :
use introtext for guest
and fulltext for registered

and with a php condition:

if user = guest > show introtext
else = show fulltext
548 Posts
joomleb
10 years ago
0
Level 6
Hi psykopathik,
thank you for your suggestment.
Right know I'm yet using Introtext for Seblod Lists & Searches, so the question is on the same Fulltext content like:

Introtext: aaa = Public content

Fulltext: aaa + bbb/ccc
where aaa = Public content and bbb = Guests, while ccc = Registered
Get a VIP membership