Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (51)

Sign In or Sign Up now to post a comment!
  • NVM! I got the error... I missed some "".... But I found it already! Thx again for the tuts! You just saved my project :)

  • Thank you so much for the tutorials! Now I understand the CMS. But if I going to update a post, the title don't show up fully. It shows only the first word of the title?

  • can you please make video cms with FCKEditor ?

    thanks

  • Guys,if you can't edit,just empty fields,and no ID,so... so trouble in this. cms_class ,manage_content,there is no "=" in span class before row

  • Guys,if you can't edit,just empty fields,and no ID,so... so trouble in this. cms_class ,manage_content,there is no "="

  • as

  • Awesome i did it successfully. I will be using this code in the future, but ill be crediting it to you.

  • HELLO

    great tutorial, i have problems with update the code, i dont get the content, just empty fields, any suggestion?

  • Hi , Can you please create a 7th video with a facebook like button on each blog post and a date with each post. (On the Edit page in the form it displays the php code any tips? Thx)

  • i have problems with empty body and tittle too

  • Hi!

    When I click on Edit, I get empty (title) text and (body) textarea.

    What's the problem?

  • Btw, line 101 is $id = mysql_escape_string($id)

  • When I try to update a post I get:

    Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/odinmed1/public_html/new­/_class/cms_class.php on line 101

    what to do..?

  • @EvolightExirio Check that the variable that you are passing through is a string, do a simple check such as:

    if (is_string($yourvariable)) { echo "Is a String";

    } else { echo "Is not a string";

    }

    You can only pass through string to that function.

    Hope it helps :)

  • @EvolightExirio

    hey did you fix that problem where you get Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/odinmed1/public_html/new­­/_class/cms_class.php on line 101

    because am getting it aswell and i dont know how to fix it can you help if youve fixed it

  • Hi Guys. I am having issues with the update part of the tutorial. Everything else is working as follow:

    Add and delete content works. However, after deletion, the update form is displayed, which should only happen when clicking Edit. When I click Edit, nothing happens. If open the update-content.php directly to the browser I get the error message: Fatal error: Call to undefined method modernCMS::update_content_form­() in... on line 30. update and add fields are in their right places HELP PLEASE.

  • Can you download this?

  • I added ''tinymce'' to mine and it works really well, awesome tut, cheers Baylor

  • Hum, now how about if i want to edit the the HTML of the post?

    like add an image to one of the posts or do a break line, do i have to code it in the text area ? or there are any better solutions out there?

  • @mornaistar see here and download the script, is simple enough to add it to your template so you have a professional looking editor that lets you add video, images, change fonts all without entering a single line of code.

    Link not adding just Google TinyMCE

  • @articlewiki

    Thanks for posting this. Tiny MCE is awesome.

    @Baylor: Great Tutorial, man. I "finished" the modern cms... well not quite finished as I got inspired and plan to extend it with sessions, pagination, media uploading and who knows what else comes along the well. Although some of the code was a little outdated, it was good enough to put us in the right track. I am not a programmer and I learned a lot Thanks!

    @Everybody:

    If anybody is ahead with add-ons to the modern_cms, please post!

  • Thank you. Helped me a lot! Also learned a lot. A really helpful series of tutorials which increased my PHP developer's skills.

    A huge Thank You flies out to you Balor (I think thats your nickname, isnt it ? :)).

  • Also, I followed this tut until the end, but somehow I get the error that you had @ 01:51. I also tried to replace $_GET with $_POST but that didn't work.

  • Comment removed

  • Your tutorials are really understandable and well explained, keep it up!

  • So I got around to making this and it's working great except for one thing: apostrophes and quotes all are echoed out with a slash before them (eg: \' and \") Any suggestions about what I can do to echo those out without the stupid \ before them?

  • @jrock20023 The slashes are used to escape the string. When you start a string with double quotes you cannot add double quotes inside of it because PHP will think you are closing the string. So to prevent that you add the backslash.

    To work around this you can wrap the string in single quotes, and then you can put as many double quotes in the string.

    // $link = 'Einstein said, "The only reason for time is so that everything doesn\’t happen at once." Which is an awesome quote!';

  • @LDDCreations Ahhh alright well that makes sense, I'll try that out; thank you so much for the help.

  • I didn't understand which page you go to when delete is selected. If an anchor tag is used and the value is only a querystring without a php page being specified, does PHP fill in the pagename from the current page, does it point to the index page or does it depend on the browser you use? Thanks. Jim.

  • a h r e f = " ? delete=

    Note: spaces added to paste into utube comment.

  • I have one question.

    In the partial statement:

    href="?delete=.

    what web page is the delete action being sent to?

    Is it the index page, the current page, or a different page?

    Sorry I couldn't post the whole line of code.

    Thanks for your help understanding.

    JIm.

  • Is ScoobyDooobyD00 still your working domain for source code downloads?

  • @jpblier No, the ScoobyDooobyD00 domain expired and I don't have a site for my source code anymore

  • ScoobyDoobyDoo Is there a place to download the complete iles to study. Thanks. Jim.

  • Thanks

  • Yes.. Can you please zip it (or rar it).

  • good try, but not even close to modern cms

  • @MeKlonas it is pretty good for such a short amount of time. it could easily be expanded.

  • Thank you!

  • Thank you!! your tutorials are really helpfull!! from Netherlands

  • Hi,

    Can you make for me a link with a .rar file with alle files from the cms? Because i am from germany and i doesnt understand what you say all times! Thanks! I gibe 5*! Please Contact me per PN on Youtube - I hope you can make this for me :)

    Greetings from Germany,

    Toby

  • Comment removed

  • It is coded in OOP. (Object orinted programming //not sure how to spell it)

    And OOP is kind of a modern thing in PHP, i think :P

  • Few years my be "modern" for an infant but not in terms of Internet technologies, methinks. PHP::OOP started in PHP4 and has been rewritten for PHP5 (now it's fully supported, AFAIK).

  • Just great tuts... but 1 thing is left for this CMS: a user system. I think this'll be verry important, so, can you make a tut about that? And, yeah re order posts will be nice too!

  • Can you also add additional tutorial on how to re-oder posts? Thanks :)

  • Hi, Is it possible for you to provide the source for us to download?

    Thanks!

  • Excellent teaching, very transparent and simplified. Thank you.

  • Thx scooby eh been wanting to create somthing like this for quite a while

  • This tuts r Great =] 5 Stars.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more