Register   Login
     
  Latest Posts  
RE: Location Search
by rodneyjoyce on 12/02/2008 2:25 AM
RE: Lightbox not working on 2.04?
by wallacea on 12/02/2008 12:31 AM
RE: Lightbox not working on 2.04?
by smcculloch on 12/02/2008 12:20 AM
RE: Facebook-like Tagging People in Pictures...
by swebster on 12/02/2008 12:13 AM
Lightbox not working on 2.04?
by wallacea on 12/01/2008 11:45 PM
News Article css
by daviking on 12/01/2008 7:04 PM
RE: File Expiration Date
by jcochran on 12/01/2008 6:35 PM
RE: Set default value
by mariusm on 12/01/2008 6:29 PM
New Module - File Search
by jcochran on 12/01/2008 6:21 PM
RE: Display Name
by blob150 on 12/01/2008 3:07 PM
  Forums  
Subject: ENH: 3rd Layout Mode Option in Latest Articles
Prev Next
You are not authorized to post a reply.

Author Messages
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:333


9/04/2008 4:31 PM  

It would be cool if you could add a 3rd layout mode option in Latest Articles that would support templating.  I guess you would be able to select from a Template name in the template directory of the Main NA module.  I'm thinking out loud here so you should definitely give feed back.  But I'm thiking if the Template on NA is called Standard, I could then, in the standard template folder create a template called TotalCoolness.item.html, TotalCoolness.Header.html, and TotalCoolness.Footer.html.  The 3rd option would only show me the TotalCoolness in the drop down.  It should probably present the other tempate names as well, but it would only be the distince name before the first period.

The reason this is good is that I can make changes to templates and they get changed globally without having to track down each module that has it's own unique tempate inside the module.  (Just had to do this, thus the idea :)  ).

Waht do you think?

Dax

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


9/05/2008 8:45 AM  
So what your saying, is you would like some predefined templates for latest articles. Property agent actually already does this, so I think it's a good diea.

Scott McCulloch
Site Administrator
Dax DavisUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:333


9/05/2008 11:23 AM  
Yes to predefined, and the ability to add more, that's why I mentioned it reading the directory. So I can use one template folder and have a skin for the LA on the home page and a different for the LA on some other page.

It would be cool also to be able to have skins for Archives. I don't think these need to be dynamic like LA. I would think you would have a Categories.Item.html, Authors.Item.html, Months.Item.html, Year.Item.html.

What do you think?

Dax

P.S. As you can tell, I like templates. :)
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


9/08/2008 9:05 AM  
Thanks, these are good suggestions.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > News Articles > ENH: 3rd Layout Mode Option in Latest Articles



ActiveForums 3.7