-
Posts
558 -
Joined
-
Last visited
Everything posted by Bob Crabb
-
I'm another member of the bland.
-
What you call the center framing and the background around it are all part of the same image. You have a background image in the header, in the container, and in the footer -- or at least from what I remember of your CSS file. From what I remember, looking at the site yesterday evening, the body background color and the outer edges of those images blended prior to your adding a background image to the body. Placing a background image in the body, and therefore creating a contrasting background to those images overlaid in subordinate elements, you will see the opaque background images of child elements. In order to create the illusion of the framing overlaying the body background, you would have to edit those images, making parts of them transparent. Or, the better solution might just be to create a new set of background images in which you create the frame layered over a transparent background.
-
You're welcome. I'm glad that it works now.
-
All I can really do is to point you in the right direction. What I am looking at is the html for the page after it is generated by the WP script, but in a WP template, that markup comes from several places, so I'm not sure what came from where. I will share with you a great tool to use in page design and troubleshooting -- that is the Web Developer Tool Bar for Firefox. Using the outline block level elements tool in the toolbar, is how I found where your footer is as opposed to where you want it to be.
-
Ok, I had a look. The problem is that div id footer should be a child element of div id container. Instead, it resides inside another div that is inside div id content. That is why everything in the footer is offset to the right by 30 px. I ran it through the validator, and you have some errors, but I didn't get into the specifics. A couple of things that did stand out, however is an extraneous div tag preceding the footer div tag, and an extraneous end paragraph tag after your footer link.
-
If you want me to look at it, pm the url.
-
is this a file that you have modified recently? If so, it is really easy to wipe out a punctuation mark, paren, etc that will cause a syntax error. Please post the contents of /themes/Sweet Daisy/footer.php enclosed in code tags so we can have a look.
-
Joomla! Security "register Global Emulation"
Bob Crabb replied to mooredd's topic in Software/Scripts/Other Alerts
I would try putting it in a separate line, above everything else in your .htaccess file -
Joomla! Security "register Global Emulation"
Bob Crabb replied to mooredd's topic in Software/Scripts/Other Alerts
Add the following line to the .htaccess file in the root directory: >php_flag register_globals off Then, even though it is turned on in the server, it will be turned off on your site. -
OJB -- thanks for the response. In some of the security info that I had read today about session variables, I had seen the recommendation to store session info, including a hashed user ip in a db table. Since in this application the only queries executed are select, I figured that there is little threat of spoofing and sql injection, and that just filtering the input would suffice. However, I think that I will try implementing the ip hash and verification method also, since it seems like a good security practice to learn and use, especially on a shared server. Thanks again for the advice.
-
I have never written an ap using $_SESSION variables before, so I need some advice regarding security. I'm in the middle of writing a new ap for one of my sites that involves several functions to generate data. As it stands now, it looks like the best way to pass variables generated by one function to another might be to use session variables. In this ap, there is no user/password information and no sensitive data. The data being passed is simply used to control the flow of the logic, and to pass the result of db queries and calculations from one function to the next. If I use session variables, what security measures should I implement for session variables? Should I filter/whitelist the session variables in the same manner that I would filter/whitelist post and get variables? Thanks, Bob
