Tempcode on Catalog Pages

Post

Rating:

Pages taking Catalog ID in URL instead of Member ID

On my website, when a user is in their Profile, the right side panel contains the member_override Tempcode.  This shows the Member's id number.  All is well.


When that user clicks the "Content" button and selects some of the dropdowns, the member_override id number changes.  I noticed this on catalog pages (pages that use a catalog id number in the URL).  It looks like the member_override number pulls the catalog id number from the URL.  In other words, the member id number becomes the catalog id number from the URL.  Here are two examples:

Products = 

Links = 


Some of the links I created on the sidepanel are based upon the Member's id.  In this example, I need the member_override value to stay as "3". 

I don't know if this only happens on catalog pages, or other pages too.  I don't know how many pages use the term "id" in the URL to mean different things (user id, catalog id, etc.).

Thanks so much for your help!

 

Post

Rating:
This MEMBER_OVERRIDE symbol is something from way back, not currently used by any part of Composr, and time has not treated it well. I'll make a patch to fix it up.

Post

Important!
Rating:

Automated fix message

Chris Graham said


This post has been moderated as spam. It is against our rules to post spam on the Composr CMS website.
This issue has now been filed on the tracker as issue #4089, with a fix.

Post

Rating:
Your code works perfectly.

Thanks so much!!!
1 guest and 0 members have recently viewed this.