Launch CGBlog Entry from one template into another
Posted: Thu Aug 27, 2009 3:48 am
So I've got a weird situation I've created. Basically I've modified the CGBlog Module into my needs of a "teacher directory". Which has worked out pretty well - see here: http://eleutian.solutionstreamcreative. ... r-teachers
The problem I'm having is searching these. After a name search, I would like to have the full profiles which are really "articles" popup in a modal like they do just browsing them.
I can strip down to just searching the CGBlog Module, the problem is I can really only return a detail view instead of the summary with the articleid, if I set the action="summary" it returns all my stories not just the one id.
{if $entry->module == 'CGBlog'}
{CGBlog action='detail' articleid=$entry->modulerecord detailpage="TeacherDetail" detailtemplate="Search-Result"}
{/if}
So I created another detail template that looks just like the summary view, but the problem is, I would like to use the "more" link launch a detail page of the same story but in a different detail template. Does that even make sense? Is that even possible?
The problem I'm having is searching these. After a name search, I would like to have the full profiles which are really "articles" popup in a modal like they do just browsing them.
I can strip down to just searching the CGBlog Module, the problem is I can really only return a detail view instead of the summary with the articleid, if I set the action="summary" it returns all my stories not just the one id.
{if $entry->module == 'CGBlog'}
{CGBlog action='detail' articleid=$entry->modulerecord detailpage="TeacherDetail" detailtemplate="Search-Result"}
{/if}
So I created another detail template that looks just like the summary view, but the problem is, I would like to use the "more" link launch a detail page of the same story but in a different detail template. Does that even make sense? Is that even possible?