Right sidebar? There's only a left sidebar. Unless you're talking about some other theme that I'm not thinking about. Wonder what theme that might be though.
In Matrix, the sidebar is on the left.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
gkazhus
Joined: 2010-08-05
Posts: 19
Posted: Fri, 2010-08-13 06:05
No not gallery2 sidebar, but themes sidebar. I'm using zen sub theme, but gallery2 admin page is too wide for me and wirh css when I make ir smaller, then it is too small for me. So I need remove themes right sidebar. As gallery2 link is index.php?...... is not working like ir needed when disable block in block section, maybe is other sollutions?
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-08-13 13:10
Ah, I didn't realize this was for an embedded Gallery. The only way I know of doing that is to access Gallery directly, which sounds like you can't do. That's probably because you have the "embed only" option set. Open config.php and edit this line to show false
$gallery->setConfig('mode.embed.only', true);
Change to this: $gallery->setConfig('mode.embed.only', false);
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
suprsidr
Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2010-08-13 13:36
Quote:
Change to this: $gallery->setConfig('mode.embed.only', false);
it should always be false, gallery fumbles some url building when that is true.
I already have it false. I dont need to hide admin panel or something else from gallery2, I need to hide drupal node right sidebar when I open gallery2 admin page. Under block section I cant hide because gallery admin page starts with index.php......
gkazhus
Joined: 2010-08-05
Posts: 19
Posted: Mon, 2010-08-16 12:26
is there some solution
suprsidr
Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-08-16 12:28
I already told you the solution.
you could also hide other page elements w/ a little javascript on admin pages:
Place it in gallery2/themes/your_theme/templates/local/theme.tpl <-you may have to copy the original here.
Just before </body>
Since you have not provided a link to your site, I cannot suggest what to replace 'my_element' with. But it would be the id of the DOM element you want to hide.
And depending on the layout you could have to adjust float, or margin... again not sure without seeing the page layout.
And if your site is using jQuery, the scripting could be simpler.
You know that's just plain stupid.
How is an image of your top secret site supposed to allow me to gleam the DOM element that YOU need help hiding?
Have fun figuring out YOUR problem by yourself. Enough of my time wasted already.
unsubscribing.
Posts: 16504
Right sidebar? There's only a left sidebar. Unless you're talking about some other theme that I'm not thinking about. Wonder what theme that might be though.
In Matrix, the sidebar is on the left.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 19
No not gallery2 sidebar, but themes sidebar. I'm using zen sub theme, but gallery2 admin page is too wide for me and wirh css when I make ir smaller, then it is too small for me. So I need remove themes right sidebar. As gallery2 link is index.php?...... is not working like ir needed when disable block in block section, maybe is other sollutions?
Posts: 16504
Ah, I didn't realize this was for an embedded Gallery. The only way I know of doing that is to access Gallery directly, which sounds like you can't do. That's probably because you have the "embed only" option set. Open config.php and edit this line to show false
$gallery->setConfig('mode.embed.only', true);
Change to this:
$gallery->setConfig('mode.embed.only', false);
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8339
it should always be false, gallery fumbles some url building when that is true.
in your theme, you can test for admin page type:
you could also hide other page elements w/ a little javascript on admin pages:
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
I already have it false. I dont need to hide admin panel or something else from gallery2, I need to hide drupal node right sidebar when I open gallery2 admin page. Under block section I cant hide because gallery admin page starts with index.php......
Posts: 19
is there some solution
Posts: 8339
I already told you the solution.
you could also hide other page elements w/ a little javascript on admin pages:
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
How do I use this script/ Im beginner ;(
Posts: 8339
Place it in gallery2/themes/your_theme/templates/local/theme.tpl <-you may have to copy the original here.
Just before </body>
Since you have not provided a link to your site, I cannot suggest what to replace 'my_element' with. But it would be the id of the DOM element you want to hide.
And depending on the layout you could have to adjust float, or margin... again not sure without seeing the page layout.
And if your site is using jQuery, the scripting could be simpler.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 19
My testpage can be seen here http://swhsets.ls.lv/
Posts: 8339
You know that's just plain stupid.
How is an image of your top secret site supposed to allow me to gleam the DOM element that YOU need help hiding?
Have fun figuring out YOUR problem by yourself. Enough of my time wasted already.
unsubscribing.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2