Jump to content

ChaosKnight

Members
  • Posts

    183
  • Joined

  • Last visited

    Never

About ChaosKnight

  • Birthday 07/15/1993

Profile Information

  • Gender
    Male
  • Location
    South Africa

ChaosKnight's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Download Yii, CodeIgniter, CakePHP, Symfony, etc., check their documentation and try to make a simple blog or something in each of them. The one you enjoy the most is your framework
  2. If you have links that navigate your entire site and sitemaps that are up to date Google will crawl your pages... Your language of preference has nothing to do with your page index. The google bot is also just a client that receive your page content on the client side. It doesn't care what happens server-side, because it can never get there to look at your source code. So the fact is, just get proper SEO techniques and continue to use Zend as much as your heart desires. The only thing you should watch out for is URLs. Google prefers keywords in your URL. To demonstrate, a URL like this: example.com/coffee/cappuccino is better than a URL like: example.com/coffee.php?id=9187. From your post it looks like your URLs are already search engine friendly, so you have nothing to worry about. Hope this helps Enjoy your day
  3. Ahh thanks, your hosts suggestion worked... Thanks!
  4. I recently formatted my developing computer because my Windows became corrupt, I also never worked with .htaccess before seeing that I was hosted on a Windows server with IIS previously, so I don't know if this is mor of a .htaccess problem. But since I installed everything again, everything seemed to be working fine, until I had to download the Visual C# Express program from Microsoft's website today and something happened that I have never seen before - when I request www.microsoft.com, Apache seems to think that the request is directed to it, and it sends back the files that is in the document root that I specified in my httpd file. And when I request a file that is in my document root via: www.microsoft.com/filename the file on my computer under the specified document root is returned... Is there anyone that has ever stumbled into the same problem in the past? I need to sort this out fast, because I really need to get Visual C# so it's quite urgent... Thanks
  5. Ah sorry I just solved it! Parent div's padding set to 20px and the child div's margin to 20px... Dumb noob mistake hahaha sorry
  6. Okay, so I have a parent div and a child div, the parent div is only for the "prettiness" and the child div will contain the content of the page. I haven't ever attempted such a UI, so it may seem obvious to you, but it is still very new for me... I want the parent div's height to be relative to the child div's height, so let's say the child div's height is 250px, then I want the parent div to be 290px (20 at the top and 20 at the bottom... I tried leaving out the child div's height, and filled it with content, and then I set the parent div's padding to 20px and left out it's height, but that didn't quite work.... Any ideas?
  7. Thanks man, I'll try them both out...
  8. I'm busy with an "ultra-modern" type of look on a project, so I tried something I have seen before, the background is a carbon-looking striped background that is somewhat dark, and for the content I placed a black box with curved edges, and on top of that I have another div that is supposed to contain the content, but I want to make that a bit lighter, so I made that div's background color white, after I have done that I decided it would look awesome if the black div at the back had some opacity, so I set it to 0.3, but then I discovered that the white div also received the opacity of the parent div, so I tried setting it's opacity to 1.0, but it still didn't work, now the content div looks a bit greyish... Here is my CSS code: #body { position: relative; top: 10px; background: black; filter: alpha(opacity=30); -moz-opacity: 0.3; -khtml-opacity: 0.3; opacity: 0.3; -webkit-border-radius: 10px; -moz-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; width: 960px; height: 450px; margin-left: auto; margin-right: auto; } #content { position: relative; filter: alpha(opacity=100); -moz-opacity: 1.0; -khtml-opacity: 1.0; opacity: 1.0; -webkit-border-radius: 10px; -moz-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; top: 10px; left: 10px; height: 430px; width: 940px; background: white; } And here is the HTML part: <div id="body"> <div id="content"> </div> </div> Can someone please tell me how to get the content div completely white again without any opacity? Thanks!
  9. I don't know how Symfony is installed yet, but if it's anything like RoR, then I doubt that Network Solutions will host it just yet... I have contacted their technical support and keeping my fingers crossed. I heard that Kohana still doesn't use strictly PHP 5 OOP syntax, is that true? I really hope that I'll be able to use Symfony...
  10. Okay, for those of you who have read my previous posts in this forum section - I have to finally admit that I now see why you said a PHP 5 framework is better than a PHP 4 framework (I have also switched to Network Solutions which definitely has PHP 5) , CodeIgniter seemed great, but in my new project (Gaming website, almost something like IGN, just with user profiles, etc.), CodeIgniter seems a bit underpowered. I don't have a lot of time to learn a new PHP framework, would you recommend a switch to Kohana, Symfony, or any other PHP 5 framework (I still need a bit convincing before switching to Zend as I like a full-stack framework a bit more)... Any advice for choosing a PHP 5 framework this time? Oh, and I have a bit of experience in PHP OOP (not a lot, but I will definitely look into it when switching to pure PHP 5), and a whole year's experience in RoR, I heard that Symfony is a lot like RoR, is this true? If so, it'll win me over in a heart's beat lol... Thanks
  11. I have to redo my entire layout, because clients said it looks too "boxed in" (780px with a border around it). So I now made it a bit more dynamic with 99% width and margin-left and margin-right set to auto. But now I can't seem to get the layout of the columns right... I got the left bar and the content lined up correctly, but the right bar floats below them and is showing up directly under the left bar It needs to look something like this: 170px Rest of the 99% 170px <-----------><-----------------------------><------------> Here is the css code that I tried to achieve this result with: #body { width: 99%; margin-left: auto; margin-right: auto; } #sidebar-left { float: left; width: 170px; } #content { margin: 0 170px 0 170px; } #sidebar-right { float: left; width: 170px; } Any help will be greatly appreciated... Thanks
  12. Yeah, Smarty isn't needed, CodeIgniter has built-in template support, but I haven't needed it yet...
  13. I was hoping that there is some $_SERVER element that carries these URLs
  14. Hi, I don't really know where this post should go, I have made a custom 404 error page called error.php, I want to make it a little smarter to get the URL that Google tried to access and try to find the best solution to where it should redirect the user with a 301. I have converted a website from .htm pages to .php and the website is losing a lot of web traffic. So what I need to know is if there's a way to get the URL that Google or other search engines requested? and what is the easiest way to dissect it in sections (like: /south_africa/default.htm into 2 variables, the one will contain south_africa and the other default.htm). Is this possible? Thanks
  15. position: fixed; bottom: 0px; had to do the exact same for one of my websites today. Cheers mate
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.