Hi
I rencerlty started developing my website and want to perform a specific task :
1. I have a statis page with top and bottom remain unchange and in middle part I want to open Gallerey when user click on the Gallery link in Menu
2. Further I'm creating a submenu under Gallry menu where different albums link needs to be given. For Example under Gallery there is an Album called Landscape. So, I want to give direct link to locations album instead of opening main gallery first.
Please help in this respect to achieve the goal.
Posts: 26097
I'm not clearly understanding what you are trying to do.
There is the menu_links module and the pages module.
In your static pages you can use the media block:
http://www.flashyourweb.com/filemgmt/index.php?id=52
or better yet here is some other external examples:
http://gallery.menalto.com/node/106581
If that is not what you are after then you will will have to do a much better job explaining.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2436
I think it is much simpler - embedded gallery
@micrographics: you are regular visitor and I think you will find the answer to your question if you search these forums.
Approach I would take - customize G3 theme to look like your main site
Add extra links in the G3 menu to simulate your main site navigation
Keep G3 as standalone install (not part of your main site per se) and make main site to reference G3 and G3 to reference main site
A little bit of work, same result
As far as drop down menu with all the albums, I think there is a module which adds tree like navigation on the side, you would need to adjust it to add it as the menu instead
Serge
_____________________________________________
Photo Gallery | GreyDragon Theme | Follow on Twitter
Posts: 79
Serge / Floridave
As the main website is having static HTML pages hence I don't want to change those but want to embed the gallery into one of the pages when visitor click on one of the menu item viz. Portfolio.
As I'm not familiar with Programming and CSS part hence I need yuor help.
See the attachment and accordingly please help.
Posts: 26097
I'm with Serge on this, perhaps you need to find a theme that is close to what you are after and customize a theme to have the header and footer like on the screenshot you showed.
If you need help with that ask specific questions to get you an the right track.
If you have created that screenshot with html you should be fine.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 79
Yes, the screenshot is of HTML Page. So, can you guide me on how to get Gallery embedded ?
Posts: 26097
Sure.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 79
Thanks. Will wait for step by step instructions.
Posts: 26097
How is step by step instructions related to ask specific questions to get you an the right track?
We do this as a hobby I hope you understand?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 26097
OK step one:
Choose a theme that best reflects the color and layout you desire:
http://codex.gallery2.org/Category:Gallery_3:Themes
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 26097
Step 2 create a copy of that theme:
http://codex.gallery2.org/Gallery3:Tutorials:Themes#Creating_your_own_theme
Let us know when you got to this point.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7934
The code for my G3 RESTful example is now available.
http://www.flashyourweb.com/filemgmt/index.php?id=53
-s
Posts: 79
Floridave
I like the Serge's theme.
Posts: 26097
He has more than one.
So you have to go to step #2 now (create a copy of that theme) or go with the RESTful method like suprsidr did in this thread:
http://gallery.menalto.com/node/106431
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
Hi guys
I'm new to gallery. I'm looking to do the same thing as micrographics i.e. Gallery with my own header and footer. I've tried the following:
1. Added my header html code to the page.html.php file in my custom theme (copy of wind) - header appears but layout distorted
2. Tried to add a php include like this <?php include("header_gallery.html");?> to page.html.php - Doesn't appear at all
3. Tried creating an html page (gallery.html) with an iframe <iframe id="content" name="content" src="/gallery/index.php/" scrolling="no" width="1000" height="1400" frameborder="0"></iframe>. This works brilliantly in all browsers except Internet Explorer which displays: "This content cannot be displayed in a frame - To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
Any suggestions as to how I can this working? What is the preferred method?
Any help will be greatly appreciated.
Thanks
PS. Not trying to hijack the thread but I thought this is related to micrographics original post.
Posts: 26097
1 and 2 should work.
I bet you just go the the path wrong for #2.
remember that page.html.php has the doctype and other html that might not match what you are after.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
I got it to work. I tried option 2 (php include) again. This time I copied my gallery_header.html file into the views folder. So you were right about the path
. But it was distorted (width and alignment) same as option 1. So I edited the css stylesheet: screen.css file changing the following:
td {
border: none;
border-bottom: 0px;
padding: 0;
}
So now it's working perfectly. hopefully the changes I made didn't muck up something else required, but all seems okay for now.
Thanks for your help.
PS. Micrographics, let me know if I can assist you if you want to copy the above (and code)