Results 1 to 4 of 4

Thread: How to Handle Content Management system in Drupal + PHP

  1. #1
    Join Date
    Feb 2009
    Posts
    105

    How to Handle Content Management system in Drupal + PHP

    I have installed and tested Drupal and PHP to no avail.

    I dislike the normally phenomenal ability to customize every detail of your content system, but for what I need it's too bulky, too complicated, and not nearly flexible enough for my novice programming skills.

    What I am looking for is simplicity and something I can implement with a website that is already developed. The website has less than 30 pages and only a few are ones that have dynamic content.

    I need a system that will allow multiple user logins and will direct a content writer to a simple WYSIWYG editor that then posts the updated content to the proper areas.

    I don't think I need a full on CMS, just some relatively basic scripts.

    I have database access, but would rather use flat files if able.

    What do you have for me?

    Thanks-a-million!

    More details:


    There are six total content writers and the site is set up kind of strangely. There is a mainpage at whatever.com that visitors see, articles, about us, bio's, etc.

    There is a login script running that the writers go to and once logged in it grants them access to a directory that is a mirror of the public site, from here I want them to be able to go somewhere, copy/paste text and somehow make that text post to the corresponding page on the public site.

    Thanks again!

  2. #2
    Join Date
    Dec 2008
    Posts
    202

    Re: How to Handle Content Management system in Drupal + PHP

    A Content Management System is used to handle website content which can include text, images, audio, video etc. A CMS allows you to create a website without having any prior knowledge of programming.

    Install IIS on your computer system if you are using open source for your development.
    It is pivotal as the CMS tools we are using contain pages created in PHP.
    And as Drupal is Open Source it is available free for download.

    As per you have mentioned that your website has Less than 30 pages and still you want customization then you need to take the add-ons from drupal, otherwise you can make use of basic features of Drupal.

  3. #3
    Join Date
    Mar 2008
    Posts
    192

    Re: How to Handle Content Management system in Drupal + PHP

    Writing your own CMS can lead to a solution that is better suited to your requirements, better addresses the needs of your users, and is better understood by your development team. If you have the time and expertise to write your own in-house system, it may well prove the better option.

    1. plan for the CMS, and a look at PHP and the concept of object-oriented programming.
    2. takes a look at the basic PHP code that will power the CMS.
    3. examines the creation of the database and the database connector.
    4. explores validation, and the creation of a validator class and the creation of sections for the content that needs to be managed.
    5. Create security to the content management system, and shows how to create a system that is accessible only to those with authorization to access it. It also takes a look at creating a log-in for users.
    6. Apply layouts for the content, templating systems, and talks about possible add-ons and features that can enhance your PHP-based content management system.

  4. #4
    sayed Guest

    Re: How to Handle Content Management system in Drupal + PHP

    How to Install Drupal

    - The file will be packaged in an archive with the extension ".tar.gz". To extract the files from the archive, you need an archiver that can handle tar archives. If your system does not have such an archiver, as may be the case if you use Windows, get one from the Free Archivers page and install it. Then use it to extract the files to a directory (that is, folder) on your computer.
    - Upload all the files to your web server. If you want your blog to be displayed the moment your visitors type your domain name, put the files in your main web directory. For many hosts, the main web directory is named "public_html" or "www". This tutorial will assume that you have placed the files in that folder. There are advantages and disadvantages to either choice, that is, to installing Drupal in the main folder vs setting it up in a sub-folder.
    - Create a database for Drupal using whatever method your web host has provided to you. For most web hosts, this involves logging in to your website's control panel and creating a database from there. The database name and your user name can be anything you like. Record (eg on a piece of paper) the name of your database, your user name and your password. If the control panel or other documentation tells you how you should connect to your database, write that down as well. For example, some web hosts tell you that your software should just connect to "localhost". Others give you a specific hostname like "mysql.example.com". Whatever it is, note it down.

    Caution: some web hosts modify the user name that you specify by giving it a prefix. For example, if you specified a user name of "example", they may change it to "youraccountname_example". They may also do this with the database name that you give. When you have finished creating the database, note carefully the names that are displayed by the control panel - they may not be exactly the names you specified. Record these provided names instead. They will be the ones you need to use later.
    - Now use your browser and connect to your site. If you installed the CMS software into your main web directory, simply typing your domain name, for example "http://www.example.com", into your browser should do the trick. If you installed it in a subdirectory, you will have to type "http://www.example.com/subdirectory-name-where-you-installed-Drupal".

    You will be presented with a screen that asks for the following information:
    1. Database type: leave it selected at mysql unless you know otherwise.
    2. Database name: enter the name of the database that you set up earlier.
    3. Database username: enter the user name that you created (or was given to you) earlier.
    4. Database password: enter the password you set in the previous step.
    5. Advanced options: click this link to expand the advanced options. If your database hostname is not "localhost", enter the correct hostname into the "Database host". For example, if your hostname is "mysql.example.com", enter the latter here. Do not enter things like "http://" or anything like that. If you were told that you need to enter a database port, enter it in the "Database port" field, otherwise leave it blank.

    You can leave the "Table prefix" blank, unless you have 2 or more Drupal installations using the same database. In this case, enter a different prefix for the table for each site here. For example, if you are using the same database for mysite.example.com and othersite.example.com, enter "mysite" (without the quotes) for Table prefix for your first site, and "othersite" (without the quotes) as the table prefix for the second site. Otherwise, both Drupal installations will use the same table for their data, and your posts for one site will show up on the other site as well.

    When you are done, click "Save configuration".


    If all goes well, Drupal will display a "Drupal installation complete" page. Click the link given to go to your new site.


    The front page of your new Drupal site will now load. You will need to create your administrator account. Click the "create the first account" link. This account is all-powerful, and is not unlike the "Administrator" on Windows systems and the "root" user on Unix-type systems. It can do anything even if permissions are not set correctly.


    Enter any username that you want to use. Also enter a valid email address, so that if you lose your password, your Drupal scripts can send it to you by email. In the next screen, Drupal will tell you the password that it has created for you. Either write it down, or change it immediately by entering a new one in the "Password" and "Confirm password" fields. Set your time zone if it is not correct, and click "Submit". You can ignore the other fields.

    In spite of the impression given by the Drupal installer, you have only finished the first part of the Drupal installation process. The Drupal installer does not do a complete job, as you will find later. Nonetheless, at this stage, you are logged into the Drupal interface. If you look at the left hand side of your screen, you will see a few menu items. Two important ones are the "Create content" and the "Administer" links.
    *

    The "Create content" menu item allows you to add content to your website or blog.
    *

    The "Administer" menu item is where you configure Drupal so that your site/blog appears and functions the way you want.

    Click the "Administer" menu item now.

    The first time you enter the Administer screen, you will get an alarming red box at the top of your screen telling you that there are problems detected with your installation. Don't worry. This is normal. It happens with every installation. They aren't actually problems. As mentioned earlier, the Drupal installer did an incomplete job, so you will have to finish the process manually.

    Click the "status report" link in the red box.

    On the "Status report" page, you will be greeted with yet another two red boxes. Again, this is normal.

    Click the link "file system settings page" first. You will be brought to a "File system" page, with the initial message telling you that the directory "files" has been created. Leave everything at its default, unless you have some specific requirement, and simply click "Save configuration".

    Look at the side panel and click the "Administer" menu item. You will be returned to the Administer screen. You have solved one of the so-called problems. You will now have to solve the other. Click the "status report" link in the red box again. In the "Status report" screen, you will find that you only have one more "problem" to resolve. Click the "run cron manually" link to fix the problem. Once you do that, you will be returned to a soothing green Status report. You can breathe now.

    If you wish, you can click some of the other links on the screen to take a look around your new CMS. Otherwise, simply click the "Log out" link on the side panel.
    Last edited by Yogesh; 19-03-2009 at 04:57 PM. Reason: External linked signature not allowed

Similar Threads

  1. asp.net content management system
    By Adarna in forum Education Career and Job Discussions
    Replies: 5
    Last Post: 22-03-2012, 04:49 PM
  2. Is it possible to handle whole system by 280w PSU
    By Kiran25 in forum Hardware Peripherals
    Replies: 6
    Last Post: 13-08-2011, 10:35 PM
  3. Best Content Management Software
    By Alfanumeric in forum Polls & Voting
    Replies: 5
    Last Post: 14-12-2010, 12:19 PM
  4. Flash Content Error 7 - Unable To Handle
    By Udayachal in forum Software Development
    Replies: 4
    Last Post: 21-04-2010, 04:44 PM
  5. Bulk deleting drupal content nodes
    By appueye in forum Software Development
    Replies: 2
    Last Post: 28-01-2009, 01:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,716,737,300.78841 seconds with 17 queries