22 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Niloofar24

Hello. I'm working on my own CMS. I want to use Bootbox.js which is a small JavaScript library which allows us to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers. [And this …

Member Avatar for Niloofar24
0
3K
Member Avatar for Niloofar24

Hi. I want to set `read more` for my cms posts. The code i found was `<?php the_content( $more_link_text , $strip_teaser ); ?> ` but still don't know how and where to use it. Any suggestion?

Member Avatar for Niloofar24
0
528
Member Avatar for Niloofar24

Hi. I'm working on my own CMS, i want the script to echo 3 posts in every page, and want the script to echo from the recent post and back to the oldest post. I mean like this: For example there is totaly 30 posts; First page => posts 30-29-28 …

Member Avatar for Niloofar24
0
393
Member Avatar for Niloofar24

Hello friends! I want the script when user clicks the Delete botton to delete that post, a confirm message appears and ask if the user is sure to delete that post or not, if the user clicks the cancel button, nothing happen but if clicks the ok button, then the …

Member Avatar for Niloofar24
0
4K
Member Avatar for Niloofar24

hi:) I want the script to check the db table to see if there is the same username as what the user has submit with the register form, then stop the script from registering, but if the user has submited a new username, then registering. I think the script should …

Member Avatar for Niloofar24
0
390
Member Avatar for Niloofar24

Hello! I have a little problem with a For Loop, this is a For Loop in my script: $last_id = $conn->lastInsertId(); for($a = $last_id ; $a > 0 ; $a--){ code.... } But it doesn't work because of `($a = $last_id ;`, the variable $a can't be set to the …

Member Avatar for Niloofar24
0
876
Member Avatar for Niloofar24

Hello. There is an html table in admin page, with head columns (POST ID | POST TITLE | POST AUTHOR | ACTION). And in each row, will contain a post id, a post title, a post author that gets from database. And in the Action column, there is a "delete" …

Member Avatar for lps
0
973
Member Avatar for Niloofar24

Hi. In my CMS, when i type a content for a new post in the textarea, like this: one two three four five six and then click the submit button, it will save in the db table like the way i have typed, every word in a separate line. But …

Member Avatar for Niloofar24
1
1K
Member Avatar for Niloofar24

hello me again:) There is a page in my cms that users can see my posts there and i want to limit the number of posts that must be shown to users in each page and paginate. This is my code: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = …

Member Avatar for Niloofar24
0
585
Member Avatar for Niloofar24

Hello. i'm creating a simple CMS for myself. There is a register form, i can register as the admin of the cms and then with login form, i can enter into admin area to write a new post or edit or delete posts. But there is a problem. I typed …

Member Avatar for Niloofar24
0
1K
Member Avatar for Niloofar24

Hi everybody. I have a page with some post's title in it. I have put every title in an <a> tag. I want to click on each title and enter into an other page (single-post-page.php) to see the content of that post's title. The script of that page (single-post-page.php) should …

Member Avatar for Niloofar24
0
2K
Member Avatar for Niloofar24

Hi, as you know i'm creating my own CMS. This is a part of my code: if (!empty($_POST["Title"]) && !empty($_POST["Author"]) && !empty($_POST["Content"])) { $sql = "INSERT INTO Posts (Title, Author, Content) VALUES ('$title', '$author', '$content')"; } I want the script to check if Title Field and Author field and Content …

Member Avatar for Niloofar24
0
479
Member Avatar for Niloofar24

Hello. This is my CMS login page; login.php: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = "mydbusername"; $dbpassword = "mydbpassword"; try { $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $username = $_POST['username']; $password = $_POST['password']; $password = md5($password); $sql = "SELECT * FROM Users WHERE Username = '$username"; …

Member Avatar for lps
0
590
Member Avatar for mike_2000_17

Hey, So, I'm trying to create a tutorial draft for a tutorial that I just wrote. I copied all the text into the editor, put in the title, tags, and marked it as a tutorial draft for the C++ forum. I hit the submit button and I got the following …

Member Avatar for Dani
0
339
Member Avatar for CaffeineCoder

Question: I have a new server stood up (Windows 2012) to replace the current 2003 servers. I have Apache 2.4 + PHP 5.6 + MySQL installed for websites to be hosted. I setup Apache, and a virtual host for a test site. I then created a host file entry on …

Member Avatar for CaffeineCoder
0
2K
Member Avatar for chris_j_haines

Hi I have for many years been learning html/css and have built many sites for personal use, each time I get better at designing sites and have started to learn about creating layouts in Adobe Photoshop and converting them to HTML./CSS. I have had some experience with PHP and MySQL …

Member Avatar for chris_j_haines
0
140
Member Avatar for patrick1981

I have three table that are linked like this. Each content is linked to a category and each category is linked to a section. Like this sections_table -section_id -section_name categories_table -category_id -section_id -category_name contents_table -content_id -category_id -content_title -content_description I want to write a query to display only content from a …

Member Avatar for rajeevphp2011
0
187
Member Avatar for Stefano Mtangoo

Hi friends, it is weeks now I'm trying to figure out how to make simple custome theme engine for my custom PHP CMS. I want to use it for my projects. It is based on custom framework too. So I checked how Drupal does it and Joomla. They are complex …

Member Avatar for Stefano Mtangoo
0
151
Member Avatar for epicrevolt

Hello fellow Daniwebbers, I have a question about choosing a CMS. I know what you're think "OMG another 'what cms' thread". Hold yer ponies because I want to be very clear and precise. Having worked with multiple CMSs over the years, I have acquired a knowledge of which CMSs are …

Member Avatar for epicrevolt
0
175
Member Avatar for tape enterprise

hello, I am currently working on CMS and I want a way for the user to upload images to go along with their post how would I upload the image with php and then add it into the database for later retrieval when people look at the posts?

Member Avatar for tape enterprise
0
153
Member Avatar for Vampdee

I have a client that is asking me to design the user specific area of a commerce site. Basically, when a user creates an account (such as an account on Amazon or any other typical e-commerce site), there would be a user specific area that would contain the purchases the …

Member Avatar for Vampdee
0
117
Member Avatar for Nemuksis

Hi, i looking to find what would be the best cms + modules to host a kind of freeware site like the following [URL="http://www.androidfreeware.org/"]http://www.androidfreeware.org/[/URL] where users can upload apps, search for apps, detailed list of apps, category etc etc. I know literally any cms can be used, i mostly want …

Member Avatar for Nemuksis
0
165

The End.