[Isis-users] problem with htlm editor

De Smet Egbert egbert.desmet at uantwerpen.be
Tue Dec 2 22:31:21 CET 2014


Alisson,

I don't have this, as can be seen from the new (in v1.4) demo-database 'experts' (and 'projects'), which has as its main field the 'description' field, which is an HTML-area. In there you can see a link form my records (as an 'expert') to the website of my course Lib at Web.
However, and maybe this explains the problem you have, I created the link using the dedicated tool in the toolbox of the HTML-area editor (FCKeditor.js).
I suppose when you 'pasted' the text with HTML-code from e.g. Word, you didn't do that with your HTML-editor in 'source'-modus ? I tested this and if in source-modus the <a href> was preserved after serving the record.

Egbert de Smet
Universiteit Antwerpen
________________________________
From: Webmaster [webmaster at modalnetworks.com]
Sent: Tuesday, December 02, 2014 12:29 PM
To: De Smet Egbert
Cc: ISIS Users List
Subject: problem with htlm editor

hi Egbert,

we are experiencing same problems with html editor , when I want edit the field area and in this field we haver html link.
when we write(save) the html editor clean then a href tags.

what you know about this?
best regards,
Alisson


Enviada do meu iPad

Em 02/12/2014, às 08:03, De Smet Egbert <egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>> escreveu:

Let me explain how in the patrons (users) database the picture is shown, without the use of the 'show_image.php' script as an alternative :

1. I created an 'Alias' in Apache virtual host configuration for ABCD (actually by copying/editing the example of ScriptAlias in the existing configuration httpd-vhosts-abcd.conf) :
Alias /docs/ "/ABCD/www/bases/"
 <Directory "/ABCD/www/bases/">
 AllowOverride None
 Options None
 Order allow,deny
  Allow from all
 </Directory>
2. After restarting Apache, now it will substitute all occurrences of '/docs/' in the URL by the full path as defined : /ABCD/www/bases/.
3. So in the PFT now you only have to refer to the pictures by putting '/docs/' followed by the database-name (users) and then the repository subfolder-name, followed finally by the actual name of the picture (which is taken from v620
Thus the PFT becomes :
'<img src="/docs/users/dr/'v620'"</img>'
where the path for the image will actually be /ABCD/www/bases/users/dr/.
So you have to put the pictures there.
It is outside the Apache DocumentRoot (or domain), but by creating the Alias it can still work (as that is the purpose of Aliases).

I hope this clarifies things and allows you to solve the problem.

Egbert de Smet
Universiteit Antwerpen
________________________________
From: isis-users [isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org<mailto:isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org>] on behalf of De Smet Egbert [egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>]
Sent: Tuesday, December 02, 2014 10:28 AM
To: bhowa tg; ISIS Users List
Subject: Re: [Isis-users] Photo/Image display

Hi,

the obvious answer is another question : where are your pictures stored ?
There are two options here :
- either you store in /ABCD/www/htdocs/bases/[yourdb], so this is the 'DocumentRoot' (of Apache) followed by the 'bases' folder and in there the subfolder named with your database-name
- or you define in the main database-folder for your database (e.g. /ABCD/www/bases/[yourdb])  a file named 'dr_path.def' (for 'digital repository path definition') in which you put the path where you want your 'repository' to be, which then can also be outside the DocumentRoot, e.g. your bases-folder itself.
You will see an example of this for the CEPAL (biblo) demo-database.

Egbert de Smet
Universiteit Antwerpen
________________________________
From: isis-users [isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org<mailto:isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org>] on behalf of bhowa tg [bhowatg at gmail.com<mailto:bhowatg at gmail.com>]
Sent: Tuesday, December 02, 2014 10:02 AM
To: ISIS Users List
Subject: [Isis-users] Photo/Image display

Colleagues'

in my display format is not showing the photo/picture.. format am using is this

'<td rowspan=21 valign=top width=150><img src=../common/show_image.php?image='v60'&base=photos></td>'

sos

--

bhowa tg
Infoprenuer, abcdZim.org<http://abcdZim.org>
bhowatg at gmail.com<mailto:bhowatg at gmail.com>  IM & skypeID:  bhowatg
blog: http://bhowatg.blogspot.com
http://facebook.com/groups/abcdzim/; http://twitter.com/bhowatg
www.abcdZim.co.cc<http://www.abcdZim.co.cc>


"there are two equally dangerous extremes-
to shut reason out and to let nothing else in"
                                     Pascal, 1670


_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20141202/1fe9c0e8/attachment.html>


More information about the isis-users mailing list