| Author |
Message |
lithops06
Beginner


Joined: Sep 23, 2004 Posts: 6
|
Posted: Wed Jun 01, 2005 11:05 am Post subject: Navigation bar disappearing in phpnuke ... |
|
|
Hi,
I have just installed gallery 1.5. Standalone, it works perfectly. I just have a problem when I integrate it
in a phpnuke based site (7.7 with some NSN scripts, only in local on my computer so can't give an URL) : the
navigation bar disappears, making it impossible to come up to the album when browsing the pictures for example
...
Standalone, the navigation bar is there at every step, located at the top between the two other rows
containing the number of pictures in the album and the album page navigation and at the bottom under the album
page navigation (same as top one).
Integrated the navigation bar disappears when browsing the photos in an album (but I have access to the
different pages of the album through the album page navigation) and then when I click on a photo, the
navigation appears at the top and bottom but it is empty ... Not very useful !
Any ideas ? (The option to make this navigation bar appearing is turned on in the configuration wizard and I
have changed $index from 0 to 1 in wrapper.header.default and wrapper.footer.default to have the right
column but in both cases the navigation is not there ...).
Thanks. |
|
| Back to top |
|
|
AdBot
|
| Post subject: Navigation bar disappearing in phpnuke ... |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Wed Jun 01, 2005 11:09 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
it might be CSS related. also, make sure that all the gallery files were properly uploaded, have proper permissions, and are not corrupted. _________________
 |
|
| Back to top |
|
|
lithops06
Beginner


Joined: Sep 23, 2004 Posts: 6
|
Posted: Wed Jun 01, 2005 11:18 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
Well, would it be possible with some corrupted files somewhere to have it work standalone and not embedded ?
I have just extracted without problems the gallery-1.5.zip file (downloaded on this site without problems) on my local computer so how could I know if there are corrupted files ? |
|
| Back to top |
|
|
lithops06
Beginner


Joined: Sep 23, 2004 Posts: 6
|
Posted: Wed Jun 01, 2005 11:31 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
two more infos if it helps :
1. the [login] button next to the [slideshow] button in the top bar disappears when embedded ...
2. at the bottom left, there is Powered by Gallery v1 written (with a link on to Gallery) but it's not written 1.5 !!! But then it's written 1.5 when I get logged in as administrator (standalone of course as the [login] button is not there when embedded, see point 1 above). |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Wed Jun 01, 2005 12:19 pm Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
1. gallery when integrated uses the phpnuke login, so it's login will disappear.
2. when logged in as admin, it shows the version number, otherwise, just "gallery 1" to prevent security problems. _________________
 |
|
| Back to top |
|
|
lithops06
Beginner


Joined: Sep 23, 2004 Posts: 6
|
Posted: Thu Jun 02, 2005 2:00 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
Thanks for the infos Dari, that was strange to me, it is not any more.
I'm still trying to find why this navigation bar is disappearing ...
If anyone has/had the same problem, please post That beautiful piece of soft really worth making it work ! |
|
| Back to top |
|
|
lithops06
Beginner


Joined: Sep 23, 2004 Posts: 6
|
Posted: Mon Jun 06, 2005 4:47 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
Hi all,
I'm still trying to make that nav bar appearing. Here is what I found :
In the view_album.php file, the top navigation bar to parent album is generated by the following code (line ~472) :
Code: › <?php
$breadcrumb["top"] = true;
$breadcrumb['bottom'] = false;
if (!empty($breadcrumb["text"])) {
includeLayout('navtablemiddle.inc');
includeLayout('breadcrumb.inc');
}
And it seems that $breadcrumb["text"] is empty when gallery is integrated (no navigation bar appearing) and not empty when gallery is standalone (navigation bar appearing).
$breadcrumb["text"] is set at the beginning of the view_album.php (line ~111) :
Code: › if ($gallery->album->fields['returnto'] != 'no') {
foreach ($gallery->album->getParentAlbums() as $navAlbum) {
$breadcrumb["text"][] = $navAlbum['prefixText'] .': <a class="bread" href="'. $navAlbum['url'] . '">'.
$navAlbum['title'] . " " . $upArrowURL . "</a>";
}
}
Remark : The field returnto is set to yes in each album.dat file of each of my albums.
Any ideas why something behaves differently when embedded or standalone ? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Mon Jun 06, 2005 6:27 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
this is odd...post a bug on the gallery's sourceforge.net project page. i'm not having that problem here... _________________
 |
|
| Back to top |
|
|
dirtbag
Beginner


Joined: May 25, 2003 Posts: 15
|
Posted: Mon Nov 14, 2005 1:18 pm Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
i am having the exact same problem as the navigation does not appear? if anyone had any luck fixing please post here... i will search the boards some more see if i can find anything..
My site you can take a look but it sucks because if you click on an album you can return to where you came from
http://www.subfighter.com/modules.php?s ... _album.php _________________ Rick Estrada
http://www.subfighter.com
BJJ Techniques Wrestling Techniques Video Clips |
|
| Back to top |
|
|
dirtbag
Beginner


Joined: May 25, 2003 Posts: 15
|
Posted: Tue Nov 15, 2005 12:21 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
sorry and i am using
phpnuke 7.6
gallery 1.51 _________________ Rick Estrada
http://www.subfighter.com
BJJ Techniques Wrestling Techniques Video Clips |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Nov 15, 2005 8:10 am Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
IIRC, there was a setting for the breadcrumb navbar in the setup wizard...you might want to go through each step/tab and look carefully. _________________
 |
|
| Back to top |
|
|
dirtbag
Beginner


Joined: May 25, 2003 Posts: 15
|
Posted: Mon Mar 20, 2006 2:26 pm Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
man i just upgraded to the gallery-1.5.2-pl2.tar.gz and still the samething... there must be some conflict maybe with osc2nuke module??
anyone else have this problem... is there a way just to make a change to the code and tweak it for static Link to Display on all the pages..
i mean i went through and saw where is ask about having navigation at the top i have it checked to yes.. and i used gallery for along time...
but i think maybe something with osc2nuke module. _________________ Rick Estrada
http://www.subfighter.com
BJJ Techniques Wrestling Techniques Video Clips |
|
| Back to top |
|
|
dirtbag
Beginner


Joined: May 25, 2003 Posts: 15
|
Posted: Mon Mar 20, 2006 2:43 pm Post subject: Re: Navigation bar disappearing in phpnuke ... |
|
|
Code: › Gallery uses a PHP variable named $breadcrumb. OSCommerce uses a variable by that name as well. Hence - conflict
decided to patch up Gallery, rather than osCommerce. Here's what I did:
in the following files:
search.php
slideshow.php
slideshow_low.php
view_album.php
view_comments.php
view_photo.php
layout/breadcrumb.inc <--- note, this is in a subdirectory
replace all occurances of "$breadcrumb" with "$gal_breadcrumb"
thanks found this on the forum and it fixed the problem for me... _________________ Rick Estrada
http://www.subfighter.com
BJJ Techniques Wrestling Techniques Video Clips |
|
| Back to top |
|
|
|
|
|
|
|