ppti.info Religion Php Cms Book

PHP CMS BOOK

Thursday, May 23, 2019


Covers all the critical design issues and programming techniques in an easy-to- follow style and - Selection from PHP 5 CMS Framework Development [Book]. To be honest, that's just down to it's bloat-worthy nature, you could easily tweak Wordpress to such an extent as to remove all the possible security issues. I know . Hey guys,. Within a week's time I'll have finished the Database Foundations & PHP course. Having skimmed through the upcoming chapters I.


Author:LAWANNA OLDRIDGE
Language:English, Spanish, Dutch
Country:Russian Federation
Genre:Religion
Pages:345
Published (Last):17.09.2015
ISBN:820-7-41982-405-3
ePub File Size:30.35 MB
PDF File Size:10.38 MB
Distribution:Free* [*Regsitration Required]
Downloads:36149
Uploaded by: FERNANDA

*FREE* shipping on qualifying offers. This book takes you through the creation of a working architecture for a PHP 5-based content management system. PHP 5 CMS Framework Development - 2nd Edition [Martin Brampton] on ppti.info *FREE* shipping on qualifying offers. This book takes you through the. Later I will include books about CMS systems like WordPress, Drupal, Magento, etc., as well about PHP Frameworks, like Laravel, Symfony.

You will learn about:. The general characteristics of systems to create websites. Effective coding and object architectures to fully exploit PHP 5. A foundation for database processing to ease further development. Technical functions such as handling sessions, caches, errors, XML, mail, and files. Management of website users. Flexible, practical deployment of role based access control.

Handling extensibility beyond the basic framework. General concepts of menus without prior commitments to detail. Delivery and presentation of different kinds of user-oriented content Approach The book includes extensive discussion of the design issues, and how to overcome them in the framework. Each chapter of the book focuses on a particular requirement of the framework.

Last, but not least, our site needs a logo. Then try browsing them on the front end click the logo to return to the homepage. While this CMS is pretty basic, it has hopefully given you a starting point for building your own CMS-driven websites.

Some features you might want to add include:. Cannot send session cache limiter — headers already sent output started at C: Cannot modify header information — headers already sent by output started at C: Thanks for the reply. I removed a space below the ending php tags in the config file, but it is still throwing the same error.

When I click on site admin this is the error displayed: When I log in these are the errors that display: Your config. Not sure if your session will work then it might. Started with a fresh install and there are no errors. However sessions seem glitchy. For example after logging in I will log out and be taken to the admin homepage to add a new article, but if I click to add new article it will take me to the login form. If I click site admin without logging in I will be redirected to the admin home page again.

You can find the session folder with:. Hi, I found this really useful and easy to understand so congrats. However, when I try to click on the site admin to login I get an error message. The error message reads:. Parse error: What an awesome creation. Simple, and a fantastic learning device for designers who are new to PHP, like myself.

Thanks — the tutorial was quite a big project! Tried deploying this source code in PHP 5. I started off with the code that you originally said and found it gave the error undefined index action on line 6 twice and line 11 when I clicked on the log in button.

When I added in isset it gave me the previous error.

I tried your code which I assume was the same as in the tutorial and still get the undefined index error. A workaround is to exclude notices from your error reporting — add this to the top of your admin. Which I found on this url: Did you change the timezone after creating some articles?

If so then the articles would have been saved using the old timezone but their dates are being read using the new timezone, which might explain the difference. The next step would be to look at your MySQL table using the mysql tool or phpMyAdmin to see if the dates are in the article records or not.

Great script , one of the most useful things I could ever imagine to use outside of a forum source. So as return I came here clicked ads on purpose, and was just wondering if you thought of developing a comment page to go with, as in after the user views the article he or she could comment on it. I am currently in this very progress only on localhost though, but thanks for the source and your time sir, keep up the good work and God bless. Thanks for the suggestion.

In all honesty I hate WordPress , and cannot stand how popular it is same reason I do not own a. Just everything is so mainstream [I rather stick out] I just find if there was a basic underground script that could function as well as the giant WordPress and even got more ideas for just this script….

Optional Registration This allows user s to suggest polls always be logged in and change the theme. Thanks for your additional ideas. It sounds like you forgot to include your Vozac Article?

If you need more help with creating multiple tabs categories? Instead of January to appear Januar, and so on…. Thanks matt! Found it a bit tricky extrapolating the php. As the image not a string or an integer, what alternative do I use for PDO:: Any help is really appreciated. Then your markup would be:. The image filename is of course a string. Then I should use PDO:: So for this I used data type: Does that seem ok?

