Add Album to Cart
DaveOke
Joined: 2005-06-12
Posts: 12 |
Posted: Tue, 2005-06-14 19:57 |
On the main page, the combo box has been replaced by a single link. Is this normal? If not how can I change it back into a combo box? It appeared after a botched upgrade (http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=31525 ) |
|
Posts: 32509
if there's only one option available, there's no need to show a drop down box. enable other options (add the permission to do action x) and it will be a drop down list again.
maybe you also disabled a module that offered an item action.
Posts: 12
I thought that the view slideshow should also be in that list (as it is on the left side under actions).
I also just noticed that the view slideshow and add album to cart doesn't work on the main screen (probably best if it didn't!!).
Also in the sub albums where a user can leave a comment, it's the same thing with only add album to cart, and the rest of the actions on the left.
Posts: 12
I should add that if I'm in admin mode, it shows up properly
Posts: 32509
then it's a permission issue.
give the everybody group the permission for the slideshow etc.
case closed i suppose (just play a little with G2, permissions. i know it's not that easy without docs, but that's how it is for now.)
Posts: 12
In that case, there's definatly something wrong.
Left hand action menu, slideshow can be used by guest.
Only thing below the album is "Add to Cart"
You would know right away from looking at it.
Posts: 8601
actions can now be 'detailed' or not.. ie, some actions only appear when you're viewing the photo/album and not next to the thumbnail.
Posts: 16504
It appears the dropdown menu has changed since B3. There are fewer options in the menu in the latest CVS than in my plain, jane B3 install. Personally, I like it better. It's more user friendly. Having common, "simple" actions in the drop down menu and the lesser used more "advanced" options on the sidebar.
It makes the drop down menu less cluttered, easier to navigate and find stuff. The longer you make a drop down menu the harder it is to find what you're looking for.
Posts: 16504
Looks like mindless beat me to the punch. All the better since he knows what's going on internally a lot better than I.
Your statment makes it sound like this is configurable. If it is, where can you change the setting for 'detailed' or not for the action? I just ran through all the album settings on the latest CVS and can't seem to find any setting for this.
Posts: 8601
not configurable in the UI (at least not now).
you can edit module.inc for the module that adds that action and change the detailed setting..
Posts: 1023
I found the new way to add actions a bit missleading, I think there should be a restriction to actions which make sense - for my feeling, adding "Show Item Actions" to the page displaying albums make not very much sense.
Posts: 16504
This option is still not configurable via the UI. What you're talking about is adding that block to the album or photo page, not under the thumbnail.
To add actions to the drop down you either need to try and figure out what mindless is talking about above, or you can do what shown in this thread to add them all back, http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=31736&highlight=item+actions+detailed Though now you would edit /themes/matrix/theme.inc instead of /layouts/matrix/layout.inc
And I haven't tested that with the new theme structure so it I don't know if it works or not.