yes hi, i'm currently new to zenphoto and am implementing my first gallery (which is going great) but:
when i manually type the location of my gallery in my web browser everything comes up fine, but when i insert a link to the gallery from my main website and click it, i get a 404.
now also, i can't get a link to go back to my main website on my gallery (im using the "zpMibile" theme) part of me thinks some kind of .php edit might be required to implement my own link (like on the bottom of every page on the gallery)...any tips on this?
third: i have commenting enabled but no such features seem to be on the gallery, just basic image opening with nada underneath.
so...can you help me out?
Comments
You would have to edit the theme's `functions.php` and there the function `jqm_printMainHeaderNav()`to include such a link using the template function `getMainSiteURL()`.
The theme is quite special as it is based on the jquerymobile framework which requires following some of its guidelines.
Please best read also the the theming tutorial before starting to edit a theme:
http://www.zenphoto.org/news/theming-tutorial/ You need to enable the comment_form plugin to actually get comments.
the link to the website is: http://somethingiswrong.us
the link to the gallery is: http://somethingiswrong.us/visual
(EDIT: confirmed my url to the gallery matches above and it DOES, yet still gets a 404...yet, it links correctly at the link above!?)
GOT the comments working!
now about the custom navigation, editing the themes function.php, i inserted "getMainSiteURL()" directly after jqm_printMainHeaderNav() messed everything up (reverted), noticed it was referring to a specific navigation "gallery" and "archive"? i believe. noticed the function a little lower "getMainSiteURL()"...but don't know what to do with it, put my url between the ()'s??
THANK YOU
`getMainSiteURL()` just gets the url and needs of course to be used with a proper link elemenet like `">Main site`. And it of course needs to be added within `jqm_printMainHeaderNav()` as it otherwise of course messes up everything. That function generates the buttons in the head of the them and there you want that button, too.
You might also want to look at https://jquerymobile.com for details about the framework used in case you want to do more changes.
now
trailing slash didn't work though, now i just left the url bare (without linking) on the site and the visitor has to now copy the link oneself, oh well i guess, gets them there!
and i don't think i can grasp the functions and customizing aspect in getting my custom home link on the gallery...unfortunately. is there another theme that is mobile optimized that you can think of that supports a home button?
(though i'm really enjoying the zpMibile!)
not wanting to keep you busy (being fantastic) with this anymore as you have already
i'll be looking up on themes from here out
tata!
Sorry about your problems wiht customisation. But sadly some knowledge in HTML and at least basics in PHP will be needed.