CGBlog questions

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
tonholis
Forum Members
Forum Members
Posts: 21
Joined: Fri Nov 28, 2008 2:14 pm

CGBlog questions

Post by tonholis »

How can I alternate the vizualization of blog between SummaryView and DetailsView in same page?

I think in to get the id of article and makes an IF to call CGBlog changing the action property, but I don't know how to do this  ???
Peciura

Re: CGBlog questions

Post by Peciura »

You can display content depending on optional url parameters. Let say you have parameter with CGBlog article id 124 "cntnt01articleid=124".

Code: Select all

{if !empty($smarty.get.cntnt01articleid)}
   {CGBlog action='detail' articleid=$smarty.get.cntnt01articleid}
{else}
   {CGBlog}
{/if}
It is not exactly clear what are you trying to achieve. Why default module behavior is not suitable for you ?
tonholis
Forum Members
Forum Members
Posts: 21
Joined: Fri Nov 28, 2008 2:14 pm

Re: CGBlog questions

Post by tonholis »

Thanks for reply!

I call the  {CGBlog} in two moments in my Layout template: one for show the summary (left/main content) and another to show the archives (in the right side)

When I click to view the details:
- The default behavior shows the SummaryView on top and DetailView at the bottom ...

It is any issue on the blog templates?
Last edited by tonholis on Sat Sep 25, 2010 1:58 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CGBlog questions

Post by Dr.CSS »

Most likely if you go to CGBlog and look at the detail template it will have both summary call and detail call...
Peciura

Re: CGBlog questions

Post by Peciura »

It is any issue on the blog templates?
In most cases default templates have to be altered the way one needs.
Post Reply

Return to “Modules/Add-Ons”