Jump to content

Different home page for guests?

Featured Replies

  • Author

well now I have just realized that in my two col view I don't have any side bar either. Seems I have killed the side bar all together which is not what I wanted.

nosidebar.JPG

 

The sidebar is a page setting. I’s independent from changing those column templates. 

How do I get it back?

  • Author

This is what I am using for 2 cols.

<div>
	<div class='ipsGrid ipsGrid_collapsePhone'>
		<div class='ipsGrid_span6'>
			{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'horizontal'"}
		</div>
		<div class='ipsGrid_span6'>
			{template="widgetContainer" group="pages" app="cms" params="'col2', $widgets, 'horizontal'"}
		</div>
	</div>
</div>

 

  • Author

EDIT:  This seems to do the trick. but everytime I refresh the page my blocks I have dropped into place disappear :(

<div>
	<div class='ipsGrid ipsGrid_collapsePhone'>
		<div class='ipsGrid_span9'>
			{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'horizontal'"}
		</div>
		<div class='ipsGrid_span3'>
			{template="widgetContainer" group="pages" app="cms" params="'col2', $widgets, 'vertical'"}
		</div>
	</div>
</div>

 

  • Author

OK so I have a  PAGE setup and this is the code I am using

It seems like it sets up all the right frame work but when I drop something in the middle rows the system doesn't save my blocks.

If I use the top block everything stays but I need the middle blocks to work and they don't.

  1.  block space is available,  drop in block and save
  2. looks ok,
  3. refresh page and it's gone.

See below.

{{if member.member_id}}

<! -- // member page content, blocks, etc -->

<div>
	<div class='ipsGrid ipsGrid_collapsePhone'>
		<div class='ipsGrid_span9'>
			{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'horizontal'"}
		</div>
		<div class='ipsGrid_span3'>
			{template="widgetContainer" group="pages" app="cms" params="'col2', $widgets, 'vertical'"}
		</div>
	</div>
</div>

{{endif}}


{{if !member.member_id}}

<! -- // guest page content, blocks, etc -->

<div>
	{template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'horizontal'"}
</div>


{{endif}}

 

happsad.JPG

1.JPG

2.JPG

3 wtf.JPG

  • Author

even more crazy the blocks added to the top row show both to guests and members despite the {{if member.member_id}}

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.