Show/hide problem with subfolders

Help each other out

Show/hide problem with subfolders

Postby GrantG on Mon Jun 26, 2006 10:07 pm

This being my first time post I thought I should initially mention how much I love Xlobby and the hours of customizing fun it gives me for my HTPC.

Anyway, down to business: not sure if this is a bug, or I'm just doing something wrong.

What I have currently is a page with a movies category item. When I enter the category, I have a hidden popup to display the current movie title. So far so good.

The problem is if I click on a movie which has a further subdirectory (like a multi-part DVD), the subdirectory category entries display fine, but the popup becomes hidden again. If I leave - then reenter the category, then the popup reappears as it should. But this is kind of a pain. It seems like the popup should always be shown if I don't leave the category item.

Anybody else experience and/or replicate this? (FWIW, I use xAnt plugin to create the databases.)
GrantG
 
Posts: 16
Joined: Mon Jun 26, 2006 9:54 pm
Location: London

Postby Colby on Tue Jun 27, 2006 11:30 am

By what method are you showing the hidden name of the category item? Are you using the category's enter event, or just using a textbox with the category>movies>title? There is more than one way to accomplish what youre doing.
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA

Postby GrantG on Tue Jun 27, 2006 2:04 pm

Thanks for the reply.

What I have exactly is a textbox with category>movies>title, and also a semi-transparent rectangle. Both of these are checked as "Hidden" and given an ID string. Then for the movies category, Advanced tab (I think it is called), I highlight those two ID names in the bottom pane.

Is this the standard way to show and hide when entering/leaving?

Everything works fine, except if I select a movies entry which has a subfolder - the category then displays the database entries from the subfolder, but now the title and rectangle disappear.

Is there any way to make the hidden items stay shown, since I haven't left the category item?
GrantG
 
Posts: 16
Joined: Mon Jun 26, 2006 9:54 pm
Location: London

Postby GrantG on Tue Jun 27, 2006 9:17 pm

Well, after a little experimenting I managed to solve the problem by using a different way of show/hide (thanks Colby for the sort-of tip!)

I created two events (called entermovies, and exitmovies) which contain all the needed button show /hide commands that I needed. Then I used these in the enter events and exit events for the movies category.

Now when I go down a directory level, the images stay shown, as I wanted.

Note sure why my first method didn't work though....
GrantG
 
Posts: 16
Joined: Mon Jun 26, 2006 9:54 pm
Location: London

Postby Colby on Wed Jun 28, 2006 12:07 am

Glad it is doing what you want. Typically you dont need a transparent image for show/hide. any button with an ID can appear or disappear.
Colby
 
Posts: 929
Joined: Mon Feb 02, 2004 7:42 am
Location: Brookline Station, MO, USA