Jump to content
Larry Ullman's Book Forums

Mikeneedshelp

Members
  • Content Count

    8
  • Joined

  • Last visited

Everything posted by Mikeneedshelp

  1. I am using Aptana Studio 3 and I will not handle the code properly. I have found out while messing with code that it is very fussy how it is entered. I cannot get my .css content to work properly and I do not see it on add_page.php. It works because I have entered it in my URL so it is there. I also have another IDE and it show the colors a lot different than Aptana so it is handling the code differently. Does anyone know who to handle this? <script type="text/javascript" src="js/tinymce/tinymce.min.js"></script> <script type="text/javascript"> tinyMCE.init({ // General options selector : "#content", width : 800, height : 400, browser_spellcheck : true, plugins: "paste,searchreplace,fullscreen,hr,link,anchor,image,charmap,media,autoresize,autosave,contextmenu,wordcount", toolbar1: "cut,copy,paste,|,undo,redo,removeformat,|hr,|,link,unlink,anchor,image,|,charmap,media,|,search,replace,|,fullscreen", toolbar2: "bold,italic,underline,strikethrough,|,alignleft,aligncenter,alignright,alignjustify,|,formatselect,|,bullist,numlist,|,outdent,indent,blockquote,", // Example content CSS (should be your site CSS) content_css : "/ex1/html/css/bootstrap.min.css", Here is the code, It is all green except the tables which are black. It should be I think the color blue; even the .css file and it is not. This is telling me that it is not taking the code the way it should. Any suggestions?
  2. Yes, When I am checking all pages I go through URL and I go directly to the page that I am working on. Thanks Larry.
  3. That make total good sense but for some reason the drop down menus on the code above is not shown in the web site at all or through the server and its not my IDE as well.
  4. On page 66, it reads that a person needs to receive the code on template.html. Then continuing on with adding new code in the next few pages. In all that information, It reads nowhere what you just quoted me on this forum. I really appreciate your help Mr. Jonathan.
  5. In the header.html why is there PHP? What makes the PHP work? The dropdown menus are not working in the header.html on page 69. // Show basic user options: // Includes references to some bonus material discussed in Part Four! echo '<li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Account <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="logout.php">Logout</a></li> <li><a href="renew.php">Renew</a></li> <li><a href="change_password.php">Change Password</a></li> <li><a href="favorites.php">Favorites</a></li> <li><a href="recommendations.php">Recommendations</a></li> </ul> </li>'; // Show admin options, if appropriate: if (isset($_SESSION['user_admin])) { echo '<li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="add_page.php">Add Page</a></li> <li><a href="add_pdf.php">Add PDF</a></li> <li><a href="#">Something else here</a></li> </ul> </li>'; } I read in a forum that html does not recognize html in the server. What should I do?
  6. Thanks Larry I think I need to take your advice. Its that I stuck myself into this position of needing to learn this for completion of class.
  7. How do you do what that? check the Session data and what am I looking for when i am looking at what has been stored or retrieved? I am really a newbie when it comes to this.
  8. I have a really easy question. I have put all the login forms into the IDE and it looks fine. I Register like I was registering and I looked at MySQL and I see my POST. But, When I go to login, It does not redirect me to anywhere; it doesn't even change the look of the Web Page. For everyones info, I used all the code that Larry has posted for free (Thanks Larry!). Does anyone experience that or did I forget to add code somewhere that should be written?
×
×
  • Create New...