How to delete a photo from a blog?
Content Management System
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Content Management SystemGo to page: « previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | next »

  Top users: 
  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:
Thursday, 25 September 2008
Text only version of web site Quentin Zervaas 08:49:34
 Hi,

Does anybody else have trouble sending to this list? Sometimes my messages
won't appear, or maybe they will but 2 or 3 days later. But if I resend them
they come through straight away. So anyway, ignore this message if it comes
through again.

Anyway...

I'm looking for anybody's feedback on implementing a "text-only" version of
a website using FarCry.

It needs to be done without having to duplicate any pages in the tree at all
(for example, you could create text only templates, then duplicate the site
but make the duplicate use the text only version).

Currently, I've implemented it as follows:

- Created a "toggletextonly.cfm­" file, which resides in the appName/www/
directory. This sets a cookie that doesn't expire, saying whether or not to
use text only version

- Modified the file farcry_core\tags\na­vajo\display.cfm to check for the
setting of the cookie and if not then display as normal, if set then check
for a webskin in the same dir with a certain prefix/suffix, and if that
exists, then use that.

To explain this further, I'll just paste the code I wrote (goes at about
line 166 in the display.cfm file):

<cfif structKeyExists(coo­kie, "use_text_only") and cookie.use_text_onl­y
eq "1">
<cfset textOnlyPrefix = "" />
<cfset textOnlySuffix = "_textonly" />

<cfif
fileExists("#applic­ation.path.webskin#/­#stObj.typename#/#te­xtOnlyPrefix##stO
bj.displayMethod##t­extOnlySuffix#.cfm")­>
<cfset stObj.displayMethod­ = textOnlyPrefix &
stObj.displayMethod­ & textOnlySuffix />
</cfif>
</cfif>

So basically, if a page was using
appName\webskin\dmH­TML\displayPageLandi­ng.cfm as the template, then look for
....\displayPageLan­ding_textonly.cfm, and use that as the display method if
it exists.

Also, I've then put a link at the bottom of each template which calls the
toggletextonly.cfm file (i.e. at the bottom of the graphical template <a
href="toggletextonl­y.cfm">Display text-only</a>, and vice-versa for the
text-only template), which will toggle the cookie then redirect back to the
same page.

To extend this a bit, the textOnlyPrefix and textOnlySuffix could be setup
to be configured within the admin section. Using the prefix means the
template probably won't display in the display methods for a file, using
only the suffix means it will... some people will want it to, some won't, so
that deals with that.

Just on a final note, I was going to use sessions to store the text-only
variable, but decided that if someone wants text-only this time, they
probably will next time (next session) too.

I realise this whole thing is a bit of hack, so if anybody has any better
ideas, please let me know. Having said that, it does work quite nicely, and
allows you to define text only template for any type in the system.

Cheers

--

Quentin Zervaas
Web Developer

MITOUSA.
Web + Interface Architects

E:// quentin-/DNu4taa9kZ­BDgjK7y7TUQ@public.g­mane.org
W:// www.mitousa.com


---
You are currently subscribed to farcry-dev as: gcf-farcry-dev@gman­e.org
To unsubscribe send a blank email to leave-farcry-dev-51­05H-VCrIQ7D8lE6uI5gG­y/GxD7pzq4S04n8Q@pub­lic.gmane.org

comment 7 answers | Add comment
Monday, 15 September 2008
updating to zms 2.11 Frank Rossi 20:48:41
 I'm in the procedure of updating some zms sites to zms 2.11.

Please post a download link for ZMS-2.11.0-01

Can't find it anywhere....

Regards
Frank Rossi
Add comment
Wednesday, 10 September 2008
onChangeObjEvt Peter Zechmeister 17:34:14
 Hi,
can anybody explain please, how to work with "onChangeObjEvt"?

Looking for a hook to call a script when some ZMS-Objects get changed, I
found "onChangeObjEvt" in ZMS Sources in _versionmanager line 395ff.
But I do not understand it in the full context.

I want to call a script if a PAGE (Rubrik, Document, spec.Obj, ...) is
changed. Can I use "onChangeObjEvt" for that?
How?

Greetings
--
Peter Zechmeister <peter.z.nogroupwis­e@gmx.at>
comment 1 answer | Add comment
Sunday, 31 August 2008
PDF files Rocky 22:13:34
 

I'm looking to use documentum to store large PDF files (some may be a
few thousand pages long). I want to be able to access these
linearized PDF files through adobe acrobat without first downloading
the whole PDF file. I know this is possible if you are using an HTTP
server, but I want to be able to access them directly from the
documentum server, is this a possibility? Has anyone done anything
like this?






