Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2007-03-21 14:04:50

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

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

Hi Mary,

Thanks for your help. I’ve managed to remove the year heading and append it to the end of each year, but I’m unaware of the CSS to remove the indent (see here) – any clues?

Thanks again!
Jez

Offline

#77 2007-03-21 15:30:35

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

carrotrope wrote:

…but I’m unaware of the CSS to remove the indent (see here) – any clues?

Pop this in your CSS:

.column1 dl dd {
    margin-left: 0;
}

Offline

#78 2007-03-21 16:25:01

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

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

Jeff, that’s wonderful. Thanks so much. I don’t suppose there is any way to push the list of months up to meet Archives is there? Are the months contained within something forcing it down? (Sorry! My CSS needs some serious polishing..)

Offline

#79 2007-03-21 16:38:57

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

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

Oh, another issue – The archive appears on static pages called About, Submit and Contact, but although I’ve specified section=“Blog” in the tag, clicking on the monthly link only brings up the single, sticky post made in the submit sections instead of the archives of the main blog..?

Offline

#80 2007-03-22 22:52:13

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

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

This isn’t plugin-related, this is a misunderstanding with templating. You need to check what is in your Page used by your “Blog” Section.

Offline

#81 2007-03-25 23:05:24

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

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

Mary wrote:

This isn’t plugin-related, this is a misunderstanding with templating. You need to check what is in your Page used by your “Blog” Section.

Mary could you possibly suggest what I should be looking for? The code in my Blog section reads as such:

<txp:upm_date_menu year_format=”“ section=“Blog” insert_empty_months=“no” month_format=”%B %G” showcount=“yes” />

That exact code is in all of the static pages, yet they only look for entries in those sections..

EDIT: A-ha! Solved it – I was mistaking the ‘section’ attribute for ‘link_to’. Superb.

Last edited by carrotrope (2007-03-26 00:42:45)

Offline

#82 2007-03-25 23:07:51

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

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

Apologies, but I still don’t appear to be able to force the months of the list up to meet the ‘Archive’ title above it – does anyone have any suggestions on what CSS might be appropriate? The page is still viewable here for viewing.

Last edited by carrotrope (2007-03-26 00:43:07)

Offline

#83 2007-03-26 05:01:46

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

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

The best place to ask these kinds of questions is in the Presentation forum. That way you get assistancer faster and someone else that searches for it will easily find it as well. :)

Offline

#84 2007-03-27 17:14:17

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

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

Thanks Mary. I’ve asked there, but I felt it better to ask here as I believe it’s more to do with how you formatted results in your script as opposed to the CSS I can apply to it.. not to mention, this particular section of the forum appears to be more active..

Offline

#85 2007-04-21 23:33:36

systrum
Member
Registered: 2004-08-28
Posts: 44

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

i am using this plugin to display a side bar archive. i have it successfully displaying dates under 3 category headings, as u can see here

my problem is that when u click on the date link for a particular category (for example for april in the category ‘Misc’) it displays articles for other categories also, in that same month.

in order for it to work properly (displaying articles for a certain category only) must i also restructure my blog into sections? or can i have this work without doing so? i can’t really see where i went wrong.
any pointers would be greatly appreciated

i have also played arounr with exclude_category and it doesn’t seem to be doing anything (it continues to display the category i want to exclude).

Last edited by systrum (2007-04-21 23:58:29)

Offline

#86 2007-04-22 01:34:57

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

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

Are you wanting it to display only specific sections, or are you wanting it to not display specific sections?

Can you post whatever you are currently using?

Offline

#87 2007-04-23 00:50:22

systrum
Member
Registered: 2004-08-28
Posts: 44

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

i did it! i obviously had not ordered things into sections and after having done that it works perfectly.

Offline

#88 2007-04-23 06:40:34

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

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

v.0.2.2

Last edited by Mary (2013-01-24 17:24:01)

Offline

#89 2007-05-24 12:41:06

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

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

<txp:upm_date_archive mode="smart" section="----cut-away----" none_found="archive_none_found"/> -> Textpattern Notice: Unknown tag attribute: mode on line 598

Hmm? Yes, mode defaults to smart. I tried adding it to check if my “archive_none_found”-form would get printed. (it didn’t. should it? i searched the plugin code but found only one hit for “none_found”.. “No articles could be found for the requested month.” prints fine.)

Trying on SVN @ 2388.

Or am I doing something wrong there?


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#90 2007-06-06 08:19:37

stuu
New Member
From: Tokyo
Registered: 2007-06-06
Posts: 4

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

Noob to textpattern, and lovin’ it so far.

My question/problem is with upm_date_menu and timezones.

I’m in Japan (GMT+9) and am hosted on textdrive (server tz=UTC).
Am in the process of (cough) manually importing a bunch of entries from a different cms.
I first tried not entering a time on the “write” form, but textpattern marks my post as Jan 1970, so I went ahead and marked everything 00:00:00.

When I do <txp:upm_date_menu /> I get the following:
1) duplicate months in the menu .. 2002 Sep Sep Oct Nov
2) Posts at Oct 1 00:00:00 show up in Sep instead of Oct
3) Posts at Sep 1 00:00:00 don’t show up in Sep — my first post was Sep 1 00:00:00 and it just disappears from the list

The mysql DB is storing everything in UTC (this is correct, right?) so I’m guessing that the search isn’t taking my TZ offset into account.

Now I can fix my batch posts by setting a time where UTC is the same day as JST, but if I really want to post at 3am… is something wrong with my setup?

Offline

Board footer

Powered by FluxBB