My G2 is my entire site. I want to create a new page (order.php) that looks just like all the other gallery pages, except that instead of a photo or album, have content. I'm not sure if this is what htmlblock is for (I looked over the instructions, but I don't really need a block). Any ideas?
________________________________________________
NOT a "Twilight" fan... Just a fan of sunsets.
Posts: 27300
You could edit the about ( http://codex.gallery2.org/Gallery2:Modules:aboutpage ) or contact owner ( http://codex.gallery2.org/Gallery2:Modules:contactowner ) modules.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4342
You definitely want the HTMLblock module. See the module instructions:
http://codex.gallery2.org/Gallery2:Modules:htmlblock: "Display HTML pages."
That's how I use it.
Posts: 130
I'm a bit confused about HTMLBlock. I followed the instructions, and I've got it going, but I thought it would display a link in the sidebar to a new page, rather than displaying the page's content in the sidebar.
Posts: 130
To reiterate, I was looking for a separate page of its own, like order.php, to have the same template as the gallery. I can easily link the page to Gallery, that's not a problem. But I'm not looking for the content to be in a sidebar, like HTMLBlock does.
________________________________________________
NOT a "Twilight" fan... Just a fan of sunsets.
Posts: 27300
The HTML block module will do that for you but the docs for it are not complete.
The community has given the module and it was up to the community to do the docs. Seems that the users just want to take and not give back. When I get time I will see what I can do to fix the lack of community contributions.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
* install and activate the rewrite module
* install HTML block the module
* activate HTML block module
* configure the rewrite rule to allow the html block module to use the default file/%file%
* Admin -> html Block ... add a new file called test.html with some text, click: Save
* you should now be able to browse to:
** http://example.com/gallery2/file/test.html
* Now you can use the links in head module to add a link to the new file.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 130
You, Dave, are wonderful. Thank you.
________________________________________________
NOT a "Twilight" fan... Just a fan of sunsets.