|
|
Customers Gamma GenoPro version: 3.1.0.1
Last Login: Thursday, November 16, 2023
Posts: 24,
Visits: 163
|
I'm nearly halfway through my GenoPro project and have begun to look into web publishing. Since I'm already pretty comfortable with Drupal, I thought I would take a stab at displaying GenoPro reports under that platform.
My very first attempts at this involved using an iframe, and I have noticed that the default skin behavior tends to escape the iframe under certain circumstances and open a new window, which I do not want.
I've read through a few related threads on this forum and although there's some interesting iframe info I would love to hear more.
On a related note, are there plans to store custom skin development on this site? I fear I may have to create my own to get this going, and would love to leverage someone else's work if possible, which of course I would credit.
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
I cannot give you advice about the iframe because I don't know how they work. Ron Prior designed and implemented the English Narrative Report.Sonnabend (1/30/2007) On a related note, are there plans to store custom skin development on this site? I fear I may have to create my own to get this going, and would love to leverage someone else's work if possible, which of course I would credit.Yes, we plan to have a mechanism for people to submit and download custom skins created by others.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 10:40 PM
Posts: 3,411,
Visits: 26,357
|
Sonnabend (1/30/2007) My very first attempts at this involved using an iframe, and I have noticed that the default skin behavior tends to escape the iframe under certain circumstances and open a new window, which I do not want.Could you give a little more detail abount 'certain circumstances'? The only time I am aware of where the default skin opens a separate window is when a user clicks on a photo. Also there are some problems with the javascript code when loaded in a iframe. The code expects the 'top' frame to be the default.htm page. This will not be the case within an iframe and the code is not designed to operate in this way. I am not familiar with Drupal - what it is you are trying to achieve by loading a GenoPro Narrative Report within a Drupal environment?
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Gamma GenoPro version: 3.1.0.1
Last Login: Thursday, November 16, 2023
Posts: 24,
Visits: 163
|
I have a few projects that are already running on that platform, some related to this one, and it seemed to be the best way to bring it all together (maintain single-sign-on for my family/friends, consistant look overall).
The only time I am aware of where the default skin opens a separate window is when a user clicks on a photo. Also there are some problems with the javascript code when loaded in a iframe. The code expects the 'top' frame to be the default.htm page. This will not be the case within an iframe and the code is not designed to operate in this way. My bad, you are right about that actually. Also the top navigation buttons, although that's not much of a challenge. And yeah, I noticed the Javascript issue and haven't yet managed to fix it.
The real show-stopper appears to be displaying Google Maps and SVG diagrams within a Drupal node. The "all places" map loads but appears to be completely grey, and the individual place links fail to trigger the map frame (this might be javascript, but I wouldn't expect the individual places to work any better than all places in this case). And SVG diagrams appeared to work, but not very elegantly in my testing.
In addition to trying to publish within a standard page node, I also loaded the GenoPro report in a Drupal Greybox module, with similar results.
If I don't resolve these issues, I may just end up styling the GenoPro report to look like my Drupal site and leave it at that.
Edited: Tuesday, January 30, 2007 by
Sonnabend
|
|
|
Customers Gamma GenoPro version: 3.1.0.1
Last Login: Thursday, November 16, 2023
Posts: 24,
Visits: 163
|
(above issue still alive and well, but close to resolution - see this thread)
Incidentally, there is a Drupal module I just noticed which has the ability to import static html content into a Drupal site, each page presumably being an individual node (story item, web page, whatever). Using this in conjunction with a GenoPro report would probably require some amount of manual intervention, but hey, it has potential for future projects should anyone really, really wish to fully integrate GenoPro reporting into a Drupal site.
Personally, I'm still sticking with the frames/iframes approach even if it's a bit of a crutch, but I'm kind of curious. I'm currently placing the GenoPro reports on a PhpGedView page (PGV site being styled to look like the Drupal site). This way, I make fewer style changes to the GenoPro reports since page header/footer is controlled by PGV (focusing on fonts, colors, buttons etc.). I could use the same approach under Drupal if I wanted to, but this approach makes more taxonomical sense. Drupal - general "umbrella" site for all of my stuff, PGV - system of record for friends & family to edit, GenoPro - nice-looking and extra-useful slicing and dicing of same data, requiring periodic imports and refreshes. In a sense I'm maintaining two and a half site designs, but so far it seems viable.
Edit: While I'm on the subject I may as well throw in a similar option. I have no idea what it would take to bring a GenoPro report into Joomla, and I have almost no interest in reviving Joomla for my own stuff, but there are some interesting possibilities to consider nevertheless, for anyone desiring to build GenoPro into a CMS that is walled together with PGV - the best of all worlds, or an administrator's/designer's nightmare? You decide: PGV-Joomla connector (instructions, example).
Edited: Sunday, February 25, 2007 by
Sonnabend
|