Show one item from multiple items of the field depending on subdomen

  • Hi!

    I want to show one item from multiple items of the field depending on the current subdomen value.


    Example:

    I have two subdomen: city1 and city2.

    And i have field for city name and content with multiple items:

    name = citi1

    content = city 1 content ...

    I want show city content corresponding to current subdomen.


    I try to make this on filters functionality (PerchTemplateFilter), but perch save in database result on every save page in admin panel.


    How can i do this.

    Sorry for my english.

  • drewm

    Approved the thread.