I am using the latest of everything.
How do I get the article detail to not put the full article into the div for the main content? If I click on the article from the summary page and open the full article, it shows up inside the main content div which alters the spacing. http://peppersville.net
Thanks
Lisa
CGBlog Detail page
Re: CGBlog Detail page
It should open in your main content div you should check your coding of the detail template and css.
Re: CGBlog Detail page
Yes I know but that is posing a problem. The main div has a left margin that I dont need on this one page but I do need it for other pages.
Re: CGBlog Detail page
In that case in the detail template assign a variable a value and then in your html template test to see it that value exists or not if not show the side div.
Re: CGBlog Detail page
That is a great idea. Can you give me an example?
Thanks
Lisa
Thanks
Lisa
Re: CGBlog Detail page
In detail template
{assign var=detailed value=Y}
In html template
{If !$detailed}
<div id="sidediv">
Blah blah blah
</div>
{else}
News detail
{/if}
{assign var=detailed value=Y}
In html template
{If !$detailed}
<div id="sidediv">
Blah blah blah
</div>
{else}
News detail
{/if}
[Resolved] Re: CGBlog Detail page
Thank you so much.
{If !$detailed} (this didnt work for me) I changed it to {if !isset($detailed)} and it worked perfectly.
I appreciate your help.
Lisa
{If !$detailed} (this didnt work for me) I changed it to {if !isset($detailed)} and it worked perfectly.
I appreciate your help.
Lisa
Re: CGBlog Detail page
No problem glad you got it sorted.