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.

Searching entry_id's or Assigning entry_id to channel custom field?

November 08, 2010 6:36pm

Subscribe [2]
  • #1 / Nov 08, 2010 6:36pm

    klambert

    32 posts

    Is there a way to conduct a simple search that will include each entry’s unique ID? The reason I ask is because I need to use the entry IDs as product codes for each product, and many of the searches are done by the product code.

    If that is not possible, would there at least be a way to automatically assign each new channel entry’s ID to a new custom channel field and have that custom field be searchable?

    Thank you very much.

  • #2 / Nov 09, 2010 9:15am

    the3mus1can

    426 posts

    Are you on EE1 or EE2?

    Did you try using the search:field_name= param on the entries tag? I am not sure if the entry_id is searchable. 

    On EE1 you could try using Solspace’s Preparse http://www.solspace.com/software/detail/preparse/.  On EE2 you can write an extension to get the same results as Preparse.

  • #3 / Nov 09, 2010 11:51am

    klambert

    32 posts

    Sorry I didn’t clarify before, it’s for EE2.

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

ExpressionEngine News!

#eecms, #events, #releases