ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Custom Fields - Field Type = Integer

July 31, 2007 2:10pm

Subscribe [2]
  • #1 / Jul 31, 2007 2:10pm

    BlackThir13en

    1 posts

    I am still new to the expression engine, and was curious if there was a mod or hack to adjust the normal list of Field Types (Textarea,Text Input, Drop Down List, Date, Relationship) can be modified to add the database structure of INT (Integer as opposed to date or text).

    I am utilizing a weblog to list out my navigation/pages and I need a specific order for the pages and if new pages are created would like to reorder my pages accordingly.  I do not want to adjust the entry_id, or entry_date.  I have considered adding a date field type and adjusting values this way, however I have other uses of numbers that i would want stored as numbers and not text.

    Any help would be appreciated.
    <br>

    Trying to Avoid This Type of Page Numbering

    1 - Page 1
    10 - Page 10
    11 - Page 11
    12 - Page 12
    13 - Page 13
    14 - Page 14
    2 - Page 2
    3 - Page 3
    4 - Page 4
    5 - Page 5
    6 - Page 6
    7 - Page 7
    8 - Page 8
    9 - Page 9

    I do realize there are solutions around this, however I would prefer to use a INT if possible.

  • #2 / Jul 31, 2007 2:18pm

    Lisa Wess

    20502 posts

    You might search for Reeorder or Select and Order - but you can also go right into the database and change the table.  See this thread.

  • #3 / Jul 31, 2007 2:23pm

    BlackThir13en

    1 posts

    I wasn’t sure if modifing the database would affect any other operations, thanks!  I will also check out the mods.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases