Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 magiccardpops 10-06-2017 18:56:19

When clicking on a date in the calendar the journals for that date appear on a page.
At the top of the page, under the blog title and before the first journal, the following appears:

Archive (07 June 2017)

How can I change the format for the date so that it appears as June 7, 2017 ?
I can't seem to find it in admin settings or any of the code I looked at.

I notice that this, Archive (07 June 2017), is also what is displayed in the web page title.


#2 msworld 11-06-2017 05:53:53

It`s in the language file:

$msw_archive2 = 'Archive ({day} {month} {year})';

Change to:

$msw_archive2 = 'Archive ({month} {day}, {year})';

If you don`t want the 0 before the day, you`ll need to modify:

And change line 60 to:

$titlePrefix = str_replace(array('{month}', '{year}', '{day}'), array($month_nm, $year, $day), $msw_archive2);

Hope that helps. smile

#3 msworld 11-06-2017 06:29:26

I have updated this, so if you replace:

Then the display is controlled by the date display in the settings. smile

#4 magiccardpops 11-06-2017 19:52:57

Fantastic, thank you David, Don't know how I missed that.

One conumdrum.  When clicking on a date on the calendar, which brings up the archived journals for that date, the Heading, like, Archive (June 1, 2017), will always have the 1st of the month listed.
If I change the date in the settings to eliminate the day portion so it shows as Archive (June 2017) when clicking on a date in the calendar then all of the dates for the Journal and Category entries will also be missing the day portion.

Thanks again.

#5 msworld 12-06-2017 01:56:29

Oops. Redownload and replace:

Let me know if that fixes the day issue.

#6 magiccardpops 12-06-2017 03:45:40

Perfect! Thanks so much, David.

#7 msworld 12-06-2017 08:05:43

You are welcome and sorry for the error.

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2021 Maian Script World & David Ian Bennett. is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software