possible problem with Newsletter signup
Posted
#6010
(In Topic #1247)
Am I doing something wrong here?
Thanks in advance for your help!
Posted
If you don't want a user to see a block, you need to use the if_in_group Comcode tag.
Like…
Code
[if_in_group="*,!1"]
[block]main_newsletter_signup[/block]
[/if_in_group]
This allows everybody in a group except group #1 (Guests) to view the block.
Posted
Excellent. Thanks Chris.Chris Graham said
You disabled access to the newsletter page, but the block doesn't use the page.
If you don't want a user to see a block, you need to use the if_in_group Comcode tag.
Like…
This allows everybody in a group except group #1 (Guests) to view the block.Code
[if_in_group="*,!1"]
[block]main_newsletter_signup[/block]
[/if_in_group]
From “Post #6709”, 11th Feb 2021
I would like to mention that I did sort of try this, but I used the following code to do so:
Code
{+START,IF,{$NOT,{$IS_GUEST}}}
[block]main_newsletter_signup[/block]
{+END}
Just wanted to share that information with you, in case you wanted to look into it further (or maybe I did something wrong).
Edit: Never mind
Last edit: by cwdean
Posted
Posted
Chris Graham said
Possibly it's because you have two panel_left's (one for welcome zone, one for site zone), as discussed in your other topic.
From “Can you make a poll with multiple answer selections?”, 21st Feb 2021
Sorry Chris. I think I was editing my previous post while you were responding
But on a side question, I notice the following in the editor:
This is probably a VERY stupid question, but how do I edit the tempcode in this case? I see Tempcode tag but can't figure out how to edit it.
Posted
You need to go into the editor's source view and edit it in XML form.
Or, turn off WYSIWYG.
0 guests and 0 members have recently viewed this.
