![]() |
|
Zenpage theme options - 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: Zenpage theme options (/thread-5475.html) |
Zenpage theme options - jayray999 - 2009-07-12 Hi Acrylian. Thank you for Zenpage. I really like it and just deployed it on a website. Now I am trying to customize it and have a couple of suggestions.
These changes can be made by the individual user but then would have to be redone every time Zenphoto and hence Zenpage is upgraded.
Thanks for a great CMS integration. Zenpage theme options - jayray999 - 2009-07-12 Looks like 2. above is already an option although implemented differently. Sorry. I have one more issue.
Zenpage theme options - acrylian - 2009-07-12 FIrst thanks!
Zenpage theme options - jayray999 - 2009-07-12 [i]1. This could probably be done but I actually have no plans for that. You could take a look at the default theme as an example to make your own theme option for this though.[/i] Ok, but please keep in mind. It needn't even be WYSWYG, just drop down menus or radio buttons in the Zenpage theme options for each element. [i]2. Right that is already there..:-)[/i] But I have one problem. Maybe I am being idiotic but once I invoke the option of designating an unpublished page as index.php, there is no URL for the complete gallery. Of course I can access the individual Zenphoto albums. I tried domain.com/gallery domain.com/pages/gallery etc. No luck. What would be really nice a. If this option is invoked, the Zenphoto gallery is designated gallery.php and listed in PAGES as Gallery. b.There should also be an option to list all news items in one page and list the resultant page (blog.php?) in PAGES. c. There should be an option to switch the news section especially in light of b. d. There should be a switch for the RSS feed section. [i]3. You have to set the email address on the contact form plugin options. It's separate from the admin email.[/i] [i]4. You can also use the contact form differently and directly with a Zenpage page: Enter in to the code block #1 of a page. Then it should work that way, at least in my tests it does (the extra page sbillard had implemented and I have not tested it yet).[/i] [i]5. You have to change the function getUnprotectedImageURL()) to getProtectedImageURL() (or the like, please see the doc for the right function name). Probably has been just forgotten. [/i] This should be easy for you to include in future releases.
Zenpage theme options - acrylian - 2009-07-13
2a. The page is gallery.php in Zenpage-default and can directly be accessed by 2b. For what do you need a "blog.php" page? You get all news articles if you click on "all news". That lists all news articles on the news.php page. If you want that to be called "blog.php" you can rename that page (note you have to modify the option and the htaccess file for that!). 2c. Sorry, I don't understand what to switch? 2d. What do you want to switch? Only the feed for the current item like an album? You can easily do that yourself by checking the global variables for news or albums.
Zenpage theme options - acrylian - 2009-07-13 Some additions:
2a. This is already possible with one minor manual change:
Again, please note that this theme will never fit for the needs of anyone. If you need some special things you need to do some work yourself. Zenpage theme options - jayray999 - 2009-07-13 Thanks Acrylian. Let me try. Zenpage theme options - acrylian - 2009-07-13 Questions are of course welcome. Zenpage theme options - acrylian - 2009-07-14 FYI: I have added 2a to the theme so that "all albums" link is available if "news on index" or a "homepage" is chosen, will be available in tonight's nightly Another addition to 5. It is not possible to use the getProtectedImageURL() with the thickbox. You will have to decide either to use the protected image or the Thickbox. Zenpage theme options - jayray999 - 2009-07-16 I first tried by overwriting the Zenpage theme folder using the latest 07/15 nightly. But nothing seemed to have changed in Options>>Theme of the Admin panel. Next I edited sidebar.php and changed this line from: to: I still cannot display the gallery. Zenpage theme options - acrylian - 2009-07-16 "$allalbum" is quite senseless as this variable is only for the option built in to show the full gallery link if the news on index or the homepage is used (otherwise it is empty therefore nothing changes as "$allbums" uses the variable!). If you want to show it always you need to enter something like "Gallery link". |