Is there already one? An article posting engine/ plugin? You see i am using phpwebsite to run http://rssitzone.etegration.com and have written a few articles, basic computer stuffs for the students and hope to have a point of administrating all these articles. These articles will be placed in rssitzone.etegration.com/articles/ and rssitzone.etegration.com/articles/index.php should have a list of all the articles grouped into serveral categories. Currently i am following 's guide to create a blank page and copying and pasting my articles into them. It creates problem if i move the articles into the dir articles (yes i have change the path of files to include but it still does not work) it'll go bogus?!
the simple answer is: phpwebsite doesn't like subdirectories, unless you are creating a new mod.
When you include one of the php files, it will try to include other files itself, assuming they are in the same dir as the first file you included, that's why the error happens.
To solve your problem, you don't need to create pages such as winzip.php, phpWebSite has a built-in Article Engine (like you called it) go to the administration menu, under Content, and click on Topics Manager, create your topics, then go back to Admin Menu, and click on New Announcement, that's all.
phpwebsite is a Dynamic Content Management System, pages like winzip.php's content is static (the data is in the php file instead of in the database), hence it defeats the purpose of using phpws to begin with.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you talloula, i think that's the only way now and yes i agree, the page is static and not saved to the database but i was hopeing to have a seperate dir for the articles and their images. i'll just have to put all articles images in /articles/images/ or something, thank you for the reply.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if you have a url on the admin menu called HTTP Setup in the bottom of the middle column (Content)
click on HTML Setup, then make sure the <img> tag is there and its value is "tag and qualifiers"
if it's not there add it and make sure that, if it is already there but says: not allowed in user comments, edit it and change the settings.
if you don't have the HTML Setup in your admin menu, then your version is older than the one on CVS, you can probably edit the html tags manually in the older config.php file.
hope this helps
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
but it doesn't seem to be working either...i have browse the CVS for PHPWS, what do i download? How do i know what version of a particular file i have? I download everything/ the file(s) i need and repalce them on the server?
regards...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried what you did,
I have a phpwebsite that uses the sourceforge ver 8.1 (not from CVS) and i can not put images in the article.
on my other phpwebsite (from CVS) you can post images in articles no problem.
the way you edited the config.php won't work.
if the <img> tag was already there, then there's nothing you can do.
i recommend you do the following (that's what I did)
1- backup all your database, (this is very important), you can use phpmyadmin to dump all your database (STRUCTURE AND DATA) into a file, and save your file.
2-download the entire CVS of phpwebsite
3-save all your current phpwebsite files someplace else
4- overwrite your phpwebsite files with the new files from CVS
5- do an upgrade (by going to yoursite.com/setup)
you have to make sure to get ALL the files from CVS
that's what I did when I started having some problems, it's not an easy task, but it should work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oh, they seems like a heavy task to undertake and i am really new to myphpadmin, only used it once till now to get rid of the gallery mod i installed with some help from a fellow pHPWS user.
i'll see if i can get it working, thanks for all the help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oh this myphpadmin is really causing a headache, how do i do a full backup with it?
i just discovered, aftr configuring my config.php and uploading it, the file doesn't seem to be getting read...i added <img> under allowed html, uploaded it, i thought i doesn't work but i downloaded a new theme, change the theme part of config.php, the theme is not reflect at all. It stays as pindus! help!
What can i do to do a "refresh" of config.php?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there already one? An article posting engine/ plugin? You see i am using phpwebsite to run http://rssitzone.etegration.com and have written a few articles, basic computer stuffs for the students and hope to have a point of administrating all these articles. These articles will be placed in rssitzone.etegration.com/articles/ and rssitzone.etegration.com/articles/index.php should have a list of all the articles grouped into serveral categories. Currently i am following 's guide to create a blank page and copying and pasting my articles into them. It creates problem if i move the articles into the dir articles (yes i have change the path of files to include but it still does not work) it'll go bogus?!
A list of articles can be found @ http://rssitzone.etegration.com/mod.php?mod=userpage&menu=100&page_id=2 currently. Thanks for any replies.
An example of the error can be seens as http://rssitzone.etegration.com/articles/winzip.php It should look like this http://rssitzone.etegration.com/winzip.php
the simple answer is: phpwebsite doesn't like subdirectories, unless you are creating a new mod.
When you include one of the php files, it will try to include other files itself, assuming they are in the same dir as the first file you included, that's why the error happens.
To solve your problem, you don't need to create pages such as winzip.php, phpWebSite has a built-in Article Engine (like you called it) go to the administration menu, under Content, and click on Topics Manager, create your topics, then go back to Admin Menu, and click on New Announcement, that's all.
phpwebsite is a Dynamic Content Management System, pages like winzip.php's content is static (the data is in the php file instead of in the database), hence it defeats the purpose of using phpws to begin with.
Thank you talloula, i think that's the only way now and yes i agree, the page is static and not saved to the database but i was hopeing to have a seperate dir for the articles and their images. i'll just have to put all articles images in /articles/images/ or something, thank you for the reply.
The articles are being stripped of the html tags because you probably need to edit the allowed tags for phpws settings.
which version of phpwebsite are you using?
i'm using 0.8.1.1, how can i enable it?
if you have a url on the admin menu called HTTP Setup in the bottom of the middle column (Content)
click on HTML Setup, then make sure the <img> tag is there and its value is "tag and qualifiers"
if it's not there add it and make sure that, if it is already there but says: not allowed in user comments, edit it and change the settings.
if you don't have the HTML Setup in your admin menu, then your version is older than the one on CVS, you can probably edit the html tags manually in the older config.php file.
hope this helps
it sure did help, i'll go take a look at it now. Thanks!!
Eh...talloula, how can i have that adminstrative menu you're talking about, i have edited config.php to:
#######################
# ALLOWABLE HTML TAGS #
#######################
$global_tags = "<a><b><i><table><td><tr><hr><br><p><ul><li><form><input><img src>";
but it doesn't seem to be working either...i have browse the CVS for PHPWS, what do i download? How do i know what version of a particular file i have? I download everything/ the file(s) i need and repalce them on the server?
regards...
I tried what you did,
I have a phpwebsite that uses the sourceforge ver 8.1 (not from CVS) and i can not put images in the article.
on my other phpwebsite (from CVS) you can post images in articles no problem.
the way you edited the config.php won't work.
if the <img> tag was already there, then there's nothing you can do.
i recommend you do the following (that's what I did)
1- backup all your database, (this is very important), you can use phpmyadmin to dump all your database (STRUCTURE AND DATA) into a file, and save your file.
2-download the entire CVS of phpwebsite
3-save all your current phpwebsite files someplace else
4- overwrite your phpwebsite files with the new files from CVS
5- do an upgrade (by going to yoursite.com/setup)
you have to make sure to get ALL the files from CVS
that's what I did when I started having some problems, it's not an easy task, but it should work.
oh, they seems like a heavy task to undertake and i am really new to myphpadmin, only used it once till now to get rid of the gallery mod i installed with some help from a fellow pHPWS user.
i'll see if i can get it working, thanks for all the help!
care to show me your 2 websites pls...
oh this myphpadmin is really causing a headache, how do i do a full backup with it?
i just discovered, aftr configuring my config.php and uploading it, the file doesn't seem to be getting read...i added <img> under allowed html, uploaded it, i thought i doesn't work but i downloaded a new theme, change the theme part of config.php, the theme is not reflect at all. It stays as pindus! help!
What can i do to do a "refresh" of config.php?
Problem, PHPWS strips all the graphics tag that i have in announcements...i think this won't work after all?
See
http://rssitzone.etegration.com/article.php?sid=11&mode=threaded&order=0
it should look like http://rssitzone.etegration.com/bootdisk.php