In my main site, I'd like to have links to certain albums in my Gallery. That is pretty easy to do. For example, this would be a link to one of my albums:
<a href="http://mysite.com/gallery/main.php?g2_view=core:ShowItem&g2_itemId=147">Link</a>
The problem is that this link contains the text "g2". If there are future revisions of Gallery, I assume that the "g2" text will be replaced with something different, like "g3". Once that happens, then all my links will no longer work. Is that correct or am I missing something here? How can I future-proof links to my albums?
Roger
Posts: 389
Its defined in gallery2/modules/core/classes/GalleryUtilities.class at line 32.
I'd like to see it in config.php instead, but thats me.
Posts: 32509
no,
1. you can define this g2_ prefix
2. G1 lasted for years, G2 will also last for years