Fatal error: YES in C: Make sure the username, password, and database name in the script exactly match those in your MySQL database. Also make sure that you have created the MySQL user and password correctly, and given the user permission to read and modify your articles table.

Yes, you need to put your MySQL database name, database username, and database password in those constants. I created the database and the schema, but when I try to add the Schema into mysql I get this error message:.

First, thank for make a good tutorial for the beginner. You did great thing. So this is the point. I can retrieve the data from database and pagination the data. Here is the some problem. I got a umlimited subcategories class and it work very well. When i want to expand the functionality of your schema, the same problem came again. I have no idea how to do. What i know is: See http: Because I have same problem with other cms and do not have problem with other else such as Datalife Engine or other Popular cms.

You mean the slashes? Looks like you have magic quotes enabled — turn the feature off:. This is the case in Mozilla 4, and Google Chrome No problem! Just tested using Chrome Have you tried looking in your browser error consoles? This tutorial is of great help for me. The only problem is: This CMS swallows all umlauts, in text and in title. How to keep the umlauts? The solution is: Thanks for your solution. I forgot to allow for accented characters in the regular expression. Good catch!

The posts are in reverse date order newest first. What do you think of securing config. Could someone tell me how much of this I would have to change if I were to do the tutorial on a Windows machine? This tutorial should be recommended to anyone who wants to work with WordPress or any php-based CMS, as it is a simplified example of how such a system works. It is excellent — definitely worth the money. Everything is explained in simple to understand terms and the books covers the right amount of subjects for anyone starting out in PHP coding.

Thanks for your kind words.

PHP/MySQL CMS book recommendations?

Thanks so much for buying my PHP book and recommending it — I really appreciate it. When I post an exterior link in the content of an article, it wraps the domain with and slaps the local domain on the links as well.

Related Post: PHP CURL PDF FILE

Any suggestions? Hi Matt. Now my request. First, I soon will need to paginate by years, from y Could you help? So many thanks. Also you can check if magic quotes is actually off at runtime using http: I might write a follow-up article on pagination and other topics however. If you have specific questions on securing websites, please post a new topic here:.

Perhaps it is because I have the cms currently installed in a subfolder of a directory that is a root for a WordPress install. I used the cms with an addon domain. Is that known to cause problems? Should I host them on separate hosting accounts? Perhaps I should put them both in a separate subdirectory and point to each using an addon domain so one is not under the other.

OK matt. Same for security. Thanks again. Hi Matt, I just wanted to say that I would also appreciate if you did a piece on pagination for this cms. That was a splendiferous tutorial and works very well. Does that kind of defeat the entire purpose of the schema or does it really matter too much? Finally got around to running the magic quotes test and it returned a 1, which means they are on. Just run stripslashes on the posted content from within Article: For example not tested!

I downloaded your code and followed the tutorial but I must be missing something. Is there something else I need to do? Keep up the good work Matt! Check out http: Exactly how you do it depends on how you want the CMS to work. One common way is to have a separate image upload feature that uploads the image to an images folder, then the user adds an img tag within the article, referencing the uploaded image URL. Rich text editors such as http: Not sure I understand your second question.

You can already create and edit multiple articles using the CMS in the tutorial. I downloaded and follow this code to create a cms. But I could not use use with another cms template…. Hi, Great job. Indeed a great article. Great article, I have followed everything to the letter, but for some reason when I go to my url I get the following error….

Try adding these lines to the file:. One of which is on the homepage. Additionally, a Not Found error was encountered while trying to use an ErrorDocument to handle the request. I managed to resolve my previous issue by re-installing php. However I am now trying to create a line in the header which will use the article ID to create a menu along the top, however I have tried this…. Invalid argument supplied for foreach in apache2htdocstemplatesincludeheader. Or for more flexibility, create a constant in config.

I must admit, all those errors are due to web server error index. Thanks alot. Problem solved.

Thanks for explaining the code step by step. I have a question possibly stupid. It is possible to have the CMS displayed to the user in a website I already created? Like inside a specific div on a page instead of having its own page? What I tried was. My trouble is I am using it to take notes on my web site development lessons.

Secondly, has anyone sorted out the use of hash to mask passowords. Thanks Rog. It does this already using an HTML5 placeholder though you need to have a browser that supports placeholders. This hash is always the same for any given string. So you first hash the password you want to use, and the store the resulting hash string in a variable in config.

