Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:08 pm EST

Geeklog Forums

RC1: Gallery integration broken


Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
The gallery integration seems to be broken by RC1. It looks like it just doesn't produce the header part of the pages.

Cry

geKow
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Find the call to COM_siteHeader in the Gallery integration files and put an "echo" in front of it. That should fix it.

bye, Dirk
 Quote

Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Bingo! That fixed it for me too.

To clarify, you need to find the call to "COM_siteHeader();" in path/to/gallery/html_wrap/wrapper.header.default and change it to "echo COM_siteHeader();".

R.
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
Thanks a lot! Smile

geKow
 Quote

Status: offline

frawo

Forum User
Junior
Registered: 10/09/02
Posts: 29
Hi
I tried the echo variant, but no help. Gallery is still outside GeekLog.
I read all postings, and tried my best. But no luck..

www.faunogfiskarlaget.net
...what, me?
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
You selected the Geeklog integration option during the gallery setup?

geKow
 Quote

Status: offline

frawo

Forum User
Junior
Registered: 10/09/02
Posts: 29
Quote by geKow: You selected the Geeklog integration option during the gallery setup?

geKow


Yes. And the config file says it too

Frawo
...what, me?
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
And you changed/checked the wrapper.header.default ?

The end should look like this:
Text Formatted Code
        case 'GeekLog':
                /*
                ** Display header and left blocks
                */
                echo COM_siteHeader( none );
        break;

        }
}
?>
 
 Quote

Status: offline

frawo

Forum User
Junior
Registered: 10/09/02
Posts: 29
Hi

yes, changed just the same..did it again...no luck...tried new installation...no luck.
but then I changed the wrapper.header and wrote GeekLog with big G end L instead of all small letters (as original). And voila..

thank you very much..
...what, me?
 Quote

Tampano

Anonymous
Quote by geKow: And you changed/checked the wrapper.header.default ?

The end should look like this:
Text Formatted Code
        case 'GeekLog':
                /*
                ** Display header and left blocks
                */
                echo COM_siteHeader( none );
        break;

        }
}
?>

 



I have this in wrapper.header:


global $GALLERY_EMBEDDED_INSIDE;

if ($GALLERY_EMBEDDED_INSIDE == 'geeklog') {
/* Display header and left blocks */
echo COM_siteHeader();
}

?>
If I let "geeklog" all lowercase I can access to "localhost/gallery". If I write "GeekLog" everything seems broken (no classic geeklog layout).

The only thing I cannot understand is that I don't know how to see some gallery-related links in my main gl site at "localhost/geeklog/public_html" (i'm testing locally.

During the setup process I choose the two embed "mod" options for integrating Gallery in GL...and now I don't know what to do
 Quote

All times are EST. The time is now 08:08 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content