mmm... serious article problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
naabu
Posts: 29
Joined: Thu 12. Aug 2004, 15:08

mmm... serious article problem

Post by naabu »

i have gone to add an article and the box for adding content and corresponding images do not appear.

all the images are broken and the text box is not there.

any ideas please????
Pappnase

Post by Pappnase »

hello

did you set all permisson right!?
make a right click at the broken image an look where the path goto!
naabu
Posts: 29
Joined: Thu 12. Aug 2004, 15:08

Post by naabu »

http://moffstar.com/cms/include/inc_ext ... tb_cut.gif

that is the link...
oh, pasting that i can now see what the problem is

it has dropped the site directory - naughtycharlotte.com

so it should be

http://moffstar.com/naughtycharlotte.co ... tb_cut.gif

How do i change this so it links correctly.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Code: Select all

// other stuff
$phpwcms["wysiwyg_editor"]    = 3;        //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
In "conf.inc.php", the above line lets you choose from "several" WYSIWYG editors. People with your symptoms can usually enable HTMLarea without any additional changes.
-------------------------------
For FCKeditor, try changing this in in "/include/inc_lib/fckeditor.editor.inc.php"
FROM

Code: Select all

// The editor base path
// You have to update it with you web site configuration
$FCKeditorBasePath = "/".$phpwcms["root"]."include/inc_ext/FCKeditor/" ;
TO

Code: Select all

// The editor base path
// You have to update it with you web site configuration
$FCKeditorBasePath = $phpwcms["site"].$phpwcms["root"]."include/inc_ext/FCKeditor/" ;
For spaw, try changing this in "/include/inc_ext/spaw/config/spaw_control.config.php"
FROM

Code: Select all

// directory where spaw files are located
$spaw_dir = '/'.$phpwcms["root"].'include/inc_ext/spaw/';
TO

Code: Select all

// directory where spaw files are located
$spaw_dir = $phpwcms["site"].$phpwcms["root"].'include/inc_ext/spaw/';
naabu
Posts: 29
Joined: Thu 12. Aug 2004, 15:08

Post by naabu »

right i think that will solve my problems.

any ideas on whcih you would recommend. i would like to do some wysiwyg editing but mainly i will be cut & pasting from dreamweaver.

is there an editor which allows both html entry (code form) and preview (wysiwyg) like when you list an item on ebay. lol

i just pm you as when i looked no one had replied.....
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

You're set up for spaw... It looks like. That has two tabs, one for Preview & entry... the other for HTML view. Actually, you should TRY them each out and pick the one that meets your need. Have you made the code change that I suggested:

For spaw, try changing this in "/include/inc_ext/spaw/config/spaw_control.config.php"
FROM

Code: Select all

// directory where spaw files are located 
$spaw_dir = '/'.$phpwcms["root"].'include/inc_ext/spaw/'; 
TO

Code: Select all

// directory where spaw files are located 
$spaw_dir = $phpwcms["site"].$phpwcms["root"].'include/inc_ext/spaw/';
naabu
Posts: 29
Joined: Thu 12. Aug 2004, 15:08

Post by naabu »

DeXXus

Thanks a million. That has sorted it.

I cannot get the editor to change but I am really happy with Spaw.

Excellent.

James
Post Reply