Then when the admin attempts to log in, you pass their supplied password through hash. It is impossible or at least very, very, very hard to work out the original plain-text password from the hash. I see what you are saying.

I will try out your solution as that does make a lot of sense. I have everything up and running, and have even restyled everything to fit in to my current site, however, when I save an article, anywhere quotations are use, I get something that looks like the following. Everytime I edit the article, more are added. It automatically breaks any link or IMG tag as well. I had a similar problem and that solved it. So I figured out the problem with the error I messed up a few links , but I am still having a difficult time figuring out why my articles are not appearing in the homepage or archive.

I checked my MySQL database and everything seems to be in there and they also appear in the listArticles page. Actually I finally figured it out, I had been directing to the wrong page. It was a very obvious mistake that took way too long to figure out. Hi, I followed your article this morning, and really enjoyed it.

Everything was so well explained.

Call to undefined function: Hi, I figured it out. But when you look at the initial summary page it says it is running PHP5. Thanks if anyone looked into this for me. Great tutorial! Understood everything, but i think there is something missing! I have just followed your marvelous tutorial and have got it working on my localhost mysql. Thank you so much for a beautifully concise and clear explanation of what is involved. I would like to be able to schedule when my articles appear on the homepage.

I believe I need to add two more fields to the cms articles table: Am I on the right track? But I am not sure how to code this. Could you or any of the other forum participants advise me on how to do this? Hi, Very nice tutorial matt. I thing about pagination the articles but for my is not so simple.

Maybe helps of course if you have a moment time. Many thanks. Great tutorial, just quickly browsed through and this is exactly what I am looking for; a simple CMS without any unnecessary clutter that is easy to style, etc.

Is there a way to post to separate pages from the backend without creating a separate CMS for each one? For example, on my webpage I would like to create a news page and then a separate page for gig dates, it would be more convenient to then be able to select which page to publish to, as opposed to having to login to separate backend pages.

The feature list

Then you can compare the 2 properties of the Article object against the value of time to determine whether to display the article or not. You have confirmed what I partially managed to figure out: I am in the process of coding the methods to be able to time the display of an article. The role of defining a class which I had not done before in php became much clearer after pondering all this. Then you could modify archive in index.

Have you named the fields in your database exactly the same as the fields specified in the Article. Have you specified the field types in your database? Thank you Matt, for this tutorial! I certainly learned a lot from this and I managed to get it al working.

My next step is to try to add an image-upload, like m4xjb. Or is it done some place else in the insert function? I would call it at the point where the article edit form submission is handled e. Now what if I want to add another property in the article, for example: Where and in which. Beyond of course the ordinary label and id in editArticle. If you want to add more properties, you will have to add an additional field for that property into your database e.

No Default: Undefined property: This was great tutorial i liked the way you build your code and also the explanation. It would be very useful to add comment page, if get the time for that.

Could you please explain what should be done, if some one want to add a comment page to the cms. That is just my imagination when adding comment class to the our cms, i think the rest of the code would look like the one of the article class.

But i have got a question, should the class Comment be child class of the article some thing like. It would really be appreciated if you try matt to explain it.

Thank you very much for your contribution. For example:. Instead, make it a stand-alone class that maps to your comments table in the DB. You can then include Comment. Or you can create methods such as Comment:: Out of interest, would you prefer a tutorial showing how to add comments directly in the CMS itself, or a tutorial that shows how to add comments using Facebook, Disqus etc?

Which do you prefer? MAtt as you have seen and read i am not the only one who asked that question. It is almost a hot topic here. Your cms is cool and nice that is why people like it. I am respecting your time constraints.

I have already tried to add comment class and i did but i think i am not doing it a neat way. This cms is great work from you respect. But if you add that comment class and as you said categories too, it would be just a complete cms news system. I would like that you add it to this cms.. The username and password I use matches perfectly with the ones I entered on the config.

How you set your usernames and passwords in mySQL and the permissions you established e. But, if you are still having a problem, I can delve into this more tomorrow. I am using myPHPadmin through Fatcow web hosting.

Please help I am at a loss. And make sure your cms configure. Still no luck. All my username and password are accurate and so is the host name url. Have you contacted Fatcow. Since you are using the phpMyAdmin through them, they should be able to tell you what is not working.

So it is definitely not a simple thing. I know you are not the only one having these difficulties. Glad you fixed the login problem. How did you solve it?

