Susan Javurek said the following on 08/06/2011 06:51 PM:
Hi,
My sidebars weren't showing so I added variables to my controller,
e.g. " @sidebar_text = subscriber_page.render_part(:sidebar)" and then
in my view code "<%= @sidebar_text %>". Is there a better way?
Yes.
Use CSS. Its cleaner and
Why not just redirect to the Radiant page and let Radiant do the rendering part?
def show
if @site_user.license
redirect '/subscriber'
else
redirect '/some-other-page'
end
end
On Sat, Aug 6, 2011 at 6:51 PM, Susan Javurek wrote:
> Hi,
>
> My sidebars wer
What was the problem Susan?
Sent from my iPhone
On Aug 6, 2011, at 5:40 PM, Susan Javurek wrote:
> Hi,
>
> I figured this out.
>
> Thanks,
> Susan
>
> On Aug 1, 5:26 pm, Susan Javurek wrote:
>> Hi,
>>
>> I have a very simple question regarding a custom controller. My
>> controller does a