We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Show results for multiple segments. Seg2Cat

Development and Programming

CADAUDIO's avatar
CADAUDIO
13 posts
9 years ago
CADAUDIO's avatar CADAUDIO

Is it possible to display combined results for multiple segments in Seg2Cat depending on url?

For instance. I’m using a dropdown select to change content based on the last segment.

http://mysite.com/ajax/ajax_sort/cad-live

This url correctly displays all of my products listed in “cad-live”

What if I want to combine this segment with another segment?

Per say:

http://cadaudio.com/ajax/ajax_sort/cad-live&astatic; I’m currently using category=”{segment_category_ids}” to display.

Thanks.

Edit: So I guess what I was looking for was $_GET variables so I can get a little more creative displaying and sorting content using url stings like ?products=wireless&ear-warn=live-vocals&page=1.

I have also read Expression Engine doesn’t support this. Can anyone verify?

       
Ingo Wedler's avatar
Ingo Wedler
63 posts
9 years ago
Ingo Wedler's avatar Ingo Wedler
So I guess what I was looking for was $_GET variables so I can get a little more creative displaying and sorting content using url stings like ?products=wireless&ear-warn=live-vocals&page=1. I have also read Expression Engine doesn’t support this. Can anyone verify?

You can do almost what’s possible in php by turning php parsing on for a template. So, yes its possible to do. If you don’t want to write your own php code or dont want to turn php parsing on, I had written a little plugin for EE2, long time ago. I can update it this weekend, if you like. You can grab $_get, $_post and php server variables and also cookies with it. Hope this helps, Ingo.

       
Ingo Wedler's avatar
Ingo Wedler
63 posts
9 years ago
Ingo Wedler's avatar Ingo Wedler

I have updated the plugin for EE 3.x. Link is in my signature. Hope this helps, Ingo.

       
CADAUDIO's avatar
CADAUDIO
13 posts
9 years ago
CADAUDIO's avatar CADAUDIO

Hey Ingo,

I would love the check out your plugin however, I’m using EE2. You have that version laying around somewhere?

Thanks!

       
Ingo Wedler's avatar
Ingo Wedler
63 posts
9 years ago
Ingo Wedler's avatar Ingo Wedler

Added, link to signature…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.