Page 1 of 2
NEWSLETTER AND IMAGES !! HOW TO DO? has nobody an idea!!!
Posted: Fri 5. Nov 2004, 13:09
by ptjones
I have a problem with the editor when creating a newsletter.
1st its not possible to insert an image there with a full url
2nd its not possible to create a lot of html tags there.
if I store the nl all the full urls are lost and replaced by the just the right
part of it.
eg.
http://www.domain.com/img/test/startpic.jpg is replaced by
img/test/startpic.jpg
It works fine when I use another image source i.e.
http://www.notmydomain.com/img/test/startpic.jpg
in htmlarea.
And one another question:
is it possible to create newsletter templates?
an if it works, how?
Posted: Sat 6. Nov 2004, 10:25
by Oliver Georgi
next release will have a fix for this. and templates are planned - what WYSIWYG editor do you use?
Oliver
Posted: Sat 6. Nov 2004, 11:41
by nekket
Htmlarea
Posted: Sat 6. Nov 2004, 14:28
by ptjones
I use htmlarea, and it just happens on win ie.
in this case the main problem is, that the user has a mac
with safari, and now firefox.
if I use setting number 3 (browser-based) it does not
work with firefox. and with htmlarea it doesn´t work
on ie.
that´s the problem.
latest release with all 5 patches.
Posted: Sat 6. Nov 2004, 16:18
by Oliver Georgi
onyl htmlarea is working on mac. other wysiwyg editors are not supported there.
Oliver
Htmlarea
Posted: Sat 6. Nov 2004, 17:57
by ptjones
I know, and that´s the problem.
it doesn´t work when I select browserbased editor.
then I don´t get any wysiwyg editor on firefox!
is there anything to change?
I read in an article something ´bout
settings in login.php
Posted: Sat 6. Nov 2004, 18:16
by Oliver Georgi
normally it is working if you have installed all patches.
Oliver
Posted: Sun 7. Nov 2004, 13:18
by ptjones
I believe in you, but it doesn´t work unless
I set it to htmlarea and that is really strange.

Posted: Sun 7. Nov 2004, 13:24
by Oliver Georgi
I don't understand - I thought no editor is working?
Oliver
Posted: Sun 7. Nov 2004, 13:55
by ptjones
when i use setting 1 for htmlarea, it works unless
the absolute links in win ie ( image tag as i described abobe).
if i use browser based setting , i get Spaw on ie, but
none in firefox.
Posted: Sun 7. Nov 2004, 14:35
by Oliver Georgi
ah OK, I saw:
in login.php change this
Code: Select all
case 3: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
if(!$_SESSION["wysiwyg_editor"]) {
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+")) $_SESSION["wysiwyg_editor"] = 1;
}
to
Code: Select all
case 3: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
if(!$_SESSION["wysiwyg_editor"]) {
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) $_SESSION["wysiwyg_editor"] = 1;
}
Oliver
Posted: Sun 7. Nov 2004, 17:55
by ptjones
I changed the 3 lines in login.php
Now I have the problem, that the editor in
firefox appears (htmlarea) and it works fine
with the articles, but it does not not work
with the newsletter. it opens, but its neither possible
to see anything nor to edit anything from the content.
Posted: Sun 7. Nov 2004, 19:03
by Oliver Georgi
ah yes - I remeber. This is a problem in FireFox. WYSIWYG editor is not loaded when layer is hidden.
Oliver
Posted: Sun 7. Nov 2004, 21:33
by Peekay
Oliver Georgi wrote:ah OK, I saw:
in login.php change this
Code: Select all
case 3: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
if(!$_SESSION["wysiwyg_editor"]) {
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+")) $_SESSION["wysiwyg_editor"] = 1;
}
to
Code: Select all
case 3: if($c->browser_is("ie5.5+")) $_SESSION["wysiwyg_editor"] = 4;
if(!$_SESSION["wysiwyg_editor"]) {
if($c->browser_is("mz1.3+") || $c->browser_is("ns7+") || $c->browser_is("fx")) $_SESSION["wysiwyg_editor"] = 1;
}
Oliver
Is this a bug and a fix? Do you think it would be a good idea to have a 'developer agreed bug-fix' forum for each version of PHPWCMS like they do at
http://forums.phpcoin.com
Then you can tell everyone to view the bug-fix forum first if they are having problems. If the fix is included as a patch in a new version, no problem, because the bug will not be listed in the bug-fix forum for the new version.
Still think it would be a good idea to have version-specific bug-report forums too. I have no idea whether the above applies to my version of PHPWCMS.
Posted: Mon 8. Nov 2004, 16:29
by ptjones
Strange, but it works with firefox 1.0 and not with 0.8