Knowing that will help other folks who might have the same difficulty. What is the code used in line 37? There is no ; in the code Li. Without seeing your whole editArticle. Thank you for best tutorial, matt. I have installed CKEditor and it shows up. However, it swallows up everything on the page. How can I prevent that. I still want to separate title, summary, content, and date fields so they can all be inputted separately for the database.

Not sure what you mean exactly. Can you post a screenshot somewhere? Sounds like you might have invalid markup, or else you need to configure CKEditor to only enhance your textarea. First, off this tutorial is great. I am not new to php but new to a project that is this advanced. I tried to alter the code to work with a project I am trying to work on, in an attempt to learn more about php.

However, whenever I try to post a new article, it says changes have been saved , while my database remains untouched. Other files have been updated accordingly. Like I said, I get no error and everything seems to be working fine. I know I missed something somewhere. I am getting frustrated as no matter what I do to try and seperate the form elements everything populates inside ckeditor. Even the page title the logged in as everything within the content area of the page populates inside the ckeditor.

I have a BIG problem here…: So why the problem is on line if we have the exact same code on line 84? But now, I cannot retrieve the data. For instance, in listArticle. Am I trying to retrieve the data right? It does sound as if you have invalid markup in your form page, which is confusing CKEditor. Also have you tried running the page source through http: It was a markup confusion.

And I tested the CKEditor and it saves the data into my database just fine; its just not pulling it and displaying it anywhere in the site. Attempt to update an Article object that does not have its ID property set.

Attempt to delete an Article object that does not have its ID property set. Hi, I solved my previous issue. I was wrongly calling listArticles.

Thanks for the tip I checked all of that again that you suggested and everything matches. I have checked and checked again all the code that retrieves data and I cannot find any errors.

Are there settings in the php. I m new to php and this is an awesome tutorial to a real world php app. Thank you mat for doing this thx alot. I cnt actually figure out where is the main object of the class Ariticle were made.. This article was amazing! Thank you Matt for your superb work.

Well written and good to learn from! I have tried to search the web for a good tutorial that I can combine whit the whole cms, but every tut I read ends up with me looking like a question mark. Or, Matt. Have you taught about maybe write a follow-up article with pagination? Note, i have modified original code. I wonder should I give that pagination code a try….

Absolutely brilliant tutorial on the CMS. It has helped bucketloads in a current project and has allowed me to completely avoid having to use WordPress, Drupal etc. I am experiencing a problem however. I can add an article, the id, summary and content are stored sucessfully in the DB. The error repeats on each input line of the form id, title, summary, content and date and in the relevant fields where one should be editing, it is spitting out the error tables in HTML format.

I have been a coding basic websites and apps for years, but I have always been worried about the security of my code its pretty unsecure! I am going to re-write a few things around this model. I would love to see more tutorials like this one. I took the time to understand how it all works, rather than just download the zip files.

Thanks for this tutorial — I look forward to hitting the forums with any questions I may have! Ok, so I think I found out what my problem is. So, my new question is this: Would a basic DB class suffice? Obviously losing some of the security that PDO gave. If so, how would that be implemented? Thanks for the tutorial, its working pretty well here…!

I am very thankfull for this…! But its not showing any effects…! I would do it slightly differently by using getList but the basic idea looks sound. Just to be clear: I remember coming across a little jQuery sample that does the latter. DOC chotikarn: OK, it sounds like you want both list page pagination and article page pagination! I do have one issue that one user kindly pointed out to me.

He mentioned that I was not capturing exception errors in my article class which in turn outputted the connection string along with the database username and password details like so:. My site is working fine and this was the first that I had heard of this error, maybe the database was under heavy load opening and closing connections? So I then changed the article class to use persistant connections. The user who pointed this out then sent me a link to the php. This back trace will likely reveal the full database connection details, including the username and password.

So how would I implement this in the public static functions that grab the articles from the database?? What do I need to rewrite in the code and where if I want my articles to be sorted by the time and date they are written, but that the newest appears on top, instead on the bottom as it is now. Is it somehow possible that I have one row in which I can upload a simple photo in the article. Then, put your Ckeditor and Ckfinder folder to your root dir and open your editarticle. Dear chotikarn, before I check this with photos, can please be more precise about my first question, sorting newest to oldest..

Wow chotikarn! This was an amazing tutorial for images, it works!! Also I would like to ask you if your thinking about doing the image upload tutorial anytime soon, if your going to do it.

Been messing around a bit with it this last weak but im having a real problem understanding the things going on in article. I already have the image upload function written, it creates the thumbs and all that. Im just having a problem implementing it with the CMS! The easiest workaround would be to add this to your index.

