Embedding the Carbon Theme.

Absentinsomniac

Joined: 2010-05-22
Posts: 3
Posted: Sat, 2010-05-22 03:30

I'm having some issues embedding the carbon theme into my site. The problem is the sidebar won't come out when I click on it's link, and there is no login button, only a register button.

The gallery is located here: http://www.launchpadmovement.com/gallery/gallery.php
and the original is here: http://www.launchpadmovement.com/gallery

Thanks.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2010-05-22 05:29

You have more that one element with id="sidebar"

change these:
<div id = "sidebar">
<div id = "sidebar.php">
as well as your added #sidebar style

this one makes no sense at all and probably should be removed
<div id = "sidebar.php">

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Absentinsomniac

Joined: 2010-05-22
Posts: 3
Posted: Sat, 2010-05-22 19:49

Alright, thanks that fixed the sidebar issue. <div id = "sidebar.php"> is actually a php include that brings in the links and content for the sidebar while <div id = "sidebar"> just gets the style from earlier in the page. I should probably name them differently but it works...

Also, is there a way to get a login link on the gallery/gallery.php page?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2010-05-22 21:14
Quote:
is there a way to get a login link on the gallery/gallery.php page?

There was an option in my form, but you can add:
$gallery->setConfig('login', true);
before handleRequest()

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Absentinsomniac

Joined: 2010-05-22
Posts: 3
Posted: Sat, 2010-05-22 21:56

I must of missed it or messed it up or something. Anyway, everything is working now, thanks.