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.

Allow user to choose weblog

September 11, 2010 2:33pm

Subscribe [2]
  • #1 / Sep 11, 2010 2:33pm

    labtjd

    11 posts

    ee 1.6.9 (considering 2, but not there yet)
    I have a news site that displays the main weblog.
    We would like to introduce separate weblogs for different cities and then allow the visitor to make a selection (radio button?) as to which city’s news he wants to see.  The weblog tags would react to the button selection.

    The selection maybe could be stored in a cookie.

    Is it possible to have such a function in EE?

  • #2 / Sep 11, 2010 3:53pm

    Carl W Crawley

    136 posts

    You would essentially have to code this yourself, but yes it can be done..

    I would suggest the following structure:

    Create a Categories Group which contains all the cities.

    News is then entered into the system associated with the appropriate categories.

    Although you can do it natively, I would make life easier with an addon (Low Seg_2_Cat, you can search for it on devot-ee.com) then basically output a list of all the categories giving the user the ability to select one.

    Then redirect to something like http://www.site.com/news/cardiff/ (for example) - and use the addon above to return all entries that match category ‘Cardiff’.

    Sorry for the babble - but essentially the function *is* available in EE, but you have to code/build it.

    Regards,

    Carl

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

ExpressionEngine News!

#eecms, #events, #releases