23rd February 2014 at 10:34 am #2166
It’s possible to change fancy imagebar to the top of page?
Do you mean for the simpl_grey theme or for all themes?
Actually looking at the code, it can only be done for ALL themes.
The simple answer to your question is “Yes, it is possible.” However, I do not want to make this a permanent change, nor do I want to add any further configurations here. This is at present a simple transfer of JustCarmen’s add-on. I prefer to keep it that way for easier maintenance. So if you want the position to be either changed or made configurable please contact her. If she changes the original (for webtrees 1.5) I will happily change it here too.
But, if you prefer to simply modify your own copy it is very easy.
In the file /modules_V3/fancy_imagebar/module.php find this line (should be line 532):
Just change “#content” to “#header” to put the image bar at the very top, above the header area.
23rd February 2014 at 10:38 am #2167
The fancy imagebar don’t work with simpl_grey theme as you can see in my test page (http://test.jorgemota.pt).
It works fine on my test sites.
But on yours I don’t see it in any theme. Have you configured it correctly, or at all? Administration > Fancy imagebar.
26th February 2014 at 12:37 am #2247
The fancybar as I see it:
26th February 2014 at 7:05 am #2249
Firefox (Windows and Fedora)
Same problem with Chrome here.
26th February 2014 at 7:57 am #2250
OK, I can guess at the problem, but it is not a problem for me in any theme or any browser, so something unique to your site. You can confirm this at http://demo.kiwitrees.net.
The imagebar code calls it’s own style sheet (style.js) which should be adding this css to its div element for the simpl_grey theme to get this:
<div id="fancy_imagebar" style="clear:both; overflow:hidden;">
If you use Firebug to check I’m sure you will see that this css is not present in your display. You will see just
The possible causes are:
- You might need to clear your browser cache
- The file /modules_V3/fancy_imagebar/style.js might be missing or corrupt.
If neither of these help change the module settings so it displays on your “Home” page and I’ll have a look at it there.
27th February 2014 at 1:05 am #2266
I followed your advise and cleared my browser cache (in two PC), and deleted all fancybar files and copy it again from source. The problem remains the same.
My site (www.motta.pt) have your kiwitrees (2.0) now.
PS: your user stays active.
27th February 2014 at 7:55 am #2267
You have some issues with (I think) permissions on your site that are causing this problem.
Attached is what I am seeing right now at http://www.motta.pt.
At the bottom you can see the list of errors, all “403 – Forbidden”. On that page the problem is blocked access to the simpl_grey folders plus the fancy_imagebar folder under modules_v3.
If I change to perhaps the FAB theme, that displays OK, so it’s permissions are correct. But the fancy_imagebar problem remains.
27th February 2014 at 9:04 am #2271
The permissions are corrected now I think, and all works fine!
To install a new version I extract the zip file to a temporary folder and after I copy all files to the web server folder (overwriting the existent), but new folders and files permissions are not correct. I know now that I have to correct the files and folders permissions by hand.
- The topic ‘Fancy image bar’ is closed to new replies.