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?
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)
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.
@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.
@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!
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.
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!';
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.
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 :)
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!
NVM! I got the error... I missed some "".... But I found it already! Thx again for the tuts! You just saved my project :)
Froom7 1 week ago
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?
Froom7 1 week ago
This has been flagged as spam show
this is great and all but this really helped me when i started out:
Link: 65b50gm)c1e)q)z)b)r2ox)k0e)o)die)c)v).hop.click)bank.)net/?tid=SUN41212
just remove the brackets.
Seandrew0 2 months ago
can you please make video cms with FCKEditor ?
thanks
nnngggiii 3 months ago
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
MsGronz 3 months ago in playlist CMS Tutorials
Guys,if you can't edit,just empty fields,and no ID,so... so trouble in this. cms_class ,manage_content,there is no "="
MsGronz 3 months ago in playlist CMS Tutorials
as
MsGronz 3 months ago in playlist CMS Tutorials
Awesome i did it successfully. I will be using this code in the future, but ill be crediting it to you.
iStalkApple 4 months ago
HELLO
great tutorial, i have problems with update the code, i dont get the content, just empty fields, any suggestion?
AvinDesign 8 months ago in playlist CMS Tutorials
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)
WEEDKILLAR 9 months ago
i have problems with empty body and tittle too
AvinDesign 11 months ago
Hi!
When I click on Edit, I get empty (title) text and (body) textarea.
What's the problem?
deadend19871105 11 months ago
Btw, line 101 is $id = mysql_escape_string($id)
EvolightExirio 1 year ago
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 1 year ago
@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 :)
YourTechNet 1 year ago
@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
ronny22 1 month ago
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.
JJDR04 1 year ago
Can you download this?
threeto1 1 year ago
I added ''tinymce'' to mine and it works really well, awesome tut, cheers Baylor
articlewiki 1 year ago
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 1 year ago
@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 1 year ago
@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!
JJDR04 1 year ago
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 ? :)).
Wortexqq 1 year ago
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.
jorgerko15 1 year ago
Comment removed
BurNiNgBAssisT86 1 year ago
Your tutorials are really understandable and well explained, keep it up!
jorgerko15 1 year ago
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 1 year ago
@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 1 year ago
@LDDCreations Ahhh alright well that makes sense, I'll try that out; thank you so much for the help.
jrock20023 1 year ago
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.
jpblier 1 year ago
a h r e f = " ? delete=
Note: spaces added to paste into utube comment.
jpblier 1 year ago
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.
jpblier 1 year ago
Is ScoobyDooobyD00 still your working domain for source code downloads?
jpblier 1 year ago
@jpblier No, the ScoobyDooobyD00 domain expired and I don't have a site for my source code anymore
LDDCreations 1 year ago
ScoobyDoobyDoo Is there a place to download the complete iles to study. Thanks. Jim.
jpblier 1 year ago
Thanks
kerem125 2 years ago
Yes.. Can you please zip it (or rar it).
JimmiMoller 2 years ago
good try, but not even close to modern cms
MeKlonas 2 years ago
@MeKlonas it is pretty good for such a short amount of time. it could easily be expanded.
MILESMIBALERR 1 year ago
Thank you!
jvdanilo 2 years ago
Thank you!! your tutorials are really helpfull!! from Netherlands
Cemrotterdam 2 years ago
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
x0pdotorg 2 years ago
Comment removed
cgofme 2 years ago
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
JimmiMoller 2 years ago
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).
cgofme 2 years ago
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!
winfr34k 2 years ago
Can you also add additional tutorial on how to re-oder posts? Thanks :)
alydhineds 2 years ago
Hi, Is it possible for you to provide the source for us to download?
Thanks!
alydhineds 2 years ago
Excellent teaching, very transparent and simplified. Thank you.
Teshomegd 2 years ago
Thx scooby eh been wanting to create somthing like this for quite a while
XxDrpandaxX 2 years ago
This tuts r Great =] 5 Stars.
alive4ever93 3 years ago