CB Gallery has no idea what menu item is associated with what asset when using links from profile so it will use the first CB Gallery menu item it finds, but the parameters of that menu item won't have any affect on it since the stream id has been provided. Best I can suggest is having 3 menu items. First one being generic then the other two being as you've configured. There is no way for CB Gallery to do a menu item lookup based off the asset menu parameter, sorry.The rest seems to be working now, I had not set the document menu item to not allow photos. So the field and menu item were not in agreement. This menu thing is strange. Both menu items are set to the values you said should work. They are the correct field IDs.
Guessing during some test usages you had the asset wrong. It's either wrong in the field (which should just be empty) or the menu item for those tests. See my previous reply regarding field asset.I am also seeing this in the media plugin list.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Of course it works, but the URLs from the field and tab won't match your menus. They'll still work as configured in the tab or field though.So this really is not going to work is what I am getting from you?
It does.I thought adding the gallery asset id would make the menu item be the same gallery in the profile tab?
You'd just link to that menu item. Typically this is as simple as using "index.php?Itemid=MENU_ID_HERE", which Joomla should turn into a menu URL.This is not the case and I cannot link to the gallery upload from the profile edit without all these issues?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
What about it is not working? Notice both urls have "&stream=". That's the ID for rebuilding the stream. It doesn't care what menu item it's on. Nor is it going to match the menu item by asset (there is no way to do this efficiently). It will rebuild and use the parameters of the tab and/or field depending on where you're coming from. This is the case when navigating around the gallery from the tab or field, which is fine unless you don't like the SEF URL. The menu items were created purely so you could link to the tab and field galleries easily, which you can do using index.php?Itemid=MENU_ID_HERE as Joomla will parse those (or should at least). Your menu item parameters need to match that of the tab/field respectfully.It's not working for me. You are saying this will work but it does not. You say it will work but then you say the gallery can't figure out a menu item so I am totally confused.
I've no idea what tab you're talking about. You can't upload to a gallery from profile edit. The entire point of the menu items was to allow you to link directly to the Upload pages of your profile and field galleries using a standard URL in an Custom HTML field.Can an anchor be placed in the tab to allow linking? A custom HTML field with an anchor tag that links to the tab?
Because the asset is wrong in 1 of them. Leave the Asset parameter in the Gallery tab and your field empty. The gallery tab will use the below asset.As for this, I deleted all gallery items and this happens when I upload from the tab and then from the menu link. They are like 2 separate places.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.