![]() |
|
What is correct way of having news or page as index page - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: What is correct way of having news or page as index page (/thread-3965.html) |
What is correct way of having news or page as index page - rocknlnx - 2008-10-27 I love Zenphoto and Zenpage. Iys perfect for what I want to do. But Can someone please explain to me how can have eithe a Page or News to be the index/home page with the list of all gallery's/albums on the right side siderbar. No matter how I have tried to do that I can't seem to get it right. To me the whole point of having the Zenpage add-on is to be able to have a page/newes as your home/index page and then allow your guests and registered users to navigate easily through you albums. What is correct way of having news or page as index page - rocknlnx - 2008-10-27 One thing I forgot to ask is on the Zenpage tab in the backend/control panel there are 3 items 1, Page 2. Articles 3. Categories. What exactly is the categories for? How can you make use of it? And when writing an article is what is considered as news? Because there is no mention of news anywhere on the Zenpage tab? What is correct way of having news or page as index page - acrylian - 2008-10-27 To answer the last questions at first: Pages are static pages while articles are indeed the news and the categories are for the articles which is also indicated with the category selection when adding/editing a articles. Also you would have noticed by trying..:-) To get the list of the albums in the sidebar you need to enable the print_album_menu plugin. You could also turn of the "news on index" option to get the albums as with a normal Zenphoto theme. Zenpage is a addon to provide CMS like page management functionality that Zenphoto does not have by itself. That said there is no "correct way". You can of course make your own theme. How that is set up is actually just a matter of your skills. You can make your own theme of course. Please visit the user guide section on the Zenpage project site, there is also a theming tutorial. Of course further questions are welcome. What is correct way of having news or page as index page - rocknlnx - 2008-10-27 Thank you acrylian for your answer: I did however look at some of the tutorials that you mentioned and sadly they are beyond my capabilities right now. However I am taking a crash course in PHP programming shortly so I will be able to do more. But for now I just want to get my sight up and running. I could always customize it as I learn more. But it is important to me to at least for now that I can have the home page setup the way I would like. What is correct way of having news or page as index page - acrylian - 2008-10-27 I know the tutorials look a little more complicated as they are but most is actually just simple functions with paramenters and standard html. Ok I try to give a short roundup: News on the index: That is (only speaking for the zenpage default theme) an options of the plugn options that is called, well, "News on index". This will show the normal news loop like Wordpress does. Having a specific page as the start page there is this way which is quite new: Also you can throw out the news loop and the images from index.php and call a Zenpage page directly with this: "False" means that you can call an unpublished page that then does not appear in the page menu to not confuse any visitors (note the logged in admin will see all pages). I hope that will give you some hint how to do it? What is correct way of having news or page as index page - rocknlnx - 2008-10-27 Thank you that is very helpful. But I have one more problem that I can't seem to solve. The lightbox function is not working properly. When I vlick on a picture it starts, the background is dimmed and the little bar is working but when the photo is supposed to show it shows the code (just jumbled letters and numbers. I can escape and it goes back to normal page thumb view but that us it. What is correct way of having news or page as index page - acrylian - 2008-10-27 You need to set the image protection to "unprotected". These lightbox scripts don't work if it is enabled. What is correct way of having news or page as index page - rocknlnx - 2008-10-27 Thank you that fixed it |