I was recently asked by a client to create a scrollable, navigation menu for their site. However, they wanted it to have an onHover submenu that expanded to the side, over the top of the scrollbar. The problem with this is that there is noway to do this using normal css, over the overflow:scroll hides [...]
Archive: problem
Posts Tagged ‘problem’
I have been making a mwnu system for magento that would allow a client to add extra links to CMS page to top menu through a static block. One of the requirements was when you clicked the link the menu should display as active. To do this I extended the Category_Navigation Block so it would [...]
I've recently been asked to customise the front page of a magento store. The client wanted the ability to specify a different set of top links depending on whether the customer was logged in or not, and they wanted to be able to changes these links from the admin section. They also wanted the logged [...]
Many database queries rely on seeing if two columns match / differ, however sometimes you may want to check if either column contains a sub-string of the other. MySql allows you to do this, but it isn't that well documented, so hopefully this will help someone looking for this in the future SELECT * FROM [...]
Often you will see SSL warnings or errors related to insecure content being displayed on a secure page. This could be as simple as one javascript file or image that is being included via http rather than https, though some times this can be a bit tricky to track down. The easiest solution is to [...]
There is a new feature in Netbeans that tries to auto fill the variables for methods and functions in PHP. Whilst this may be something that is a time saver for some, it often gets these wrong, and if you are using descriptive variables in the method then these are overwritten if you have a [...]
The php simpleXML object is my preferred way of working with XML, but it has some unusual quirks that can drive you up the wall. One of these is that, by default, it will not read CDATA within an XML file, and will just leave the node blank. If you need to access this data [...]
Well known is how Loaded Commerce/CRELoaded protect their google banners they wack on all opensource versions of their code. Once you have removed the footer in the current version though, it checks the output buffer and you will find it after the closing html tag of your page. The function that does this is cre_uregisterBasicFunctions(); [...]
Due to our load-balancing router being a little "harsh" on closing connections that appear to be unused, ssh often sits and hangs. Using a standard ssh config option though we can set a server keep-alive (on the ssh client, which also keeps sshfs alive) In the "~/.ssh/config" file, simply adding the following keeps the connection [...]
One of the things that can catch you out if you have a paranoid server admin is that various magento extensions will contact external servers (such as SagePay or Mailchimp). If the server admin has blocked outbound web traffic (to avoid DDoS attacks and other malicious traffic), these extensions will slow you down at every [...]