Info: I have setup a page “main_site/register” to which users are redirected if they are denied access to any page on the site. The page uses conditionals Ex:
{if group_id == "5"}to determine the message that should be displayed to the user.
I have placed the messages in a “blog” where I keep all static content (name: static_content).
I am attempting to pull the messages with the following code:
{exp:weblog:entries weblog="static_content" limit="1" url_title="registered_guest"}
<h2 class="title"><a href="http://{title_permalink}">{title}</a></h2>
<div class="entry">
{page_body}
</div>
{/exp:weblog:entries}
Problem: When an unregistered user is redirected, the page comes up with some test info (I have it displaying the group_id), but a message (weblog entry) does not appear.
Questions:
1. Isn’t it possible to specify a url_title when someone is being sent to the page via a redirect?
2. Do I just have something coded wrong that is preventing this from working properly?
Thank you for any assistance.
Regards,
Rick
PS. It works fine if I go directly to the page Ex: “{site_url}main_site/register”