Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

  • Page:
  • 1
  • 2

TOPIC: Articles Count: show one counter for all articles

Re: Articles Count: show one counter for all articles 1 year 1 month ago #2734

  • Maggi
  • Maggi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hello,
thank you for your time and energy.
No it doesnot change it. I replaced the complete code you wrote at modules/mod_articles_count/tmpl/default.php
Nothing will be shown also with Use Request Command on. Yes aou wrote it how I mean it, if I select a category it shoul be the total number of articles in this category and subcategories as the sum of it, like 256 articles at Category xy at this page
Thanks a lot.
Regards
Maggi
The administrator has disabled public write access.

Re: Articles Count: show one counter for all articles 1 year 1 month ago #2735

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 807
  • Thank you received: 77
  • Karma: 14
Make sure that you have not got caching turned on. It is quite impossible for there to be no change in the output, if you have changed the code and if you are indeed using the default layout. - it must be a caching problem of some sort.
The administrator has disabled public write access.

Re: Articles Count: show one counter for all articles 1 year 1 month ago #2736

  • Maggi
  • Maggi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Thanks for your time,
yes my cache is off and I tried it today again but, if I copy the changed code to
/Joomla3/modules/mod_articles_count/tmpl
it looks like before .....


Attachment Bildschirminhalterfassen-1.jpg not found




Category ID: only the highest Category or all categories with Articles in it, I try both
Use Request Command
Yes
Show unpublished articles
No
Link to Category
No
Select a menu item
??
Show no access categories
Yes
Show no access articles
Yes
Show Child Categories
Yes
Show Empty Categories
No
Show Zero as Blank
Yes
Show Cumulative Totals
Yes
Show Tree
No

The first tree at the picutre above is with this:
Use Request Command
No
Show unpublished articles
No
Link to Category
No
Select a menu item
??
Show no access categories
Yes
Show no access articles
Yes
Show Child Categories
Yes
Show Empty Categories
No
Show Zero as Blank
Yes
Show Cumulative Totals
Yes
Show Tree
Yes
It shows the total number (15).

I have four levels of categories
1. Level only one.
2. Level two different categories
3. Level four categories at each tree
4. Level of categories with the articels in it

regards
Maggi
The administrator has disabled public write access.

Re: Articles Count: show one counter for all articles 1 year 1 month ago #2737

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 807
  • Thank you received: 77
  • Karma: 14
As I did say before, you need to change 'Show Empty Categories' to yes. Also change 'show zero as blank to 'no'.

Also it would help a lot for me to debug this if you could show a screenshot of what the default output looks like before without the edits that I recommended.
The administrator has disabled public write access.

Re: Articles Count: show one counter for all articles 1 year 1 month ago #2738

  • Maggi
  • Maggi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hello,
thank you for your time to spend with this .....
I turned the code at the default.php back to standard and the result is "uncategorised (0).
It could be a problem of the selected categories?
I dont know what categories I must select.
The structure is:
First category
1. Diatomeen Steckbriefe
2. Pennales
3.Araphide
4. A
4. B
4. C
3. Biraphide
4. A
4. B
4. C
3. Raphioide
4. A
4. B
4. C
3. Monoraphide
4. A
4. B
4. C

2. Centrales
3. A
3. B
3. C

A, B, C, ... are the categories with the articles in it.
Only If I selct the categories at level 3. the number of articles are shown.
If I select the Category 1 or 2 and the categories at level 3. The total numer will shown at the tree (as it is at the picture) and the numer of articles are shown at each category level 3 and 4.

sould I send you a link to the page or the backend, because I tried all combination and it shown no result. Or if it is to complictate and takes to much time for you, tell me.
Regards and thanks
Maggi
The administrator has disabled public write access.

Re: Articles Count: show one counter for all articles 1 year 1 month ago #2739

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 807
  • Thank you received: 77
  • Karma: 14
You need to select the parent category of the categories with articles in them, plus the child categories with the articles, I think, looking at your listing, this is 'Pennales', plus its child categories, and their children.
The problem at the moment is that you have all categories selected, beginning with the 'uncategorized' group.
The administrator has disabled public write access.

Re: Articles Count: show one counter for all articles 1 year 4 weeks ago #2750

  • Maggi
  • Maggi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hello,
so I try it again with the normal code of the modul.

For the tree view I select:
Category ID
2. Pennales
3.Araphide
3. Biraphide
3. Raphioide
3. Monoraphide
2. Centrales

Use Request Command
No
Show unpublished articles
No
Link to Category
No
Show no access categories
Yes
Show no access articles
Yes
Show Child Categories
Yes
Show Empty Categories
Yes
Show Zero as Blank
No
Show Cumulative Totals
Yes
Show Tree
Yes

The result is at both pages.
If I change only the "Show Tree" selection it looks like this:





If I change the "Show Tree" to No and "Use request Command" to Yes at the selection it looks like this:







Also if I changed the Category ID to only one Parent Category "Eunotia" with one article, the same will be shown if the "use request command" is set to Yes (second picture). If "use request Command" is set to No it looks like the first picture but only the one category will be shown.

Regards Maggi
Last Edit: 1 year 4 weeks ago by Maggi.
The administrator has disabled public write access.

Articles Count: show one counter for all articles 1 year 3 weeks ago #2752

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 807
  • Thank you received: 77
  • Karma: 14
Sorry for the length of time it has taken to get back to you.

Without actually testing out the module myself I can't exactly say why it is not giving you the answer you want, logically it should, if you choose the categories correctly. However it might be that there is something that I am missing.

We are looking to make a new release of this module fairly soon, within about a month. I will look at including an extra layout that gives you this simple count that you want, it should not be a difficult thing.
The administrator has disabled public write access.

Articles Count: show one counter for all articles 1 year 3 weeks ago #2753

  • Maggi
  • Maggi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi,
no problem....
Thank you for your answer and the really fantastic support.
If you will realy put this function at the next release that will be fantastic......
Regards
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: boggler
Time to create page: 0.372 seconds