Cant get Html block to work
andymedia
Joined: 2009-01-02
Posts: 88 |
Posted: Tue, 2012-10-23 20:06 |
HI i want to set up some pages eg about us, booking information etc so i thought about using the html block but i not sur if this is the best idea? i was wondering how do i get the html block to work. i already install the html block and set up some pages but i cant seem to get them to work. When i put the address in the toolbar it comes up with the following Forbidden You don't have permission to access /gallery2/g2data/plugins_data/modules/htmlblock/Terms_and_Conditions on this server. i was wondering how do get access and if i want to formate the text can i used normally html code? will it keep the same formate as the rest of the web site. Also is the best method? Gallery URL = http://www.crayfordmedia.com/gallery2/main.php |
|
Posts: 8339
your site seems to think gallery is at http://www.crayfordmedia.com/gallery2/main.php and http://www.crayfordmedia.com/main.php
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
i had a bit of code so when you type http://www.crayfordmedia.com it open gallery and display the gallery as http:///www.crayfordmedia.com/main.php but the folder that gallery2 is install is http://www.crayfordmedia.com/gallery2/main.php
so what do i need to do to make it work?
Posts: 8339
make sure /gallery2/g2data/plugins_data/modules/htmlblock/ is readable/writable by the webserver user try 777
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
how do i do that?
Posts: 8339
either in a ssh shell: chmod -R 0777 /home/sites/crayfordmedia.com/public_html/gallery2/g2data/plugins_data/modules/htmlblock
or by your ftp client
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
HI i was wondering how can i reinstall the html block as when i check plugin it not coming up any more
Posts: 8339
http://codex.gallery2.org/Gallery2:Modules:html#Installation
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
is the same as htmlblock as i for the files and i put them in the module folder but gallery cant pick it up. how can add this pulgin
Posts: 8339
Upload the contents the unzipped html module to your gallery2/modules/html
install via admin -> plugins -> display -> html
Edit the templates in modules/html/templates/HtmlPage.tpl , HtmlPage2.tpl, HtmlPage3.tpl add your desired html
Edit your root album -> theme tab -> blocks to show -> add the html block
I just tried and it works fine.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
what you mean by desired html?
what you mean by edit my root album?
how can i keep the same style as my page?
can i add as many pages as i like and what the best to link them from the main site?
Posts: 8339
Those templates are just shells, you need to supply the content.
head to http://www.crayfordmedia.com/gallery2/main.php and click edit album
this keeps the header/footer and just adds the middle content
This module includes 3 pages. I'm not sure how hard it is to add more.
Maybe you need to embed your gallery into a Content Management System(CMS) like Wordpress.
Here is my gallery2 embedded into Wordpress.
This allows you to add as many pages anytime as you want.
My gallery embedded in another CMS - Geeklog
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
{quote]head to http://www.crayfordmedia.com/gallery2/main.php and click edit album
where about in edit ablum do i add this?
Posts: 8339
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 88
cool i done that and it working fine thank you.
If you got the http://www.crayfordmedia.com and click on more information then my page. If you click on more information again it not displaying my page and i was wondering how to fix this?