PDA

View Full Version : Problem with showing month and year in browse template


nox
08-08-2008, 08:56 PM
I am currently redesigning my photoblog. My browse page is organised as a monthly archive. At the moment I make new categories and give them the name of the month and year; Pixelpost then shows the images of one month/category on one page. It is getting a bit confusing as there are over 30 categories now. I found out that it is also possible to use the date to arrange the images in the same way. I will use this:

<a href="index.php?x=browse&archivedate=2008-08">August 2008</a>

instead of this:

<a href="index.php?x=browse&category=14">August 2008</a>

Everything works great so far. There only seems to be one problem: On the browse page, I show the month and year of each archive. At the moment this is achieved with the Page-By-Page-Archive addon and its tag <CATEGORY_OR_DATE_NAME_PAGED_ARCHIVE>, showing the name of the respective category. Unfortunately this does not work anymore with the new method. The space where I would expect the name of the current month stays empty.

Is there a way to solve the problem and to show the respective month and year on my browse page?

Thank you very much in advance for your help.



P.S.: I am using Pixelpost 1.7.1 with the these plugins: Page-By-Page-Archive, Akismet comment filter, MediaRSS

nox
08-11-2008, 07:41 PM
No answer yet, so I'll try to ask in a different way:
My blog runs on Pixelpost 1.7.1. I'd like to have my browse page as a monthly archive. Is there a tag that shows the respective month and year?

Hope this is the right forum for this question. Thank you for your help.

Dennis
08-12-2008, 06:37 AM
http://www.pixelpost.org/docs/TemplateTags/PagedArchiveAddonTags

nox
08-13-2008, 08:43 AM
Thanks for the reply.
Actually I was using the Paged Archive addon before. However it did not show the name of the respective month on the website. Now I have found out what went wrong.

I put together the images of one month like this:

<a href="index.php?x=browse&archivedate=2008-08">August</a>

for the name of the month to show, it should be done like this:


<a href="index.php?x=browse&amp;archivedate=2008-08&amp;monthname=August">August</a>

Now it's working.