That will handle all exceptions, including any returned by PDO, and display a generic error message instead.

Not the most elegant solution, but it will prevent the problem you describe. The more elegant, though long-winded solution would be to add try…catch blocks to every PDO call within Article. Great tutorial. Still working from your source, and implementing some changes given by other readers. And for those who are wanting to integrate comments, I personally, prefer just to use an external service, like disqus.

Integrating there system is easy and safe. Just add the code to viewArticle. I chose to hash the username as well, and will probably add a second password. This is a single admin site, so I can stand to use multiple passwords. Not sure if also hashing the username helps at all with obscurity. To generate the hash values to place in config. I also am using sha to generate the hash, because, it seems the most secure algorithm PHP supports. Hashing the username is completely optional.

I might be overly paranoid. Forgive my lack of expertise, I am just now learning this stuff, as well. I hope this helps someone, I had a long day going thru alot of web pages to get this far.

Thank you. All my articles are being saved on the archive page. If I want a thumnail picture on the mainpage overview and the main picture in the details page, would that be much work? I started working out a way to add images and I have it working with minor bugs. Then I updated Article. Under update ; just working on this function for now , I added:. It seems to be added to the database just fine. Putting that aside, is there an easier way or am I on the right track.

Ideally, I would like the database to store the file name so that it is easier to retrieve. I tend to agree with you that Disqus etc is a nice solution and a lot easier!

I might formalise this at some point. I hope that readers can take the ideas in the tutorial and use them to build their own, more fully-featured CMS that suit their needs. Why does every iteration of software have to change the rules?

Stay ahead with the world's most comprehensive technology and business learning platform.

AdamBarry and everyone else: Code downloads also updated. Thanks for you tutorials. How do you allow multiple users? Also, is it possible for free registration and permissions for each member?

Q I saw many hosting provider provide mysql db with 1GB space and with unlimited plan you get like 1GB unlimited amount of db. As you can see the space is 1GB for each db then how can i move to another db or when the 1GB space is full. I mean do i hv to make new db and manually check for db space and if i need to make new db how do i access it cos i hav for instance two db to access data. I wondered if you could give me any suggestions on how to hide any empty image fields more difficult than hiding a text field.

I plan to address pagination in a future tutorial. See comments earlier in this topic. Autoloading will only load class files. I never store my images in a database. Just store them as image files in the folder, and store the image filenames in the database table.

You mean multiple admins? I mentioned a hack for 2 admins here: And permissions as in, some may have permission to post, while others can edit. Like that. Is it possible to produce the list of archived articles in the header, so that there is an instant access to all the articles on a sidebar while still producing results for each of the pages?

My idea is kind of basic really, its about echo out the different Article Categories to the header in links, like:. Ive tried to configuration the Index, but no success. For an example of what i mean, visit: THX 4 M! You can achieve what you want with this code. Please note that config2.

No idea without seeing all your code. The snippets you posted should work. As you said it was overriding, I would need two separate arrays for it to work in the index, so I ended up solving it by removing the article limit, and adding a loop-break clause with a limit in the homepage. Hi, I have had a good mess around with the code but have got a little stuck trying to modify….

Matt hi matt, hope u doing good. Our CMS get the news articles first. For example i published 10 articles today, date is same. But different hours and i want to see the news articles by time hour displayed at the top. As we have already got date field in our database, i wonder wheather i could modify or need another additional field which holds my timestamp.

Matt, I want people to be able to register directly using a register form. Can you do a tutorial on that? Awesome tutorial, it was really helpful especially how you went through most of the lines of the code. Im having just one issue i think. When i view the site i get this message. Im about to download the demo site to see if i can get it working that way. Also, if you havent, create the database in phpmyadmin with the.

Maybe any other idea? Thank you so much it worked. And it gives me: Well what i would do and did is to create a new config file with i called config2. You can see it working here: That did the trick. I just called in a db connection and executed the php, really good.

Thanks amillion! If someone is interested, let me know also. But if I also can add an dynamic comment field it would be darn awesome! Not sure I understand totally. Sounds like you want to have different article authors, yes? Then in index. Does anyone know how i can get the form in editArticles to have a field which had a drop down menu which is populated from a different database with a list of items?

