[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
how to add new page in oversight
07-07-2012, 09:44 PM (This post was last modified: 07-08-2012 10:16 PM by jonny555.)
Post: #1
how to add new page in oversight
hi im wanting to add new genre page to skin in oversight tips or help will be greatful

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
07-07-2012, 10:38 PM
Post: #2
RE: how add new page in oversight
i'm waiting for genre selection within macro - would like to list all the genre on the left frame and let the user navigation with up/down cursor (not a popbox like now) and allow to make genre activ in detail page to allow user to select genre page within the genre of the movie

i thing that lordy should make some enhancement to allow theses feature.
Find all posts by this user
Add Thank You Quote this message in a reply
07-07-2012, 11:41 PM
Post: #3
RE: how add new page in oversight
(07-07-2012 10:38 PM)jluc2808 Wrote:  i'm waiting for genre selection within macro - would like to list all the genre on the left frame and let the user navigation with up/down cursor (not a popbox like now) and allow to make genre activ in detail page to allow user to select genre page within the genre of the movie

i thing that lordy should make some enhancement to allow theses feature.
i think he is still working very on this
you mean left frame in main menu

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 12:20 AM
Post: #4
RE: how add new page in oversight
ok I'm confused.

To list all the items under a genre you can.. simply do
PHP Code:
http://ip.of.your.pch:8883/oversight/oversight.cgi?_G=Comedy 
for Comedy items, etc, etc.

there is a macro that generates a pulldown of all the Genre's, what was it you needed?

PCH A-110
PCH A-210
PCH C-200
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 12:26 AM (This post was last modified: 07-08-2012 12:34 AM by jonny555.)
Post: #5
RE: how add new page in oversight
(07-08-2012 12:20 AM)Sproglet Wrote:  ok I'm confused.

To list all the items under a genre you can.. simply do
PHP Code:
http://ip.of.your.pch:8883/oversight/oversight.cgi?_G=Comedy 
for Comedy items, etc, etc.

there is a macro that generates a pulldown of all the Genre's, what was it you needed?
me too
i wanting genres page i need to know how to link to a say genres.template
somthing like this page
[Image: capturegenre.png]

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 01:36 AM
Post: #6
RE: how add new page in oversight
so you want to be able to pull a list of all the Genres?

You could easily have a static page like the one you have shown. It'd only be if you want it dynamic that oversight will have to have a small code addition.

Do you mean you don't know how to pull up the page or how to generate it?

PCH A-110
PCH A-210
PCH C-200
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 01:49 AM
Post: #7
RE: how add new page in oversight
(07-08-2012 01:36 AM)Sproglet Wrote:  so you want to be able to pull a list of all the Genres?

You could easily have a static page like the one you have shown. It'd only be if you want it dynamic that oversight will have to have a small code addition.

Do you mean you don't know how to pull up the page or how to generate it?

I know how to build it I don't know to select and move to the page

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 03:24 AM (This post was last modified: 07-08-2012 03:26 AM by Sproglet.)
Post: #8
RE: how add new page in oversight
create an html link to it in your template... call it genres.html or summat...
Or do you want to call it from a key on the remote?

oh right. hold on I'm being daft I think I know what you mean. you need to know the path to the file?

PCH A-110
PCH A-210
PCH C-200
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 12:12 PM
Post: #9
RE: how add new page in oversight
(07-08-2012 03:24 AM)Sproglet Wrote:  create an html link to it in your template... call it genres.html or summat...
Or do you want to call it from a key on the remote?

oh right. hold on I'm being daft I think I know what you mean. you need to know the path to the file?

got it linking like this
http://pch-c200:8883/oversight/templates/slick/any/genre.html
will this for tv aswell
i think it was late when posted this threadSleepy

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 06:44 PM
Post: #10
RE: how add new page in oversight
it was a little lateSmile

Although you should use:

PHP Code:
[:URL_BASE:]/templates/[:$ovs_skin_name:]/any/genre.html 

PCH A-110
PCH A-210
PCH C-200
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 07:23 PM
Post: #11
RE: how add new page in oversight
(07-08-2012 12:20 AM)Sproglet Wrote:  ok I'm confused.

To list all the items under a genre you can.. simply do
PHP Code:
http://ip.of.your.pch:8883/oversight/oversight.cgi?_G=Comedy 
for Comedy items, etc, etc.

there is a macro that generates a pulldown of all the Genre's, what was it you needed?

yes you're right for the syntax , how could i find the list of available genre
if i use
var genre_list = [:JS_DETAILS(fields=>GENRE):]
i get :
var genre_list = [{GENRE:"Aventure|Biographie|Drame|t"
}
,{GENRE:"Drame|t"
}
,{GENRE:"Aventure|Comedie|Famille|l"
}
,{GENRE:"a|Comedie|j"
}
,{GENRE:"Aventure|Drame|Histoire|r|Guerre"
}
,{GENRE:"j|Drame"
}
,{GENRE:"Drame|Science|Fiction|t"
}
,{GENRE:"Comedie|j|Mystère"
}
,{GENRE:"Court|Documentaire"
}
,{GENRE:"Drame|r|Guerre"
}
,{GENRE:"Drame|Guerre"
}
,{GENRE:"a|l|Aventure"
}
,{GENRE:"Comedie|Drame|r"
}
,{GENRE:"a|j|t"
}
,{GENRE:"i|a|Aventure|l|t"
}
,{GENRE:"Comedie"
}
,{GENRE:"Comedie|l|Horreur"
}
,{GENRE:"a|j|t"
}
,{GENRE:"Drame|Histoire|Guerre"
}
,{GENRE:"Drame|Horreur|t"
}
,{GENRE:"a|j|Drame|t"
}
,{GENRE:"Drame|Horreur|t"
}
,{GENRE:"a|j|Mystère|t"
}
,{GENRE:"Drame|Mystère|t"
}
,{GENRE:"a|j|t"
}
,{GENRE:"i|a|Aventure|Famille|Mystère"
}
,{GENRE:"a|Aventure|l"
}
,{GENRE:"j|Drame"
}
,{GENRE:"a|j|t"
}
,{GENRE:"j|Drame|Mystère|t"
}
,{GENRE:"j|Drame|Mystère|t"
}
,{GENRE:"a|Aventure|l"
}
,{GENRE:"a|Aventure|Science|Fiction"
}
,{GENRE:"Comedie|Drame|r"
}
,{GENRE:"i|Aventure|Comedie|Famille|l"
}
,{GENRE:"a|Science|Fiction|t"
}
,{GENRE:"a|Aventure|Science|Fiction"
}
,{GENRE:"a|Comedie|j"
}
]
;

that gives me 2 problems :
1 - some genre are with the short form (a, t, j, .....)
2 - i have to manipulate a lot the result to construct a clean list, ordered, without double

my java knowledge limit is reached
Find all posts by this user
Add Thank You Quote this message in a reply
07-08-2012, 09:37 PM (This post was last modified: 07-08-2012 10:17 PM by jonny555.)
Post: #12
RE: how add new page in oversight
[quote='jluc2808' pid='565746' dateline='1341771821']
[quote='Sproglet' pid='565648' dateline='1341703234']
ok I'm confused.

To list all the items under a genre you can.. simply do
PHP Code:
http://ip.of.your.pch:8883/oversight/oversight.cgi?_G=Comedy 
for Comedy items, etc, etc.


this the page i made up but html is having problems load time why carnt it be a template or page in oversight
[Image: capturegenres.png]

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
07-09-2012, 12:13 AM
Post: #13
RE: how to add new page in oversight
I've got an idea on how to do it but it's not working.

Looking at source now.

PCH A-110
PCH A-210
PCH C-200
Find all posts by this user
Add Thank You Quote this message in a reply
07-09-2012, 05:12 AM
Post: #14
RE: how to add new page in oversight
(07-09-2012 12:13 AM)Sproglet Wrote:  I've got an idea on how to do it but it's not working.

Looking at source now.
thanks a million

slickskin/tabskin/omj navi




Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Does oversight needs an upgrade after nzbget 11 ?? Slevin 3 352 Yesterday 12:22 PM
Last Post: baboon99
  Oversight to work with new NZBGet post processing script? mmccking 13 1,391 05-05-2013 10:06 AM
Last Post: Damester24
  Can't run Oversight after upgrading A400 pmcd 6 334 04-29-2013 09:38 AM
Last Post: pmcd
  Sabnzbd/Sickbeard Updating Oversight RXP 44 3,778 04-18-2013 04:39 PM
Last Post: espresso
  Oversight -> Eversion - r2312 - direct - alpha testing - feedback lordy 199 30,280 04-13-2013 08:31 PM
Last Post: espresso
  Oversight changes the PCH font sventamyra 0 281 04-13-2013 12:09 PM
Last Post: sventamyra
  Oversight -> Eversion: Genres not working Micki 0 448 03-28-2013 08:51 AM
Last Post: Micki
  slickskin [OVERSIGHT-gaya] jonny555 392 41,136 03-28-2013 12:58 AM
Last Post: Sproglet
  oversight - no detailed page for some films tombaz 3 569 03-20-2013 07:02 PM
Last Post: Setzer
  oversight to use the themoviedb.org vaidyasr 8 762 03-12-2013 08:49 PM
Last Post: Sproglet

Forum Jump: