Yes, * both is logically related together * it is easier to remove something than to reinvent it. * it can be disabled by customizing templates or by adding a record by web Admin to: App_Plugins / Plugin_Points: Label: "sidebar_links", Status: Disabled. (This is currently the only plugin in this plugin point, so it is easy.)
--Hy On 6 dub, 17:47, Darren Hollenbeck <[email protected]> wrote: > I think it would be fine to have the sidebar link show by default - if > someone wants to make it hidden in certain cases they could override that > behavior themselves with a customization. > > > > > > > > On Thursday, April 5, 2012 5:35:50 PM UTC-5, hynekcer wrote: > > > Chris and Darren, > > do you think, that the sidebar link "Most Popular" can be enabled for > > all people who have enabled app "satchmo_ext.productratings"? > > > I look in Satchmo prehitory. Both parts of broken condition > > "shop.options" and "SHOP.RATINGS" that should enable it, have been > > removed more than 3 years ago by code reorganization. > > > It can be probably disabled inhttp://localhost/admin/app_plugins/but > > I do not know currently how. > > > --Hy > > > On 5 dub, 23:33, Darren Hollenbeck <[email protected]> wrote: > > > Figured out some debugging in pdb and inspected shop.options.SHOP - > > turns > > > out there is no RATINGS in there so it is not finding it and therefore > > > giving false to the if test. > > > > Next question - is this a bug, or a problem with my install/config? I > > > don't see a config_register() call for RATINGS anywhere, so my guess is > > it > > > is an oversight, but... ?? > > > > On Thursday, April 5, 2012 12:00:36 PM UTC-5, Darren Hollenbeck wrote: > > > > > Trying to figure out some of the functionality with this app, > > specifically > > > > the sidebar_links plugin template: > > > > > {% if shop.options.SHOP.RATINGS.value %}{% load i18n %}{% url > > satchmo_product_best_rated as besturl %}{% if besturl %}<br/><a href="{{ > > besturl }}">{% trans "Most Popular" %}</a><br/>{% endif %}{% endif %} > > > > > The link is not showing up even though I do have some products with > > ratings. If I edit the template to remove the outer-most if-block, it works > > fine. What is shop.options.SHOP.RATINGS.value, where is it, and how can I > > check it's value (in a debug session?) and also how is it configured? > > > > > Thanks -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
