Re: What is the macro that controls post type in the newspaper?
This post was updated on .
I'd like to eliminate this from ever showing:
Why tell people there is content they dont have access to? That just creates questions.
Here is the comment in the code:
"Here we check if this page contains the correct number of rows. If this is not the case,
it is because the visitor doesn't have permission to view them and we must display a message.
The check is simple: we get the number of rows this page is meant to show (current_page_rows
command in pagination namespace) and subtract the number of rows displayed (current_index
of the node_list loop). If the result if greater than zero, then some rows were not displayed and
we show the message."
I kept pushing and I now have the page almost exactly where I want it. You only see the authors posts, and only their first topics:
The only thing I would like to do is:
1 Have you check the way I edited the macros to see if it looks correct
2 Display the YEAR on the author page for post in the current year:
3 Also on the root page, I am only SHOWING contributors, and I am myself not a contributors, bur for some reason I am showing. Not sure if this is cached or what. I put myself in contributors to more easily test what I was doing, but now I am removed, but still showing: