Help: Have some newbie issues?

Author Message

Tore Krudtaa

Tuesday 23 December 2008 5:26:28 am

Hi.

Installed version 4.0.1 on my XP on localhost yesterday.

******************
Issue 1
******************

I have two languages installed for the frontend. English and Norwegian.
How do I set eZpublish to autodetect browser language for first time visitors?

If visitors browser has [en] (or any other english flavour) first in list of Language preference list (or similar), then I want the English language version of the site to show up first for that visitor on his first visit, if it was e.g. [no] (or any other Norwegian flavour) then show the Norwegian language version of the site.

If not possible out of the box, is there any plugin or workaround to make this work?

I have read the last reply in this thread:
http://ez.no/developer/forum/setup_design/auto_detect_language_from_browser_accept_language/re_auto_detect_language_from_browser_accept_la__1

Is the above solution how it should be done today, or is it some better way to control this behaviour from the backend, or a plugin?

*****************
Issue 1.5
****************

I want to languages on the frontend. English and Norwegian.
Is it possible to have separate content structures for the two languages?
Please direct me do online docs describing how to implement this using eZpublish?

*******************
Issue 2
*******************

I notice that doing most stuff on the backend causes very long waits from I click a button to eZpublish get done with whatever it is doing..... very very long time before data is displayed in my browser.

Any clue what can cause this.... as it is the backend is allmost useless.... because of the long response times.

That said.... userinterface looks very nice indeed... and look forward to continue evaluating this puppy, if I can issue 2 fixed that is :)

******************
Issue 3
******************

Can I use FCKeditor with eZpublish?
If so please show me a related link.

***************
Issue 4
***************

Is it possible to use Simple Machines Forum with eZpublish frontend?
If possible, the please show me a rel. link.

****************
Issue 5
*****************

I want to build some customized stuff to show in content area of a page when end-user click a menuitem.

I want then to run some custom queries against, custom database tables.... and display
the data as I want within the content area....

Would appreciate some links to tutorials and/or books about this, if it is possible...

Regards

André R.

Tuesday 23 December 2008 2:36:32 pm

1: There is not something out of the box for this, so adapt the second proposal in the other thread. The first proposal is not technically a good one, using redirects from templates is like redirecting a boat from Paris to New York over to London when it has reached the Statue of Liberty..

1.5 This is possible, but there are no on line description for it in the docs. Search for Multisite setup in the forums, this will be the same since you won't use a 1-1 relationship for eng-nor.

2. clues:
* You are using windows, Linux / Solaris / Freebsd 7 will mostly perform 4-10 times better depending on how well the setups are tweaked.
* Your on a notebook? eZ Publish is somewhat filesystem limited because of the heavy use of cache on filesystem*, witch explains most of the diff between Windows and Linux, if you're on a notebook pc with slow harddrive then the gain of using a *NIX server is a lot more.
* Are you using a php accelerator? apc is recommended for php 5.x, this will give you a 2-3 times speedup depending on your tweaks.
* Is it a old pc your running on?
* Is cache on? And all development mose is off? (this should be ok by default though)

How to set up apc, tweak apache / php / apc is better explained else where.
* eZ Publish 4.1 will include several tweaks to improve this for windows users by 2-3x, but *NIX is still ahead for the foreseeable future when it comes to php / eZ Publish performance.

3. Sure but you'll have to implement it, there is a old version somewhere in the contribution area that you can start with. It uses it's own xhtml datatype instead of the ezxml datatype, the latter already have a few ediors: Online Editor 4.x (eZ made) and Online Editor 5.x (based on TinyMCE) that are currently in rc.
http://ez.no/developer/contribs/applications/ez_oe_mce

4. Sure, but you'll have to make a connector, you can base it on the one for fluxBB used on the fedora fr sites, or switch forum and use the extensions as it is. There should also be some other connectors in the contribution area.
http://projects.ez.no/ezfluxbb

5. You need to know how to: create custom tables for specific pages (overrides, see http://ez.no/ezpublish/documentation/building_an_ez_publish_site/prerequisits), use your own php code in templates (template operator or template function, see any extesnion with template operator) and optionally work with the eZ Publish php API to reuse db connections/settings and so on(search for code that use $db = eZDb::instance() to see how it is used).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.