catch this one!
i'm using nuke/g2 install. i have it set up perfectly, and tested it using strict IP calls (i.e. 147.134.2.20, not the real IP, but you get the picture). worked flawlessly
anyhow, i'm migrating it to a live production site, using masked domain forwarding. the albums and photos come up alright, but it is missing the template information. hmmmm....
view source shows me this (domain name/ IP addresses have been changed to protect the innocent):
Code: ›
var albumTree = new dTree('albumTree');
albumTree.icon = {
root : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/base.gif',
folder : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/folder.gif',
folderOpen : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/imgfolder.gif',
node : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/imgfolder.gif',
empty : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/empty.gif',
line : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/line.gif',
join : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/join.gif',
joinBottom : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/joinbottom.gif',
plus : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/plus.gif',
plusBottom : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/plusbottom.gif',
minus : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/minus.gif',
minusBottom : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/minusbottom.gif',
nlPlus : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/nolines_plus.gif',
nlMinus : 'http://testing.mydomain.com/modules/gallery/modules/albumselect/images/nolines_minus.gif'
};
albumTree.config.useLines = true;
albumTree.config.useIcons = true;
albumTree.config.useCookies = true;
albumTree.config.closeSameLevel = false;
albumTree.add(0, -1, " Our Photo Album",
'http://69.66.140.243:40907/modules.php?name=gallery');
albumTree.add(1, 0, "2005",
'http://147.134.2.20/modules.php?name=gallery&g2_view=core.ShowItem&g2_itemId=913');
albumTree.add(2, 1, "January - February",
'http://147.134.2.20/modules.php?name=gallery&g2_view=core.ShowItem&g2_itemId=915');
albumTree.add(3, 1, "March",
'http://147.134.2.20/modules.php?name=gallery&g2_view=core.ShowItem&g2_itemId=958');
albumTree.add(4, 1, "April",
'http://147.134.2.20/modules.php?name=gallery&g2_view=core.ShowItem&g2_itemId=1008');
albumTree.add(5, 1, "May - June",
notice how in some instances, it uses the fully qualified DN? While in the other, it uses the referenced IP address?
so, i backtraced it into gallery/modules/albumselect/templates/blocks/AlbumTree.tpl
Code: ›
joinBottom : '{g->url href="modules/albumselect/images/joinbottom.gif"}',
shows masked domain, or the fully qualified DN.
Code: ›
{$albumTree}.add(0, -1, " {$block.albumselect.LoadAlbumData.titles.root|markup:strip}",'{g->url}');
shows the IP address. i find it *very* strange how the same call to
Code: ›
g->url
is resulting in different returned results.
more on this as i dig deeper...