Wednesday 03 February 2010 10:40:11 am
Hello Doug and all, thanks for the fast reply. For others, who may be interessted: The official documentation for ezflow (including the said setup guide) can be found here: http://ez.no/doc/extensions/ez_flow I had found the files in the settings and extension directory and the siteaccess was enabled. I'm currently retrying the whole installation process and will document it: 1. Download ez 4.2 and install it. During Installation, choose the site package "eZ Flow (ver. 2.0-0)", which will be downloaded to the package directory and install nicely. I chose German language and mapped the english demo content to German. I also renamed to user siteaccess name to "ger" (instead of ezflow_site or whatever was the default) 2. You will end up with a nice ezflow site. User URL is something like http://DOMAINS.TLD/ger 3. You will have a siteaccess named "iphone". Calling it with http://DOMAINS.TLD/iphone will give you a nice "An unexpected error has occurred. Please contact the webmaster." message. Great. That's what worked for me out of the box :( 4. Looking at the error.log, you'll find, that ez cannot open the DB connection. To fix that, copy the Block [DatabaseSettings] from settings/siteaccess/ezflow_site_admin/site.ini.append.php into settings/override/site.ini.append.php and reload the page. This should define the same DB connection for all siteaccesses and get rid of the "unexpected error" message. In my case, it shows me a login screen (some permission issue?). Now, log in with the admin account. 5. You will see the frontpage in the iphone template. Unfortunetly, this seems to be complety useless: I shows the names (or types) of the frontpage, but no content, and not a single link, and no image or so. You can switch to a "Non-iphone optimized site", which brings you to /ger ... that works great 6. Browsing the site using the "ger" (or ezflow) siteaccess works great... but whenever i change the siteaccess name in the URL from "ger" to "iphone", i get something like "Module not found... The requested module 'Conference' does not exist". Somebody got some idea? I made it work in some other installation by manually copying lots of INI settings from "ger" to the "iphone" siteaccess settings directory and "only" using "iphone" as the primary design. But shouldn't it work out of the box? [Edit:] Progress report: 7. To get rid of the login screen, go to your admin siteaccess and edit the "anonymous" role (http://DOMAIN/ezflow_site_admin/role/view/1). Make sure you add the siteaccess "iphone" to the user/login policy. For me, it reads "user login SiteAccess (ger, iphone)". You will probably have "ezflow_site" instead of ger 8. The missing content (in 5.+6. above) was a result of not using english language. English is the default content language, but I had no english content. So, make sure to copy the Block [RegionalSettings] along with the [DatabaseSettings] block in step 4. Please note: This will make you whole setup mono-lingual! In any case, you will need to decide on the "language" of your iphone siteaccess (or create one for each language) 9. This will make you end up with an "iphone frontpage", which now has some content, but still is pretty useless: You cannot navigate from there! But, when you navigate using the normale siteaccess and switch to "iphone" then (modify the URL!), you will get a more or less nice iphone view of your content. I think, there is a template (or templates) missing for the frontpage/it's building blocks. 10. Apart from the non-functional start page (or other "frontpage" nodes), i get an error about a missing template "tiny_image.tpl". Don't know, where this would be used. Also, the video playback in /Conference/Movies/eZ-Conference-2009-video does not work. I assume, the template is "empty" because the iphone does not support flash. So, i hope, this is of use for somebody else. I'm happy to see, that there are iphone template and most of them work. I'm very unhappy, that this seems to be one of the many "hidden features" (but praised in product news/demonstrations) of ez, that simply do not work out of the box. I'm also disappointed, that the frontpage templates seem to be missing. "iphone templates" are promoted along with ezflow... To bad, that the frontpage of any ezflow installation does not work then :( Maybe somebody can try this with a plain english setup... In many cases, this works, as the whole setup is easier.
Marco
http://www.hyperroad-design.com
|