Firstly, thanks for an amazing tutorial! I want to simply be able to make a post a primary post and want it to display first: Dude, check out the config. For Mac os, the default uname is root, and no pword. I have searched the forum and the only other example was solved by a user name and password issue. This does not appear to be my problem. Here is my config file. Please try later. I do not have any spaces at either end of the file. I set up the database and fields using the sql file provided and do not have a password for my root user.

I am too much of a newbie to know how I can go about reading the error log. Further advice would be appreciated. Depends on exactly what you want to do, but generally I would create a class that maps to your database table much like Article. Then call getAll whenever you want to display the form, and loop through the resulting objects to display your select menu. Again, there are many ways to do this.

Primary keys are for uniquely identifying database rows — you should not use them for anything else.

PHP for Beginners: Building Your First Simple CMS

While the access log is as follows; Good news is that I have sorted out my problem. Bad news is that I lost my databases in the process, but I should manage to reconstruct. Can I implement a seperate login page that is not viewable to the public, just to add another level of security. Thanks for the great tutorial! I am in the process of learning web programming mostly from books and articles I am reading online. To help me in the process, I am actually taking the time to type the code myself instead of cutting and pasting.

Everything seems to match up perfectly. Any ideas on where I am going wrong? Thanks again!!! I guess I need to look for a way to get around this and still be able to use the required parameter on the form. I thought I had it down, but whenever I try it, it just displays the epoch. Any ideas? You could bookmark the link, then remove the link from the front-end template. First off let me thank you for your wonderful, concise and clear method of teaching.

I am currently studying Networking and Administration at university and wanted to branch off and learn some PHP. I will defiantly be sharing your website around. Following on from http: Into the function Insert and update, the entire article refuses to save to the database, and transfers me back to listArticles. I have a feeling that the way I have gone about the code to move the uploaded file is incorrect. ImageID, which should then use the code in the Article class to send the image filename and location to the database field ImageId, varchar which would then be fetched, along with the rest of the article, when that article is clicked on.

What I believe and what I know though are two different things. Please and a massive thank you in advance if you could give me a hint as to what am doing wrong. Farmman64 jpkelly: Haha Kelly, im the same with the wondering. Sorry for the wait guys!

My question might not clear. You write awesome articles. Could you please show an example of the proper use of Try …. If an application exclusively uses prepared statements, the developer can be sure that no SQL injection will occur however, if other portions of the query are being built up with unescaped input, SQL injection is still possible.

Thanks for the great script, but as you directed i created the database and afters directly imported your given tables. Look in config. Hello, Thanks for your great article.

When I create a new article and set its date to be , it will be saved as and each time there is a date in the box, after saving, the date is 1 day before it!!! Did you set the correct server time zone in your config. Hi Matt, great tutorial! First i would like to thank you for taking time to write these really helpful tutorials, i learned alot. I highlighted the area i want to put some content with red color, so you can have idea what i want. I would appreciate if you tell me step by step which.

I tried it using the original code from this site too but the same thing happens. The alternative would be to create some sort of default password a potential security hole and redirect the admin to a page on first login where they could reset their password. Static content? Put it in the viewArticle. Thanks for your good tutorials! I also have a question. If I wanna post articles in Chinese by using the simple cms,how do I need to modify?

Can someone help me out on adding 2 radio buttons with 2 different sizes for thumbnails? Instead of the constant one in i config. I would also like to change the language of the months in the dates, any ideas on how to do this?

This page should get you started: You mean radio buttons for the administrator to choose thumbnail sizes, or for the user? More details needed please. Use http: Was looking at set locale before but I didnt seem to make it work with Swedish, maybe I should just do a array for it? Hi Matt, thanks for the brilliant tutorial!

Very useful. I have a question though. This allows users to search for articles using the title. Im a little stuck on how I can perform the search using your current structure as I would like the results to display on screen as normal articles like on the homepage but filtered.

Hope you or someone can help. I would modify the homepage function in index. If it exists and is non-empty, pass it as a third argument to Article:: Then modify Article:: What is the best way to perform good SEO on this setup?

I have an index page which sends me to the home. Either having index. I have uploaded it to my website, I have created the database as follows, put my correct password, username etc on the config.

And uploaded.. Please try later.. Hello everyone! Thanks for this great tutorial! I then refresh the main page of localhost , and click an article.Ngelltran and DisturbedGoW: Rich text editors such as http: This is fixed. Turns out that I was using PHP4 syntax. This is a great article and is really helping me out.

CORRIE from Utah
Also read my other posts. I have always been a very creative person and find it relaxing to indulge in gliding. I do fancy exploring ePub and PDF books busily.