Welcome Guest, Not a member yet? Register   Sign In
Trying to figure out how to get related portfolios
#2

If you're looking at a portfolio, you might have the portfolio ID in the URL. You would query the database for that portfolio's category, and then you would have it.

If you're looking at a portfolio category, you might have the portfolio category name or ID in the URL. You would use $this->uri->segement(x) to get it.

So, the data is always there, you just might require more queries or method calls to do what you want to do.

Does this help?
Reply


Messages In This Thread
RE: Trying to figure out how to get related portfolios - by skunkbad - 02-24-2016, 11:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB