WYSIWYG CMS ( CMS php include ) ***UPDATED 15/10/2009***
If you have used pages in folders ( page not in the same directorie as the cms) than the path to the file is not correct.( php include in the WB page )
Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.
content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html
Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.
content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html
Its not the webbuilder page what you can edit!
This cms works with the same as the News Writer except that the news page is included with php in your WB page.
The "news.html" page is generated and uploaded in the content folder and on that page you write your content.
-If you read "Edit this page!" in the editor than everything is correct.
-Type your text ,insert your images etc and click update.
-Close the editor and renew (F5) your WB page to see the changes.
This cms works with the same as the News Writer except that the news page is included with php in your WB page.
The "news.html" page is generated and uploaded in the content folder and on that page you write your content.
-If you read "Edit this page!" in the editor than everything is correct.
-Type your text ,insert your images etc and click update.
-Close the editor and renew (F5) your WB page to see the changes.
Yes I have that structure and read /write permission are corrrect.Eddy wrote:If you have used pages in folders ( page not in the same directorie as the cms) than the path to the file is not correct.( php include in the WB page )
Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.
content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html
In the downloaded zip file is also a folder jscripts ,did you upload that folder to the same directorie as the pages what use the extension.
Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.
content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html
Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.
content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html
All the permissions fro all the folders are set to 777 or 755.Eddy wrote:Is the cms and the pages in the root directorie of your site?,if yes than the only problem I can think of are the file permissions.
Look also to the ajaxfilemanager folder permissions.
When I upload an image it is placed in the uploads folder.
But it's stil not showing up on the page.
-
Yes I already siad they are al in the root folder.Eddy wrote:Are all pages/folders in the root directorie!
1)login and open the news page in the editor
2)upload the image with the ajax file manager.
3)select the image in the filemanager to paste in the news page.(tick the box)
4)close the editor.
5)renew your webbuilder page.
I've already done the above.
I am going to empty everything and try again another time.
Re: Can´t see the Tiny mce editor
Ukra wrote:
Is there an alternative to the ftpmanager?
Ulrik
I use Filezilla (its free) jusst google it.
Look in the "page html" from the page with the extension if the path to the image is correct,if yes than it can only a permission problem.Patr100 wrote:Yes it is
I can edit/add text no problem but uploaded pics still just appear as placeholder with the red cross.
I'll try again later
-
Maybe.....in the uploaded folder are more folders for the content to upload,did you give these folders permissions.
Ok I sorted it.
Unless I was missing something the above was slightly misleading
The problem was the actual path to the image was
root/content /uploaded
when the structure was
root/uploaded
I manually moved the uploaded folder to
root/content/uploaded
and it worked.
-
Eddy wrote:If you have used pages in folders ( page not in the same directorie as the cms) than the path to the file is not correct.( php include in the WB page )
Do you have this structure on your server?
Look also to the read and write settings (755) or (777) from your folders.
content
jscripts
uploaded
login.php
webbuilder pages.html
webbuilder pages.html
webbuilder pages.html
Unless I was missing something the above was slightly misleading
The problem was the actual path to the image was
root/content /uploaded
when the structure was
root/uploaded
I manually moved the uploaded folder to
root/content/uploaded
and it worked.
-
Hmmm Good question just tried it doesn't like it.Eddy wrote:I`am happy you found the problem!
I dont know what is different on your server but it works now and thats importand.
But can you now upload images with the filemanager to the uploaded folder?
"Unable to locate the specific folder: ../../../../uploaded/"
-
Its in config.base.php , if you make changes in this file than make first a copy,I have work many hours to make all files work together and i dont know if everything wil work if you make changes in this file.
\jscripts\tiny_mce\plugins\ajaxfilemanager\inc\config.base.php
CONFIG_SYS_DEFAULT_PATH is the default folder where the files would be uploaded to and it must be a folder under the CONFIG_SYS_ROOT_PATH or the same folder these two paths accept relative path only, don't use absolute path*/ define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/');
\jscripts\tiny_mce\plugins\ajaxfilemanager\inc\config.base.php
CONFIG_SYS_DEFAULT_PATH is the default folder where the files would be uploaded to and it must be a folder under the CONFIG_SYS_ROOT_PATH or the same folder these two paths accept relative path only, don't use absolute path*/ define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/');
No,the password in the extension properties window is for the login page to the editor.
The password and login for the filemanager is in the config.base.php
I cannot make this as option in the extension properties window because these files are not in the extension.
Its not encrypted you can change the password and login in the file with notepad,or open the file in a php editor to change the names.
In a php editor the file looks like this
The password and login for the filemanager is in the config.base.php
I cannot make this as option in the extension properties window because these files are not in the extension.
Its not encrypted you can change the password and login in the file with notepad,or open the file in a php editor to change the names.
In a php editor the file looks like this
Code: Select all
<?php
/**
* sysem base config setting
* @author Logan Cai (cailongqun [at] yahoo [dot] com [dot] cn)
* @link www.phpletter.com
* @since 1/August/2007
*
*/
error_reporting(E_ALL);
//error_reporting(E_ALL ^ E_NOTICE);
//Access Control Setting
/**
* turn off => false
* by session => true
*/
define('CONFIG_ACCESS_CONTROL_MODE', false);
define("CONFIG_LOGIN_USERNAME", 'sdfgdfgdfgdgfdgsdfsdfg3454dsfb5e');
define('CONFIG_LOGIN_PASSWORD', 'ASDF@#%JHGSDFGasdkjfh3812764ksdjfbhkjxcf');
define('CONFIG_LOGIN_PAGE', 'ajax_login.php'); //the url to the login page
//SYSTEM MODE CONFIG
I know this is what I am referring to - I had it open in notepad
You mean the long random password and login - is it automatically generated ?
is it always the same unless we manually change it?
You mean the long random password and login - is it automatically generated ?
is it always the same unless we manually change it?
define('CONFIG_ACCESS_CONTROL_MODE', false);
define("CONFIG_LOGIN_USERNAME", 'sdfgdfgdfgdgfdgsdfsdfg3454dsfb5e');
define('CONFIG_LOGIN_PASSWORD', 'ASDF@#%JHGSDFGasdkjfh3812764ksdjfbhkjxcf');
define('CONFIG_LOGIN_PAGE', 'ajax_login.php'); //the url to the login page
If you enable it (Change false to 1) you have to type the password and login if you need to upload a file with the filemanager.Ok but we don't ever enter it?
When is it used?
So it's best to change it to something else anyway?
You should enable this option so nobody else can upload files to your server!
Its a php file you cannot read the file in a browser,for more information you have to ask the developer,I asume its very secure otherwise they would have changed the login for the filemanager.I assume the config.base.php file itself is not vulnerable to attack without some form of encrypted username/password ?
I have not tested if this also change the editor backgroundcolor.
I have inserted a css file to make your own styles.
Go to login.php and remove the two // and make your style in:
This code is in login.php.
Related forums.
http://tinymce.moxiecode.com/punbb/view ... hp?id=1138
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=288
I have inserted a css file to make your own styles.
Go to login.php and remove the two // and make your style in:
Code: Select all
jscripts/tiny_mce/plugins/template/css/content.css
Code: Select all
// Example content CSS (should be your site CSS)
//content_css : "jscripts/tiny_mce/plugins/template/css/content.css",
Related forums.
http://tinymce.moxiecode.com/punbb/view ... hp?id=1138
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=288
I have updated the first post in this topic with the most asked questions.
This extension works almost the same as the News Writer extension from the official download page,but the News Writer is easyer to install.
-Insert the extension on the page.
-change password etc in the properties window.
-make a textlink to the login page.
-upload the wb page ( page extension = php )
-upload with ftp the jscripts folder to the same directorie.
-change the file permissions to 777
Make sure all files and WB pages are in the same directorie!
You can use the build-in ftp to cmod the files/folders.( click explore in the publish window)
I don`t know what to explain more than this to make it work for you
This extension works almost the same as the News Writer extension from the official download page,but the News Writer is easyer to install.
-Insert the extension on the page.
-change password etc in the properties window.
-make a textlink to the login page.
-upload the wb page ( page extension = php )
-upload with ftp the jscripts folder to the same directorie.
-change the file permissions to 777
Make sure all files and WB pages are in the same directorie!
You can use the build-in ftp to cmod the files/folders.( click explore in the publish window)
I don`t know what to explain more than this to make it work for you
Maybe the server from your customer had a problem
I have lilcms v2 used but changed the php code to make it compatible with php5 and used not the same editor.
You can choose html , txt or php for the content pages.
I have inserted avi and flash video`s withoud any problem in one page. (together more than 5 mb.)
I have lilcms v2 used but changed the php code to make it compatible with php5 and used not the same editor.
You can choose html , txt or php for the content pages.
I have inserted avi and flash video`s withoud any problem in one page. (together more than 5 mb.)
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Hello Eddy,
On a page I have created 3 windows that are using the cms extension. They are working perfect. Bit moment I am adding another window of the cms extension, it is giving the following error:
The three 'Special programs' section has the cms installed but the long column you see on the right, read the error message. I initially tried the long white part in a master page and then to put on all pages but it gave the same error (by the way this site has been updated to 6.5.1)
On a page I have created 3 windows that are using the cms extension. They are working perfect. Bit moment I am adding another window of the cms extension, it is giving the following error:
Warning: include(content/adshome.html) [function.include]: failed to open stream: No such file or directory in /home2/eye/public_html/demo/index.php on line 321
Warning: include(content/adshome.html) [function.include]: failed to open stream: No such file or directory in /home2/eye/public_html/demo/index.php on line 321
Warning: include() [function.include]: Failed opening 'content/adshome.html' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/eye/public_html/demo/index.php on line 321
The three 'Special programs' section has the cms installed but the long column you see on the right, read the error message. I initially tried the long white part in a master page and then to put on all pages but it gave the same error (by the way this site has been updated to 6.5.1)
Last edited by me.prosenjeet on Sun Dec 13, 2009 9:05 pm, edited 1 time in total.
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Only objects on a masterpage are included.
This code is in page html and wil not work with masterpages.
But you can with wb 6.5 include your code in all pages with:
Menu-->Page-->site html -->beginning of body.
Example:
Or insert the include code in HTML object on the masterpage,that maybe wil also work.
This code is in page html and wil not work with masterpages.
But you can with wb 6.5 include your code in all pages with:
Menu-->Page-->site html -->beginning of body.
Example:
Code: Select all
<div id="news1" style="position:absolute;overflow:auto;left:259px;top:137px;width:255px;height:87px;z-index:0;
border:1px #A52A00 solid">
<?php include('content/news.html') ?>
</div>
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Thanks a load Eddy, I could make it work
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
First: Any reason why image upload through the script is not happening!
I tried several times. Can you help please eddy, I can give you the admin login for you to have a look.
Second: All remote hosted (tinypic) images I can use but when ever I am hyper linking them, they show a marked purple border...how we can remove that?
I tried several times. Can you help please eddy, I can give you the admin login for you to have a look.
Second: All remote hosted (tinypic) images I can use but when ever I am hyper linking them, they show a marked purple border...how we can remove that?
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Are al files/folders in the same directorie?me.prosenjeet wrote:First: Any reason why image upload through the script is not happening!
Did you see an error if u use the ajax file uploader?
Did you CMOD the folders to read and write.
Almost all problems with the file manager are answered in this topic.
Insert : border="0"Second: All remote hosted (tinypic) images I can use but when ever I am hyper linking them, they show a marked purple border...how we can remove that?
Last edited by Eddy on Mon Dec 14, 2009 2:14 am, edited 2 times in total.
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
As far as I see all the points you have mentioned I have taken care of. If you want I can post screenshot of each step I do in picture upload...or...I can give you the link with pass to check. Please give me a contact email.Eddy wrote:Are al files/folders in the same directorie?me.prosenjeet wrote:First: Any reason why image upload through the script is not happening!
Did you see an error if u use the ajax file uploader?
Did you CMOD the folders to read and write.
Almost all problems with the file manager are answered in this topic.]
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Here are the screenshots step by step
Last image has the message ' [Object Error]'..image added was a jpeg
Last image has the message ' [Object Error]'..image added was a jpeg
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
I really have no idea what that error means,i found this on another forum but it was not the same error.
Maybe it helps.
http://www.phpletter.com/
Maybe it helps.
I think the best is if you ask the developer team from the file manager.Maybe your host added mod_security and recompiled Apache.
and have to white list ajaxfilemanager to get it to work properly.
http://www.phpletter.com/
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Thanks Eddy, that worked!Insert : border="0"
For the second issue I am talking to my host to see if the problem is at their end.
Still I would insist if you had a look at the thing personally. Please mail me your email id so I may send you the details of login etc
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
If the file manager could not find the folder or files than I could help you but with this error I have no idea where to search?
But I think its a server problem otherwise more users would have posted this problem.
Please send a mail to the developer team from the file manager.
http://www.phpletter.com/
But I think its a server problem otherwise more users would have posted this problem.
Please send a mail to the developer team from the file manager.
http://www.phpletter.com/
I have just downloaded the extension and the files are there.
Download WYSIWYG CMS. (Please read the pdf !!)
http://www.mediafire.com/file/atj2o2got ... nclude.zip
Download WYSIWYG CMS. (Please read the pdf !!)
http://www.mediafire.com/file/atj2o2got ... nclude.zip
- me.prosenjeet
-
- Posts: 1265
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Eddy,
How can we change the background colour of a page in the "content" folder?
If the answer is try HTML instead of design view while editing, I am still unable to do.
How can we change the background colour of a page in the "content" folder?
If the answer is try HTML instead of design view while editing, I am still unable to do.
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com