cotonti.com : Page Archive outputs everything? https://www.cotonti.com Laatste forum onderwerpen Cotonti en Fri, 28 Nov 2025 09:42:32 -0000 foxhound No need to promise me a quick fix at all, but I do hope you will come around it at some point and make them work. I have added a request to Github wink

]]>
Zo, 30 Sep 2012 12:36:25 -0000
Trustmaster It is a missing feature rather than a bug. You can add a request here but I can't promise a quick fix.

]]>
Zo, 30 Sep 2012 07:58:50 -0000
foxhound Ok, thank you for confirming that. smiley
But, is that how it is supposed to be or is that a bug? I ask cause if it is to be like that I need to change some text fields in my skin to not confuse the visitor.

]]>
Za, 29 Sep 2012 20:12:27 -0000
Trustmaster You're right, the page showing the results isn't aware of additional filters you apply in the widget. It only shows all pages for that period.

]]>
Za, 29 Sep 2012 18:25:57 -0000
foxhound Yes, sorry forgot to mention that. I have an empty "archives" category in my pages structure as the installation instructed. I Have added "archives" (without the "" ) in my plugin configuration field (Pseudo-category for archive).
 

 

[add on]
I also noticed it does not output the number of pages in the particular month behind the month. Which it should do since I added ({ROW_COUNT}) in my page pagearchive tpl.
 

]]>
Za, 29 Sep 2012 14:19:19 -0000
Kort You sould also have an empty Archives category (archive by default) to output the pages.

]]>
Za, 29 Sep 2012 11:15:35 -0000
foxhound Thanks for that, that was really usefull and has helped me halfway. This is the callback I made to my archive:

{PHP|pagearchive('files','monthly','pagearchive','1','12','desc','system','files_units;files_missions')}

Which seems to work fine in the main list (I tested this by adding only 1 file to one cat and it outputs only that specific month to be able to choose from), however when I click the "months" link it will again output all pages of all categories in that particular month, including system pages (system).
This is the url it gives me when I click on that month: http://www.mydomain.com/index.php?e=page&c=archives&year=2012&month=8

I have a stucture, really simple:
- news (with some subsections)
- files (with some subsections)
- documentation (with some subsections)
- system (no subsections)

]]>
Za, 29 Sep 2012 09:23:00 -0000
Kort Plugin config is used in the plugin for global settings. It is more convenient to use it via callbacks with a specific set of options in each one. Check pagearchive.global.php for the callback parameters:

{PHP|pagearchive('blog','yearly','pagearchive.yearly','1','12','desc','podcasts','')}
  1. Output pages from the blog category
  2. Use 'yearly' mode
  3. Use pagearchive.yearly.tpl template
  4. 'Current year only' is on
  5. Limit to 12 items
  6. Desc sorting order
  7. Blacklist 'podcasts' category
  8. No items in the whitelist
]]>
Za, 29 Sep 2012 07:20:28 -0000
foxhound I installed the Page Archive plugin, which is great btw but I am having one problem with it.
http://www.cotonti.com/extensions/navigation-structure/page_archive

I have set in the admin panel to ignore system pages, but it still outputs those.
Additionally, no matter which section I specifify in the {PHP|pagearchive('xxxx')}, it always outputs all sections.
I have 3 sections; news, files and documentation.
When in the files list I set {PHP|pagearchive('files')} it will list only the months in which files have been added to that list section. But if you click the month it outputs everything (all other section, news and documents and system)

Is this a bug with this plugin? I noticed it is already a few months old and maybe something changed?

I am using the latest version of Sienna.

]]>
Za, 29 Sep 2012 00:27:48 -0000