Page 1 of 1

Find_Pano (search in specific group)

PostPosted: Fri Nov 25, 2016 5:49 pm
by rsanaei
Hello,

I need to search for panoramas in specific group only.

I have found the Find_Pano template on Panotour downloads and it works well but because of my project, I have many duplicate panoramas so i need Find_Pano to search only in specific group (singe group) to prevent show the duplicate panorama.

Appreciate your help.

Re: Find_Pano (search in specific group)

PostPosted: Fri Nov 25, 2016 7:55 pm
by 360-compunics-com-ni
A quick solution would be to just remove the definitions of duplicate/multiple panos from the "YourProject.html"-file:
Code: Select all
var panos = [
   { id:"pano22" , name:"Bedroom", description:"OG-P1", thumb:"./indexdata/_2_nd_fl_22/thumbnail.jpg" },
   { id:"pano23" , name:"Corridor", description:"OG-P2", thumb:"./indexdata/_2_nd_fl_23/thumbnail.jpg" },
   { id:"pano275" , name:"Entrance", description:"OG-P3", thumb:"./indexdata/entrance_275/thumbnail.jpg" },
   { id:"pano20" , name:"Entrance", description:"EG-P1", thumb:"./indexdata/_1_st_fl_20/thumbnail.jpg" },
   { id:"pano21" , name:"Entrance by night", description:"EG-P2", thumb:"./indexdata/_1_st_fl_21/thumbnail.jpg" },
];

In this example, remove 2 of the 3 lines containing "Entrance" as part of the panoname.

It is also possible to restrict the search function programatically to a groupid or groupname, contact me at any time if you would like such customization service.

Re: Find_Pano (search in specific group)

PostPosted: Sat Nov 26, 2016 6:09 pm
by rsanaei
360-compunics-com-ni wrote:A quick solution would be to just remove the definitions of duplicate/multiple panos from the "YourProject.html"-file:
Code: Select all
var panos = [
   { id:"pano22" , name:"Bedroom", description:"OG-P1", thumb:"./indexdata/_2_nd_fl_22/thumbnail.jpg" },
   { id:"pano23" , name:"Corridor", description:"OG-P2", thumb:"./indexdata/_2_nd_fl_23/thumbnail.jpg" },
   { id:"pano275" , name:"Entrance", description:"OG-P3", thumb:"./indexdata/entrance_275/thumbnail.jpg" },
   { id:"pano20" , name:"Entrance", description:"EG-P1", thumb:"./indexdata/_1_st_fl_20/thumbnail.jpg" },
   { id:"pano21" , name:"Entrance by night", description:"EG-P2", thumb:"./indexdata/_1_st_fl_21/thumbnail.jpg" },
];

In this example, remove 2 of the 3 lines containing "Entrance" as part of the panoname.

It is also possible to restrict the search function programatically to a groupid or groupname, contact me at any time if you would like such customization service.



First of all thank you for your help.
I did remove panoramas from my the "YourProject.html"-file but i face to two problem.
First i could not find any group for remove it from "YourProject.html" !
Second problem was by removing any panorama not only is going to remove from the comobox but also it will remove from my search list too.

What i need to do is only removing some panoramas from search result and only some groups from the combobox separately.

I will be more than happy to use your customization service at any time that i needed. For sure i will ask you for help in my serous projects. Can i also have your email address for direct contact.

I really do appropriate your help in advance.