comment 13 answers | Add comment
Friday, 29 August 2008
DQL exercise DUMAS RaphaГ«l 14:34:56
 Hi group,

I begin with DQL ... and my first query is hard ;-)­

I would like to give user in user interface a dropdown list of a
custom attribute.
The aim is to populate this dropdown list with folder names which
located in my_docbase_cabinet/­myfolder/
With DAB I use query type in value assistance.
I cannot put in the query my_docbase_cabinet (root) as there :
select object_name from dm_folder where folder
('my_docbase_cabine­t/myfolder')
because if the docbase name change, it does not work so far.

If I execute this query :
1- select object_id as my id from dm_folder where object_name = 'myfolder'
(in my project i am sure that myfolder will not be use as a name for
other folder. If really dangerous I can create a custom type inherited
from dm_folder...
after that :
2- select object_name from dm_folder where folder (id('myid'))

there it works but how can I construct one single query to perform
this ambitious task ?

Raphael





comment 5 answers | Add comment
Friday, 22 August 2008
LDAP server cannot be contacted Maccy 19:37:10
 
We are experiencing an issue whereby the LDAP server seems to crash
and cannot be contacted about once a week. OX services have to be
restarted in order to resume normal service. Users report that they cannot
log into their mail either via an IMAP client or the webmail interface.

The server is not particularly busy at the time of the crashes.

Here is the relevant section of the logs:

Aug 13 09:39:00 mail saslauthd[5082]: pam_ldap: ldap_starttls_s: Can't
contact LDAP server
Aug 13 09:39:00 mail saslauthd[5082]: DEBUG: auth_pam: pam_authenticate
failed: Authentication failure
Aug 13 09:39:00 mail saslauthd[5082]: do_auth : auth failure:
[user=db139a] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
Aug 13 09:39:00 mail imap[11899]: badlogin: localhost [127.0.0.1]
plaintext db139a SASL(-13): authentication failure: checkpass failed
Aug 13 09:39:00 mail PAM-warn[5066]: function=[pam_sm_acct_mgmt]
service=[imap] terminal=[<unknown>] user=[db139a] ruser=[<unknown>]
rhost=[<unknown>]

We are using OX5 build 5637 (hymalia) on a SLES9 box.

Has anyone seen this behaviour before?

Mark
comment 2 answer | Add comment
Wednesday, 6 August 2008
servlet.war Ian McKinnon 12:09:04
 In many of the instructions, there is a long list of making servlet under
tomcat/webapps and copying classes etc.. Into it from the ox directories. I
noticed there was a war file called servlet, does this take care of those
steps sufficiently?
comment 8 answers | Add comment
Monday, 4 August 2008
OXEE Auto accepting of events? Till Wimmer 18:55:25
 Hi everyone,

is there a way to automatically accept all event invitations (w/o popup)?

- t
Add comment
SiteMap Jinesh Parekh 16:31:09
 Hi

I have some dead links in the site map. I am not able to publish the
delete of those pages and they keep hanging in the list. Could anyone
suggest how should i get arround this problem. Also I want to reorder
the sitemap....is this possible?

Jinesh
From: Philippe Vollenweider <pvollenweider@jahi­a.com> >Reply-To:
<template_list@jahi­a.org> >To: <template_list@jahi­a.org> >Subject: Re:
Site Name change >Date: Wed, 30 Jun 2004 18:03:30 +0200 > >I have NO
experience with such a think but you can try to: > >1. backup all your
files + db >2. change all entries to your sitekey on your db (you can
dump the >base and directly edit the dump file then restore) >3.
rename all folders and files in tomcat/webapps using this sitekey >4.
do a search/replace in all your jahia files >(jahia/WEB-INF/var­/content) > >Try to do this, but I really don't
know the result. > >Philippe > >At 30.06.2004 17:41, you wrote: > >>Hi, >> >>I have two sites actually and I need to swap the site
names. So I >>have to move contents or change the site key if
possible. >> >>Please help >> >>Jinesh >> >> >From: Philippe
Vollenweider <pvollenweider@jahi­a.com> >> >Reply-To:
<template_list@jahi­a.org> >> >To: <template_list@jahi­a.org> >> >Subject: Re: Site Name change >> >Date: Wed, 30 Jun 2004 17:19:22
+0200 >> > >> >Hello, >> > >> >You can use this virtual site as
default virtual site if you >>don't >> >want to see the sitekey on
url. >> > >> >Philippe >> > >> >At 30.06.2004 17:15, you wrote: >> > >> >>Hi >> >> >> >>I have my URL that says ..../myjahia/...in it. I
want to change >> >>this but I understand that it is not possible to
change the site >> >>key once set. Is there any easy way where i can
create a new >> >>virtual site and transfer all the contents of my
site to the new >> >>one? >> >> >> >>Sincerley, >> >>-Jinesh >> > >> >-------=[ pvollenweider at jahia dot com ]=---------­ >> >Jahia : A
collaborative source CMS and Portal Server >> >www.jahia.org Community
and product web site >> >www.jahia.com Commercial services company >> > >> > > >-------=[ pvollenweider at jahia dot com ]=---------­ >Jahia
: A collaborative source CMS and Portal Server >www.jahia.org
Community and product web site >www.jahia.com Commercial services
company > >

comment 15 answers | Add comment
OX 5 errors Adrian von Bidder 14:52:04
 Hi,

Recently, we've started to see frequent out of memory errors in Tomcat --
see below. Usually after about 4 days running (~100 users, with about 20
to 60 sessions open simultaneously.)

This is on a OX 5 + SLES 9 system; current work around obviously is to
reboot daily, but this is not really acceptable.

Where can I look next? What parts of the configuration should I look at /
tweak?

++
Jul 10, 2008 12:36:07 PM
org.apache.tomcat.u­til.threads.ThreadPo­ol$ControlRunnable run
SEVERE: Caught exception (java.lang.OutOfMem­oryError) executing
org.apache.jk.commo­n.SocketConnection@1­479225, terminating thread
Jul 10, 2008 12:34:59 PM org.apache.coyote.t­omcat5.CoyoteAdapter­ service
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemo­ryError
Jul 10, 2008 12:35:18 PM
org.apache.tomcat.u­til.threads.ThreadPo­ol$ControlRunnable run
SEVERE: Caught exception (java.lang.OutOfMem­oryError) executing
org.apache.jk.commo­n.SocketConnection@8­6d5e2, terminating thread
++

Versions:
open-xchange-0.8.8-­14
open-xchange-adminw­eb-1.4.0-4
open-xchange-daemon­s-1.4.0-8
apache2-jakarta-tom­cat-connectors-5.0.1­9-29.8
jakarta-tomcat-5.0.­19-29.8

Any more data required?

cheers & thanks in advance
-- vbi

--
Anyone can invent a security system that he himself cannot break.
-- Schneier's Law
comment 2 answer | Add comment
Friday, 25 July 2008
New OX6 packaging Adrian von Bidder 20:00:53
 ____________________­____________________­_______
User mailing list
User@open-xchange.o­rg
http://www.open-xch­ange.org/cgi-bin/mai­lman/listinfo/user
comment 1 answer | Add comment

Add new topic:

How:  Register )
 
Login:   Password:   
Comments by: Premoderation:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Content Management SystemGo to page: « previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | next »

see also:
Looking for a good Apache2 book
Files invisible to Apache?
New e-mail address
pass tests:
A ih reakziya na tvoe poyavlenie -
see also:
Creative Zen guide: how to make best…
Enjoy your DVD and Video with the new…

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .