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.

Get current URI segmented

September 12, 2011 5:12am

Subscribe [3]
  • #1 / Sep 12, 2011 5:12am

    Mat

    11 posts

    Hi Guys,

    I am trying to find a way to get my current uri and then split it for a breadcrumb menu.
    Is their a native EE function that can do this?

    Any help will be great.

  • #2 / Sep 12, 2011 10:59am

    Matt:P

    277 posts

  • #3 / Sep 12, 2011 11:02am

    Matt:P

    277 posts

    Just realised that URL Segments will-only-give-you-hyphenated-wording.

    Here are some add-ons that may help: http://devot-ee.com/search/results/search&keywords=breadcrumb&channel=addons&addon_version_support=ee2/

  • #4 / Sep 12, 2011 11:31am

    Mat

    11 posts

    Thanks Matt:P , I am going to look into it now.

  • #5 / Sep 12, 2011 11:55am

    Mark Bowen

    12637 posts

    Hi Mat,

    As Matt:P has mentioned you can either use segment variables in order to get at the different parts of the URL or a 3rd party add-on to do something along those lines too.

    Would you like me to move this post down to our Community Help forums to see if anyone else has any ideas on this one?

    Thanks,

    Mark

  • #6 / Sep 12, 2011 2:43pm

    Mat

    11 posts

    Hi Mark,

    Yes thanks that would be great. The segmented url is that the same as codeIgniters $this->uri->segment() function.

  • #7 / Sep 12, 2011 5:32pm

    Mark Bowen

    12637 posts

    Hi Mat,

    Moving as per request.

    Cheers,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases