Support Forums

Going Beyond the Days of White Pages

This is a discussion on Going Beyond the Days of White Pages within the Templates, HTML, CSS, and Design Help forums, part of the General category; Say all you designers out there that want to really jazz up your site from the boring white backgrounds template ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 06-18-2009, 04:22 AM   #1
Member
 
Join Date: May 2009
Posts: 66
Rep Power: 0
Exclamation Going Beyond the Days of White Pages

Say all you designers out there that want to really jazz up your site from the boring white backgrounds template that come with the purchase of 68c! I have an important snippet of code that you really need to pay attention to. 68c has done a great job in rolling out a product that allows for great expansion and customizing, however, they don't tell you the little hang ups that come when you want to change the page background from white to any other color or for that matter, an image. Because you see, the templates that they give you are all assuming that you are not going to change this. But chances are, you are going to want to.

So I am here to let you know about an important discovery that none of the 68c Support staff provided me. After spending countless hours of round and round posts on this forum, I have decided to spare you all from the same grief I experienced. As you know there are many things you can do with the 68c platform. Buy modules, customize the code, buy new templates... etc. And this is all great. But when it comes time to customizing the layout for yourself and tweaking the code (which I guess is a no-no. Whoops. Didn't I buy the Developer License? Why yes I did, thank you. I am a big boy, I will handle future upgrades to v4.1.3 just fine.) you may run into this issue I had.

68c assumes that the interaction between the content of the page and the footer of the page is seamless. This is not true when you happen to have a page background that is not white. Because you see, the code is relying on you keeping the page background white in order to hide this flaw.

Here is the flaw:

If you have tweaked the page background to be other than white and you have tweaked the footer to be other than white, you will see a gap appear on pages that have a "Continue" button on the bottom of the page. This gap appears between the content of the page and the footer. The same goes for pages that have the pagination on them. This just means that if you go to a page that has, let's say all your ads, if you have more than the page can display, a div will show up with page navigation.

This is a big problem! It really looks tacky with this gap. Oh the code may look ok in Firefox, Chrome, or Safari, but it is a different story for IE. And since you are designing for all the major browsers, you will want to know about this.

IE7 is really bad as you all know. IE8 is not that much better. But this little snippet of code with fix all your troubles with this gap in all browsers. So here goes:

In the style.css insert this little bit if code:

.btm {
background: #fff;
height: 10px;
margin: 0;
clear: both;
}

Make sure to keep it as a class, but you can rename "btm" to whatever you want.

Next insert this line "<div class="btm"></div>" into this section of code located in the layout.tpl file:

<div id="pagecontent">
<div id="content">
<!-- // Content // -->
{* This includes the content portion *}
{include file=$body}
<!-- // End Content // -->
<div class="btm"></div>
</div>

Notice where it is at. It is just before the end tag of the <div id="content"> tag.

And that is it!!!! Now if you happen to have a custom footer and a custom page background, anytime anyone of your pages auto populates a "continue" button based on your actions or if you happen to be looking at a list of ads and have the pagination show up at the bottom of the page, you will not see a gap in between the content and the footer.

Happy Coding!!!! If you would like to see this in action go here: Industrialpost.com
__________________
68C | Developer License | Running v4.1.3

Last edited by industrialpost; 06-18-2009 at 04:27 AM.
industrialpost is offline   Reply With Quote
Old 06-18-2009, 05:27 AM   #2
Just get on with it!
 
michael's Avatar
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 474
Rep Power: 31
michael is just really nice michael is just really nice
Default

Not too sure about the attitude but a very useful post all the same.

Thanks.
__________________
M Michael
V4.2.1 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 06-18-2009, 05:56 AM   #3
Member
 
Join Date: May 2009
Posts: 66
Rep Power: 0
Default

After what I have been through, you would have thought that I was pulling teeth just to get a straight answer. So yeah, sorry if I came across a little arrogant. Just wanted someone to pay attention to my question. I mean, stop and take the time to really listen to what I was saying. Instead of this thread: http://www.68classifieds.com/forums/...ter-error.html

It really was a time waster. I just wish the support for this 68c had a phone number to call. All of this would have been resolved in a matter of hours instead of countless sleepless nights. Again sorry if it came across as righteous. It just felt good to arrive with an answer that no one was (really) willing to help me with.
__________________
68C | Developer License | Running v4.1.3

Last edited by industrialpost; 06-18-2009 at 05:58 AM.
industrialpost is offline   Reply With Quote
Old 06-18-2009, 06:05 AM   #4
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,073
Rep Power: 32
bowers01 is on a distinguished road
Default

with all due respect 68c supply a script that works how it is ment straight out of the box. If you want to customize it thats up to you. I was suprised how they still suported it after the user has changed the script.
It is not up to 68c to help you change the template, the support is really there for problems you have with the script not customization, the templates that coem with it work faultlessly. I found the support to be 20/10 every time i have contacted them. They have gone out of their call of duty to help me in the past when a lot of other companies would have just said "You want to change it you are on your own"

Just my opinon
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 06-18-2009, 09:49 AM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,342
Rep Power: 132
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by industrialpost
I mean, stop and take the time to really listen to what I was saying.
Or maybe, just maybe you could stop whining that the68c templates ARENT RIGHT and actually simply state what you are looking to accomplish.

Im sorry you didnt get the help you wanted but guess what. I DONT GET PAID TO BE HERE. I have a full time job and a family to feed. The time I spend here FREELY to help WHERE I CHOSE is time away from them and my other responsibilities.

Your incompetence at design is not my fault. Your inability to figure something out is not my fault. Your dislike for the 68C default templates is not my fault. If you would have simply taken the time you spent here complaining about how the template IS NOT RIGHT and actually educated yourself on the fundamentals of CSS and got out from behind your dreamweaver crutch you may have solved the problem a lot sooner.

I explained to you early on I am not a designer and the answer to your question was not readily obvious to me or I would have offered it up. At the same time I was not going to spend extensive amounts of MY TIME fixing your problem. As it says in my forum signature, I am not an employee of 68C, I dont get paid for this and my time is voluntary. A great many people have benefited from my time. Many of which are other designers or coders who are getting paid by clients to do something they are incapable of, they come here and I end up doing their job for them while they collect a check and if Im lucky I get a thank you. Maybe the same applies to you or perhaps your site is your own, either way I dont care. The 68C free support covers getting the script up and working as designed. Modifications after that are your responsibility but they furnish us users a forum with which to exchange ideas and knowledge. NO WHERE does it state that 68C, or the volunteer mods will babysit you.

Having said all of that your incessant whining and attitude has just encouraged me to use the oh so cool "ignore" functionality of the VB script. That way you wont have to waste any more time explaining how wrong something is to me.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 06-18-2009, 10:32 AM   #6
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,061
Rep Power: 61
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I appreciate that you posted the final code that you came up with to resolve YOUR issue. That is how a free community forum works and helps those that are part of it.

I don't appreciate the attitude and the accusations toward 68C and those trying to help you especially when they don't seem to be founded. As Larry pointed out, we volunteer our time here on the forums and offer free advice and support here.

If you purchase a new car and you decide to replace the radio with another one. In doing so, you screw up the ignition wiring so now your car won't start. Is the car manufacturer responsible to fix the issue that you created? While trying to fix it on your own and you ask others for help and their advice and suggestions don't resolve the issue based on the pictures that you took of your newly installed radio are they to blame?
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 06-18-2009, 02:46 PM   #7
Member
 
Join Date: May 2009
Posts: 66
Rep Power: 0
Thumbs up Take your licks and Be Objective. Part 1

Thank you guys for your insight in to this matter. And don't get me wrong, I really do appreciate any responses from this user forum. I would like to point out that regardless of your status of employee of 68c or not, there should be a Phone # set up so that users can call to help resolve code issues. This would have eliminated any judgments that are being conjured up because no one responding is willing to take a step back from this situation and learn from this exchange of support. No one that has responded has said, "What can we do better in the future for our users with regards to support?" EMAIL SUCKS. And my intention was not to blast anyone, just to express my frustration in this initial question.

Quote:
Originally Posted by seymourjames
The template works fine in its original state. It will also work if it is modified correctly.
This is interesting. I went back and restarted from the beginning with the "default" template and enabled it so that everyone could see what I was talking about. I even provided links. I also asked if anyone wanted a static visual. And through this I proved that with the no other changes other than color changes, that the template's core code worked fine. However the template assumes that the entire page is white. What I mean by this, is that there is no provision for making a simple color change. This is not custom coding. This is just a simple color change.

Quote:
Originally Posted by seymourjames
You happen to choose a more difficult one because you did not posses the knowledge to do so.
Sooo... isn't this purpose of the forums? To help others regardless of the changes they are trying to make? Forums are an learning environment to share ideas, new or old. Obviously mine was new, based on the backlash. Definitely got the canned CYA responses. You yourself knew what I was talking about, but didn't offer any assistance just a link to your site. Your custom code proves my point in your demo. However, this was the tipping point of resolving the "out of the box" behavior of the default temple. (By the way, Thank you!)


Quote:
Originally Posted by seymourjames
To criticize other people who were not able to help you (they were not even able to see your site for most of your posts) is unfair.
Again, I apologize. I was only trying to express my frustration from no one (except for Mike-in-Tosh) stopping to really look at my question. I feel like I was yelling "hello" in a crowed room. And no one really hearing me.

Quote:
Originally Posted by seymourjames
If you decide to modify the default template substantially as you have been doing all in one go (I managed to see our site 3 or 4 times in the last few days), then you should appreciate the outcome may not be what you wanted. No point complaining about that.
But here is the deal, (thanks to Larry, and I really mean that) the post started out as this but half way through he directed me to go back to the core code and try to get this strange behavior to show itself. And I did and it did. But it was at this point that the thread starting going around in circles. I am not sure why. It was plain as day to me especially after I gave the links to the pages I was looking and described in detail the areas of concern. How many other page elements can there be that are called "content" and "footer" with the out of the box code?

Quote:
Originally Posted by seymourjames
You will need the skills to rectify any problems you create or you should not be doing what you are doing. So to be harsh, it is you that is creating the issues and not the template itself. You are choosing to change it in such a way that it does not fly as you desire.
I do have skills. Otherwise the site wouldn't look as good as it does. However, I don't have all the skills. That is why I came to this forum, to gain insight from other developers that know the code inside and out. And that is why anyone comes to these forums right? To gain insight for things they don't understand. I didn't create this problem, it was already there. I just a simple color in the code is it was there. How can this be only me? Are we all lemmings and not able to think out of the box? And when asked to place the version of 68c and the type of license within out Signature on this forum, don't you think that perhaps if someone has purchase the developer license that they intend to change the heck out of the canned template? Clearly this was in my signature and yet here I am sharing a new concept, only to get a CYA response.


Quote:
Originally Posted by seymourjames
It was designed with a purpose in mind to make pages on a white background and not a panacea to all possible outcomes.
How can this be a panacea of possible outcomes? It is a simple behavior. One that you already knew how to fix.

Quote:
Originally Posted by seymourjames
Show me where it says this template will work with different background colors by simply changing the background color. It doesn't say that.
You are right. It doesn't address the question at all. Nothing.

Quote:
Originally Posted by seymourjames
If you want a great template then buy one, make one, modify one or use the default one with a white background but stop complaining.
Um, that is what I am doing. Modifying. And I just needed some simple help.

Quote:
Originally Posted by seymourjames
My straightforward advice is make small changes, one at a time and test the outcome at every step. Do things logically. Like the css validation process.
This is how I do things regardless. Make one change and then test it within the browser.The only thing I failed to do was the validation of HTML and CSS. This was new to me. And I figured it out. Thanks for the recommendation! However, like I said this was not an issue of validation. It was a strange behavior within the template out of the box that I was asking for troubleshooting help with.

Quote:
Originally Posted by bowers01
with all due respect 68c supply a script that works how it is meant straight out of the box. If you want to customize it that's up to you. I was surprised how they still supported it after the user has changed the script.
But again I didn't change anything other than the color. The behavior of this gap was already "not supported" in the out of the box code. This was an oversight on the developers. Simple as that.

Quote:
Originally Posted by bowers01
It is not up to 68c to help you change the template, the support is really there for problems you have with the script not customization
Sooo... isn't the forum open to anyone, especially those that have purchased the Developer License?? Of all the users, this group should be the most supported, because they have direct access to the code. And the 68c staff and forum moderators know (or at least should know) where to get the answers to the questions that this group posts to the forums. I have an idea. Why not create a new area based on license purchase? That way you know whether or not you can really take the users seriously. I feel I was not taken seriously. And where does it say that support is only regulated to as certain file? 68c provides the whole code! Script/code it is all the same - subject to modifying. If you don't support that, then what do you support?

Quote:
Originally Posted by bowers01
the templates that come with it work faultlessly. I found the support to be 20/10 every time i have contacted them. They have gone out of their call of duty to help me in the past when a lot of other companies would have just said "You want to change it you are on your own" Just my opinion
You are right. It works. But not without flaws. If it was faultless or flawless, then there would be no reason to have version upgrades. Am I right? So we are on v4.1.3 and Larry just mentioned to me that they are working on a new version roll out. Hmm. Interesting.

And yet, I got the 20/40 approach to my inquiry. But I give them props for at least having a forum and willing at face to help with the code. You are right, the responses could have been "you are on your own". And strangely even with the responses, I was on my own. Why? Not sure. My inquiry was on the simplest of levels and not that complicated to duplicate for those that know the code inside and out. I do not know the code inside and out, but I am starting to.
__________________
68C | Developer License | Running v4.1.3
industrialpost is offline   Reply With Quote
Old 06-18-2009, 06:04 AM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,947
Rep Power: 72
seymourjames is a jewel in the rough
Default

Code straight from our templates. The point is you keep posting and posting. What you need to do and finally you have done is take some responsibility for what you do and desire.


The default template was a free source provided under a gnu license by a chap called Solijca or something like that. The point is this. It can be a starting point or a finishing point for a 68C project or indeed neither of these. That is the decision of the developer and the skills he/she has to modify the template or create his own. The template works fine in its original state. It will also work if it is modified correctly. This second point is the point. It is easy to affect some modifications and more difficult to affect others. You happen to choose a more difficult one because you did not posses the knowledge to do so. Its relative to you. To criticize other people who were not able to help you (they were not even able to see your site for most of your posts) is unfair.

If you decide to modify the default template substantially as you have been doing all in one go (I managed to see our site 3 or 4 times in the last few days), then you should appreciate the outcome may not be what you wanted. No point complaining about that. You will need the skills to rectify any problems you create or you should not be doing what you are doing. So to be harsh, it is you that is creating the issues and not the template itself. You are choosing to change it in such a way that it does not fly as you desire. How can anyone know what others are going to do with it? The list of possibilities is infinite. It was designed with a purpose in mind to make pages on a white background and not a panacea to all possible outcomes. Show me where it says this template will work with different background colors by simply changing the background color. It doesn't say that. If you want a great template then buy one, make one, modify one or use the default one with a white background but stop complaining.

My straightforward advice is make small changes, one at a time and test the outcome at every step. Do things logically. Like the css validation process. If you make lots of changes without being cautious then expect it not to meet your requirements. If you really think after looking at it before doing all these changes at once, that it will not work as you require then you should design your own template or choose another. It is an investment and takes time to develop a template but there is nothing to stop you. There are lots of free templates which can be adapted to make a layout.tpl for example. It is a question of skill.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add days to expiration hel68c Technical Support 3 01-29-2009 06:01 PM
Stop the white lines when a listing is highlighted bowers01 Technical Support 2 08-12-2008 06:31 PM
I Just opened this site a few days ago... zman78 Site Critiques 4 05-12-2006 11:19 AM


All times are GMT -4. The time now is 06:58 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0