-
1. Re: is it possible to have two Announcement list layouts?
Alex Pavelescu Mar 12, 2014 8:20 AM (in response to Grant Senior)Hi
What you're probably looking for is Custom templates: http://helpx.adobe.com/business-catalyst/partner/using-custom-templates-modules.html
Let me know if this is not what you're looking for
Kind Regards,
Alex
-
2. Re: is it possible to have two Announcement list layouts?
Grant Senior May 22, 2014 10:17 PM (in response to Alex Pavelescu)Hi Alex, thanks for your answer, it was helpful.
I'm now trying to use the news announcements for both the desktop site and a separate mobile version, so am wantign to use a different template for the mobile announcements details.
On the mobile News page, seen here, news - Latest News , I have altered the module code generating the announcement list from {module_announcement,a,,,,} to the following so that it uses a mobile specific template. The template is in the Templates folder.
{module_announcement,a template="/Templates/MOBILE-INNER-News-pages.tpl"}
This isn't working yet, on selecting a news item link on the mobile version the detail loads but it is the desktop version not the mobile version. Can you see what I've done wrong?
Cheers
Grant
-
3. Re: is it possible to have two Announcement list layouts?
Grant Senior May 22, 2014 10:44 PM (in response to Grant Senior)It occurred to me that the News Announcement itself has been assigned the desktop template. Is that why I'm getting the desktop version, not the mobile? If so {module_announcement,a template="/Templates/MOBILE-INNER-News-pages.tpl"} is redundant? Is the code snippet not over-riding this?
-
4. Re: is it possible to have two Announcement list layouts?
Grant Senior Jul 8, 2014 3:32 AM (in response to Grant Senior)Hi Alex,
I still can't get a different Announcement list template happening. I've tried what you've suggested from this page Business Catalyst Help | Using custom templates for modules I created a separate template for a list of News Announcements to appear on the home page, I placed the following code on the home page,
{module,announcement,a template=”Layouts/Announcement/listHome.tpl”}
but it's not working, all I get is the code displaying, as seen here Home Page
Any ideas what's going wrong?
Cheers
Grant


