History: Module months_links
Source of version: 12 (current)
Copy to clipboard
!Module Months links (a.k.a "Blog or Articles Archive") This ((module)) links to the objects of a given type for the current month and those preceding it, so that it is a very useful module for ((Blogs)) or ((Articles)), since it works as an "Archive"-type of module. !! Parameters {pluginmanager module="months_links"} You can see the blog archives or article archives using the module __months_links__, which will also allow you to click on a link for every year (or any time period specified by the user), so that the user sees the posts of that time frame. {CENTER()}|| ^{img fileId="286" alt="" rel="box[g]"}^ | ^{img fileId="288" alt="" rel="box[g]"} ^ | ^{img fileId="287" alt="" rel="box[g]" }^ Module shown when __English__ %%% is selected as language | Module shown when __French__ %%% is selected as language | Module shown when __Russian__ %%% is selected as language ::Note that the number of blog posts per year can vary depending on the language:: ||{CENTER} In order to have this module configured, you have to add some parameters as in the screenshot below: {CENTER()}{img fileId="313" alt="" rel="box[g]"}{CENTER} So this way, each language can have a module specific for that language, showing the posts of that blog (one blog per language), for a given time frame, specified in the parameters of the module definition. For more information, see ((Blog Config)) It can be done similarly for __Articles__, indicating "__cms__" as the feature to create the links for. An example of code to display this module in a wiki page, or a custom module, is: {CODE()} {MODULE(module="months_links", feature="cms", title="Noticias", section="cms", nonums="y", notitle="n", decorations="n", nobox="y")}{MODULE} {CODE} __Note__: For performance reasons, the "rows" module parameter limits the number of months which are displayed. The default value is 10 months, which is not much. Set it to more months to get more archives ( 24, 36, 48, 60, whatever, or "-1" to fetch all of them) -=Alias=- (alias(Module Blog Archive)) | (alias(Module Post Archive)) | (alias(Module BlogArchive)) | (alias(ModuleBlogArchive)) | (alias(PostArchive)) | (alias(Post Archive)) | (alias(PostsArchive)) | (alias(Posts Archive)) | (alias(ArticleArchive)) | (alias(Article Archive)) | (alias(ArticlesArchive)) | (alias(Articles Archive)) | (alias(CMSArchive)) | (alias(CMS Archive)) | (alias(BlogArchive)) | (alias(Blog Archive)) | (alias(Module Month_links)) | (alias(ModuleMonths_links)) | (alias(ModuleMonth_links)) | (alias(Module Months Links)) | (alias(ModuleMonthslinks))| (alias(Months Links)) | (alias(Archive)) | (alias(Months_Links)) | ~tc~ (alias(Module months_links)) ~/tc~ ~tc~ (alias(module months_links)) ~/tc~