You are not logged in.
#1 2008-02-27 16:16:22
- superyann
- New member
- Registered: 2008-02-27
- Posts: 2
including
what is the best way to include your gallery in a existing website ?
my website is in the root and your script is in a folder.
---
thanks, (im french, sorry for my english)
i found your script very cool, It is a shame that there is no language file
Offline
2008-02-27 16:16:22
- Advert
#2 2008-02-28 12:03:58
- Shifter
- New member
- Registered: 2008-02-26
- Posts: 6
Re: including
All you have to do is take the code you find in the template file where it implements the gallery and input that into your existing website by putting it into your content area.
Here is the code that will display the gallery:
Code:
<!--Powered by Idut Gallery http://www.idut.co.uk/ --><br> <div class="logo"><###IG-TITLE###></div> <table class="canvas" align="center"><tr><td valign="top" width="150"> <###IG-MENU###> </td><td valign="top" align="center"> <###IG-MAIN###> </td></tr></table><br/> <center> <###IG-POWERED###> </center> <!--Powered by Idut Gallery http://www.idut.co.uk/ -->
Basically make a new page based off your existing website, and then remove the content portion and paste that into it instead.
Save this as a template and then tell the gallery to use this template in the admin area under Templates.
Also you can modify the CSS file and the index.php to modify the look more.
Hope this helps?
Last edited by Shifter (2008-02-28 12:05:42)
Offline
#3 2008-02-28 16:24:12
- superyann
- New member
- Registered: 2008-02-27
- Posts: 2
Re: including
dont work : http://www.nymphographiste.com/index-fckeditor.php
There is surely a place where you must write the name of the folder in which I put the script
Offline
#4 2008-02-28 17:45:49
- Shifter
- New member
- Registered: 2008-02-26
- Posts: 6
Re: including
I don't think you are doing it quite right.
You need to set this up as a template in the admin control panel. Then when you go to index.php in the gallery folder it will read the template.
It's hard to explain in writing. I could help you do it if I had access to your server and such but I don't know if you'd trust someone you don't know. Maybe you can contact me on Yahoo IM or something and I can help you through the process.
Sorry if I'm not making sense, very hard to explain for me..Im more of a do it person than a talk about it...
I see that you have your gallery setup under /idutgallery the default.
What you need to do is take your "index-fckeditor.php" file, save it in the idutgallery folder as for instance mytemplate.php. Go into the admin by going to:
http://www.nymphographiste.com/idutgallery/admin.php and click on templates.
Where it says template, put mytemplate.php
Now to access the gallery go to http://www.nymphographiste.com/idutgallery/
If you want to integrate the gallery into your main page instead..you will have to go about it a different way. Start with this though and see if it works for you?
I will be on Yahoo IM in a bit if you want to try to talk to me there? newyears1978@yahoo.com
Last edited by Shifter (2008-02-28 17:55:46)
Offline
