I just upgraded from 4.1.5 to 4.1.7, and now the layout is completely ruined by the interactive tree. (Cloud theme)
Is there a way to fix this, like setting table with? Or even better can this gadget be deactivated? I really don't need/want it.
As this is not a module, does anyone know a hack, like deleting/commenting out this piece of code, and from which files?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The short answer is NO, there is nothing you can do within PGV's existing configurations to disable this feature. I think you are overstating a bit with 'ruined layout', but of course this is your opinion. This feature, once used, is generally well received. Removal of the tab is not terribly difficult, so a programmer familiar with this feature may comment further (Gerry?) It relates to the two files: class_menubar.php and treenav.php You may wish to play with one or both by commenting the code out (or try change the file names).
You will be able to do this with webtrees, when this software is released in August 2010, as almost every display aspect of the program is controlled via a module-like activation routine - blocks, menus, tabs and more - and it can be customized to your heart's delight. However, it is not yet stable enough to use for live production sites and there is no support for problems until it is officially released.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you,
I've been puzzeling with the individual.php, but in vain…. I just can't figure out how to define width for this interactive tree. It makes everythin float outside the screen. I should maybe go back to 4.1.5? Is this still around for download?
Anyway, thanks for pointing me to webtrees . Looks promising! I will start testing…..
Inhambane
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most likely Gerry can help you with eliminating the tab, but its pretty hard when you are using software that was released nearly one and one-half years ago. Heck, I can't remember code from January of this year.
Usually the layout of the pages is handled within the css (themes), and not the code itself (like individual.php). I'm not sure what issue you have with the Interactive Tree as mine is just that - displays dynamically within the tree window and moves up, down, left and right upon using the mouse/trackpad - just as it should. Are you using PGV within another window/program? Did you already change the code?
I would highly recommend upgrading to the SVN tarball of 4.2.3+ if your ISP can handle it (PDO-PHP-MySQL). It must, if you try webtrees, as all that is required as well. Rather than do a webtrees install, I would suggest playing with the demo online as you can get a good feeling for the program's features while not risking having to reinstall at the drop of a hat. (Last week, 3 times, but I'm not complaining - just advising).
Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks,
PGV used as standalone, no changes to original code.
Seems to be theme related problem (problem with Cluod, Minimal and default theme), and changing to other theme solved the layout problem!
Testing webtrees, I actually got the same problem when using Cloud theme.
Anyway, I'll continue testing webtrees, and guess I'll leave PGV at first stable release of webtrees
Thanks again!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just upgraded from 4.1.5 to 4.1.7, and now the layout is completely ruined by the interactive tree. (Cloud theme)
Is there a way to fix this, like setting table with? Or even better can this gadget be deactivated? I really don't need/want it.
As this is not a module, does anyone know a hack, like deleting/commenting out this piece of code, and from which files?
Thanks
The short answer is NO, there is nothing you can do within PGV's existing configurations to disable this feature. I think you are overstating a bit with 'ruined layout', but of course this is your opinion. This feature, once used, is generally well received. Removal of the tab is not terribly difficult, so a programmer familiar with this feature may comment further (Gerry?) It relates to the two files: class_menubar.php and treenav.php You may wish to play with one or both by commenting the code out (or try change the file names).
You will be able to do this with webtrees, when this software is released in August 2010, as almost every display aspect of the program is controlled via a module-like activation routine - blocks, menus, tabs and more - and it can be customized to your heart's delight. However, it is not yet stable enough to use for live production sites and there is no support for problems until it is officially released.
-Stephen
Thank you,
I've been puzzeling with the individual.php, but in vain…. I just can't figure out how to define width for this interactive tree. It makes everythin float outside the screen. I should maybe go back to 4.1.5? Is this still around for download?
Anyway, thanks for pointing me to webtrees . Looks promising! I will start testing…..
Inhambane
Most likely Gerry can help you with eliminating the tab, but its pretty hard when you are using software that was released nearly one and one-half years ago. Heck, I can't remember code from January of this year.
Usually the layout of the pages is handled within the css (themes), and not the code itself (like individual.php). I'm not sure what issue you have with the Interactive Tree as mine is just that - displays dynamically within the tree window and moves up, down, left and right upon using the mouse/trackpad - just as it should. Are you using PGV within another window/program? Did you already change the code?
I would highly recommend upgrading to the SVN tarball of 4.2.3+ if your ISP can handle it (PDO-PHP-MySQL). It must, if you try webtrees, as all that is required as well. Rather than do a webtrees install, I would suggest playing with the demo online as you can get a good feeling for the program's features while not risking having to reinstall at the drop of a hat. (Last week, 3 times, but I'm not complaining - just advising).
Stephen
Thanks,
PGV used as standalone, no changes to original code.
Seems to be theme related problem (problem with Cluod, Minimal and default theme), and changing to other theme solved the layout problem!
Testing webtrees, I actually got the same problem when using Cloud theme.
Anyway, I'll continue testing webtrees, and guess I'll leave PGV at first stable release of webtrees
Thanks again!
Inhambane
Looks like two files need a patch:
class_treenav.php LN 156
change to read:
<div id="out_<?php print $this->name; ?>" dir="ltr" style="position: relative; <?php print $widthS.$heightS; ?>text-align: center; overflow: hidden; border: 1px solid;">
and
tree.php LN: 49
Change to read:
$inav->drawViewport('treetab', "auto", "500px");
These two fixed should fix the width issue in PGV. Let me know as I've not tested it. If they do, perhaps Gerry will commit a change to SVN
Stephen
Note - LN numbers may vary, but will be in these approximate location. These fixes are already in 4.2.3//4.3-svn
..Stephen