We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extension: Number To Date

Development and Programming

Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

The attached add-on files may be out of date. Please visit Devot-ee for the latest versions.

The purpose of this extension is to assist in ordering of entries which have titles containing numbers. Order of such entries should match numerical values of numbers in titles, as here: “§ 1”, “§ 2”, “§ 3”, … “§ 10”, “§ 11”, “§ 12”, etc. Or as here: …, “Article 528”, “Articles 529-530”, “Article 531”, “Articles 531-533”, “Articles 533-535” etc.

It is not possible to achieve such order using ExpressionEngine’s ordering of entries by title. Using ordering of entries by title you will get this order instead: §1, §11, §12, §13, … §2, §21, etc.

If real posting date does not matter, needed ordering of entries can be achieved by setting posting dates. Number To Date extension automatizes process of calculating and setting dates for such entries.

Calculating dates is based on the same algorithm as in Number To Date plugin.

Installation:

1) download and unzip the package 2) upload files to language and extensions folders 3) enable extension 4) go to “Settings” and set in which weglogs entry dates should be based on numbers in entry titles.

       
Gabriel's avatar
Gabriel
130 posts
16 years ago
Gabriel's avatar Gabriel

Great! Laisvunas are you owner of the secret EE addons factory?

       
Laisvunas's avatar
Laisvunas
879 posts
16 years ago
Laisvunas's avatar Laisvunas

Hi,

I released version 1.0.1 of Number To Date extension.

In this version a couple of minor bugs were fixed.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.