LemonStand Forum: is_current() helper function with nested category URLs - LemonStand Forum

Jump to content

Status Fixed (and published)    

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #199: is_current() helper function with nested category URLs

#1 User is offline  
Rich 

  • Member
  • Group: Members
  • Posts: 5
  • Joined: 07-March 11

Posted 23 April 2012 - 07:14 AM

With 'Enable category URL nesting' set it seems that we need to use $category->get_url_name() rather than $category->url_name to test for the current category.

(http://forum.lemonst...h__1#entry13161)

This means that we can't use the 'is_current()' helper function in modules\shop\models\shop_category.php.

Would it be possible to update the helper function so it can be used with or without nested category URLs?


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 2)

#2 User is offline  
Manca 

  • Developer
  • Group: +Administrators
  • Posts: 252
  • Joined: 02-September 11

Posted 27 April 2012 - 11:01 AM

Updating status to: Fixed (and published)

Hi Rich,

I believe Aleksey published a fix for this a couple days ago. Let us know if the issue was not resolved.

Thank you

#3 User is offline  
Manca 

  • Developer
  • Group: +Administrators
  • Posts: 252
  • Joined: 02-September 11

Posted 03 May 2012 - 11:44 AM

Moving to: Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users