NEWSLETTER AND IMAGES !! HOW TO DO? has nobody an idea!!!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

NEWSLETTER AND IMAGES !! HOW TO DO? has nobody an idea!!!

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9944
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

next release will have a fix for this. and templates are planned - what WYSIWYG editor do you use?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
User avatar
nekket
Posts: 613
Joined: Tue 18. Nov 2003, 15:46
Location: Baden-Baden
Contact:

Post by nekket »

and templates are planned
:D :D :D :D :D ich sag nur Kirche...
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Htmlarea

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9944
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

onyl htmlarea is working on mac. other wysiwyg editors are not supported there.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Htmlarea

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9944
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

normally it is working if you have installed all patches.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post by ptjones »

I believe in you, but it doesn´t work unless
I set it to htmlarea and that is really strange.
:shock:
Last edited by ptjones on Sun 7. Nov 2004, 13:48, edited 1 time in total.
User avatar
Oliver Georgi
Site Admin
Posts: 9944
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

I don't understand - I thought no editor is working?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9944
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9944
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

ah yes - I remeber. This is a problem in FireFox. WYSIWYG editor is not loaded when layer is hidden.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post 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. :roll:

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.
ptjones
Posts: 29
Joined: Thu 3. Jun 2004, 16:03
Location: vienna

Post by ptjones »

Strange, but it works with firefox 1.0 and not with 0.8
Last edited by ptjones on Fri 19. Nov 2004, 17:12, edited 1 time in total.
Post Reply