Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2010-02-11 13:49:25

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Mary, I managed to fix my problem with a surprisingly simple solution, instead of linking to /archives, I have linked to /archives/<txp:php>echo date("Y-m");</txp:php> which link to the current year-month as I needed.

Thanks again, can’t believe I didn’t think of it sooner!


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

#170 2010-07-31 19:41:26

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

is there a setting to wrap the heading and the list into one div? if the two are separated it’s hard to style the archive.

Offline

#171 2010-08-01 13:17:53

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

No there isn’t. I had assumed that most styling could be done by being clever with CSS selectors, if necessary.

Otherwise it would seem that your needs are more complex, so building the archives yourself would be the best route (use article, if_different, etc – I think there’s explanations of how to do this on the Txp Tips site).

Offline

#172 2010-08-01 16:18:31

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

yep i tried that first
i’m getting so close! ha

Offline

#173 2010-08-25 18:31:04

playzea
New Member
Registered: 2010-08-25
Posts: 3

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

I’m having an odd problem on my archive page.

Notice in the 2010 line that “may” are repeated and it dose not show 2010 but show 2009 repeated instead

Any ideas? Can i fix this

i use txp 4.0.8 and upm_date_archive v.0.2.5

Offline

#174 2012-08-13 10:29:12

skywise
New Member
Registered: 2012-08-13
Posts: 5

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

I have trying to find out if you can format the list… but can’t seem to get a clear idéa of how it is done…probably the simplest thing… can anyone help me out? I want the menu to look like this:

2012
August
July
June
Etc.

And not like this

2012
(lots of space) August
(lots of space) July
(lots of space) June
(lots of space) Etc.

Last edited by skywise (2012-08-13 10:31:13)

Offline

#175 2012-08-13 11:05:33

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,313

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Can it be fixed with CSS?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#176 2012-08-13 11:28:26

skywise
New Member
Registered: 2012-08-13
Posts: 5

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Can’t seem to get it to react at all by changing the css in the file :/

Offline

#177 2012-08-13 11:59:17

skywise
New Member
Registered: 2012-08-13
Posts: 5

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Fixed it! :)

Set the class name to “nospace” and added the following to the css:

dl.nospace
{ margin: 0; padding: 0;
}

.nospace dt
{ margin: 0; padding: 0;
}

.nospace dd
{ margin: 0; padding: 0;
}

Offline

#178 2012-11-25 03:21:24

sunmaker
Member
From: Washington DC
Registered: 2005-01-04
Posts: 40

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

We have a TXP 4.2.0 site that needs to upgrade. Does upm_date_archive work with 4.5.2?


All boundaries are for practical purposes only.

Offline

#179 2012-11-25 06:15:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,152
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Hi:)
you can now achieve this with native tags


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#180 2012-12-24 02:23:27

mrbogle
New Member
Registered: 2009-03-13
Posts: 4

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

I have a site on an older version of textpattern (4.0.8) with this plugin (v0.2.5). I’m having trouble with it actually rendering the archives when the link from txp:upm_date_menu is clicked.

There is a ‘blog’ section. It is enabled in the plugin. txp:upm_date_menu usage looks like this:

<txp:upm_date_menu section="blog" show_article_count="yes" insert_empty_months="no" month_format="%B %Y" class="archive-list"/>

Links go to

/blog/2011-08

But the page always lists the entire blog section — no filtering by the date. It seems to hit the `<txp:article limit=“5”/>` tag in the template.

  • Should I be using another tag?
  • What does the article choosing tag soup supposed to look like? Mine:
<txp:if_category>
    <txp:category title="1" />
    <txp:article form="article_listing" limit="5" />
<txp:else />
    <txp:if_search>
        <txp:text item="search_results" />: <txp:page_url type="q" />
    </txp:if_search>
    <txp:article limit="5"/>
</txp:if_category> 

Maybe I need to do some url rewriting somewhere?

Are there any docs for this plugin? An entire example of how the templates should look?

I will upgrade textpattern at some point, but would like to understand what is happening and fix it.

Offline

Board footer

Powered by FluxBB