Everything posted by Mclicky
-
domain forwarding producing 302 instead of 301
Hi there. I have got myself into a bit of a pickle! My live site here. Great, works lovely. However, i have a list of other domains that I need to forward to this live site. All of the domains are in a Cpanel in 1and1.co.uk. I am using their forwarding tool to create the forwarding to the live site. When doing a 301 checker it is showing a 302 temp redirect, which is not what I need. It needs to be a 301, as these URL's were used with last years 09 URL. I have spoken wtih 1and1 on numerous occasions, and as usual they havent managed to help. They are suggesting I create a 301 redirect in my htaccess.. but how can i create a htaccess for a domain name that doesnt have hosting?? Hope I've made it clear. I need to resolve this asap as the old domains are showing up in google.. Thanks, Mark
-
Can anyone tell me why this site is performing slow?
All of the jquery is doing something somewhere across the site, the UI is for the tabs and other bits and bobs.. its a shame really! I have minified some of the js files but this will only take fractions off the load time! Unfortunatly the google web-font api was released after the dev of this site was 90% complete.
-
Can anyone tell me why this site is performing slow?
awesome, thanks for that! Looks like minify uses PHP, we are .net based here, which is a shame.
-
Can anyone tell me why this site is performing slow?
How do i go about combinging jquery plugins? if i put two in the same page (same stacking order) they break. Thanks.
-
Can anyone tell me why this site is performing slow?
I have combined the majority of the css files into one now (on the local server) I have also replaced the twitter feed, which seesm to have made a difference too. I will look into IIS and expires headers etc..) I am using YSlow, but how did you find the time in ms it took to load, in your previous post. I will combine some of the JS files too and see what that makes. Not sure we can do Gzipping, not sure our serve ris set up for it, i think its needs configuring in IIS too. Thanks BTW!
-
Can anyone tell me why this site is performing slow?
Thanks for the help. I am running Yslow, i scores an E! Recommends me to use a CDN with isnt really an option. I may look into another twitter feed then, this seems to be a major issue. The annoying thing is the delay for the cufon to load, you see a jump in the page and the fonts change.
-
Can anyone tell me why this site is performing slow?
Is the cufon being implemented incorrectly or can anyone else see any other issues? Its been slow for a long time and it due to go live soon would be be great to solve it. link here Thanks in advance for any help, it would be greatly appreciated.
-
Redirecting to another page
im not a massive php guru.. but id say using php would be your best bet. Set the cookie on first visit and check to see if the cookie is tere.. if so redirect the page. this might help.. im sure someone can provide a clearer explanation than me. http://php.net/manual/en/function.setcookie.php
-
CSS for drop down menu
Sometimes when i have having issues trying to find css declarations. i.e in your case the black text i just open the css file and Ctrl + F the search for #000 or #000000 or black.
-
Excuse my ignorance
Theres lots of information on how to use jquery, and more importantly how it works here You will need to link to the jquery library and link to the jquery plugin, follow specific instructions on the jqyery,cycle plugin homepage. the most basic setup here: <!DOCTYPE html> <html> <head> <title>JQuery Cycle Plugin - Basic Demo</title> <style type="text/css"> .slideshow { height: 232px; width: 232px; margin: auto } .slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; } </style> <!-- include jQuery library --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <!-- include Cycle plugin --> <script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.72.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.slideshow').cycle({ fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc... }); }); </script> </head> <body> <div class="slideshow"> <img src="http://cloud.github.com/downloads/malsup/cycle/beach1.jpg" width="200" height="200" /> <img src="http://cloud.github.com/downloads/malsup/cycle/beach2.jpg" width="200" height="200" /> <img src="http://cloud.github.com/downloads/malsup/cycle/beach3.jpg" width="200" height="200" /> <img src="http://cloud.github.com/downloads/malsup/cycle/beach4.jpg" width="200" height="200" /> <img src="http://cloud.github.com/downloads/malsup/cycle/beach5.jpg" width="200" height="200" /> </div> </body> </html> I would strongly suggest reading the tuts on the jquery site though and not just copy/paste code.
- JQuery
-
Clearing issue
This is another method, can quite commonly be found as <br class="clear"/> .clear { clear:both; } To keep inline css out of the markup. Same result as above really.
- ajax
-
Excuse my ignorance
in that case, i wouldnt use flash. Use a jQuery plugin called jQuery cycle, jQuery is a javascript library. more info here: http://jquery.malsup.com/cycle/ Its very simple and easy to implement with many options.
-
Clearing issue
a little trick that you do is to apply overflow:hidden on the container div. Or you could float the UL left which would work.
-
Auto Backup of mySQL DB to hardrive?
Just gave Sypex a go, it doesn't do automatic updates unfortunately, does anyone else have any suggestions thank you please?
-
Auto Backup of mySQL DB to hardrive?
Just for your info, looks like they do offer a backup service.. Maybe this is the reason they dont allow ssh, to encourage sales of their recovery package!
-
Auto Backup of mySQL DB to hardrive?
I dont think changing the host is in my control unfortunately as its for a client of an agency i built the site for! :-/ Would this do the job? http://sypex.net/en/products/dumper/features/?
-
Auto Backup of mySQL DB to hardrive?
Im not too familiar with DB backup processes as I have never done it before, but you would assume that a hosting company who i wont name would.
-
Auto Backup of mySQL DB to hardrive?
i just came off the phone with them and they didn't seem very enthusiastic at all, saying they 'they dont really get involved in that kind of stuff'. Hmmm! I shall submit a support ticket and see if i get more of a response from a human being as apposed to a chimp! Thanks for your help btw!
-
Auto Backup of mySQL DB to hardrive?
I dont appear to be able to access that! so now both those methods are out of the window is there no way of backing up them automatically?
-
Auto Backup of mySQL DB to hardrive?
Hi, Not sure on the command line, how can i find out? I have access to phpMyAdmin i know that!
-
Auto Backup of mySQL DB to hardrive?
Hi, I have recently made my first Expressionengine site, all is good! Now that it is live, i am slightly worried that the client could go in and mess it up,OR more importantly there could be an issue with the server one day! So i'd like to be able to backup the DB to my Mac or external hard disk. Is this even possible? Automatically if possible so I dont have to manually do it every day/week/month. Many thanks.
-
Expression Engine help
I havent used the categories before or the status update. I need the create a dynamic side nav too, so when a page is added it is added to the side nav. Also, if i want to add some js to one of the pages that have been created using the above method would i still be a do it? Thanks for your help!
-
Expression Engine help
Hi, i know theres a few EE gurus out there that would be able to help me out! Basically i am building an EE site. its my first one. Think i have grasped the whole weblog concept etc.. I can make news stories/ case studies and pull them through onto the homepage all fine. But what is really bugging me is how do i enable the client to create a new basic copy/image page within a main section using one template. So for example: Id like the user to be able to go in and create a new page under the about us section. Or create a new page under the what we do section. At the moment theyd have to go in and create a weblog and put it into a new template.. which isnt really good enough. I hope i have made sense! Thanks