Support Forums

Can i fix the Ad box size?

This is a discussion on Can i fix the Ad box size? within the Technical Support forums, part of the Technical Support Forums category; Me again, Can i fix the Ad box size? I've got my categories setup but when i typed in a ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-07-2008, 01:30 PM   #1
Member
 
Join Date: Jun 2008
Posts: 35
Rep Power: 9
torrox is on a distinguished road
Talking Can i fix the Ad box size?

Me again,

Can i fix the Ad box size? I've got my categories setup but when i typed in a test advert the text made my page spread very wide instead of wrapping the text around. I'm sure it didn't do this the first time and i've not changed any of the code bar the logo. Do you think i've cocked something up when i've changed the logo...

Thanks
torrox is offline  
Old 06-07-2008, 01:50 PM   #2
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,938
Rep Power: 57
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

In order for someone to be able to provide you with any type of intelligent information, you need to provide more information.

What version of the software are you using? Which view are you talking about? What template are you using? Do you have a link so that we can see what you're talking about?

The quality of your help is directly correlated to the quality of your information.

-Mike
__________________
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)] 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  
Old 06-07-2008, 02:57 PM   #3
Member
 
Join Date: Jun 2008
Posts: 35
Rep Power: 9
torrox is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh
In order for someone to be able to provide you with any type of intelligent information, you need to provide more information.

What version of the software are you using? V4

Which view are you talking about? Ad View

What template are you using? Default

Do you have a link so that we can see what you're talking about?

The quality of your help is directly correlated to the quality of your information.

-Mike
Thanks for getting back to me.

Last edited by torrox; 06-09-2008 at 10:44 AM.
torrox is offline  
Old 06-07-2008, 07:31 PM   #4
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,938
Rep Power: 57
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

I'm not sure what you did to your layout.tpl file, but in viewing this page that you linked to has 53 errors. One of the biggest is the fact that your <body> tag is actually inside of the "header" which is a major NO NO!

It appears that your table for the listing is not balanced. In other words you have x number of columns in one row and y number of columns in other rows, etc. within the same table.

Your ad view is using the viewlisting.tpl template. Did you modify that? It seems as though it has been, because the objects within it seem to be placed different then the norm. An object that is defined as formleft certainly shouldn't be on the right hand side of the table.

You may want to compare your original download of those two templates (layout and viewlisting) against your modified files.

-Mike
__________________
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)] 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  
Old 06-08-2008, 06:29 AM   #5
Member
 
Join Date: Jun 2008
Posts: 35
Rep Power: 9
torrox is on a distinguished road
Default

The honest answer is i've only changed the logo with the code from one of the posts on this forum from a member writing a helpful how to book. I doubt this is wrong as it'e been used by others already so unless i've done something in dreamweaver by mistake i'm at a loss...

Ok thanks for looking, i presumed as i hadn't changed the code it must be something i'd changed a setting on. I should really have read the code first, sorry for wasting your time. I'll go and take a look.
torrox is offline  
Old 06-08-2008, 08:14 AM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,227
Rep Power: 128
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

The easiest test to see if its something you did would be to rename your changed layout.php template and reupload a fresh one from the zip file and see if the problem goes away, if it does its something you (or dreamweaver) did.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 06-08-2008, 08:54 AM   #7
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,938
Rep Power: 57
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by torrox
The honest answer is i've only changed the logo with the code from one of the posts on this forum from a member writing a helpful how to book. I doubt this is wrong as it'e been used by others already so unless i've done something in dreamweaver by mistake i'm at a loss...

Ok thanks for looking, i presumed as i hadn't changed the code it must be something i'd changed a setting on. I should really have read the code first, sorry for wasting your time. I'll go and take a look.
I wrote that tutorial.

What you have in your layout.tpl is not the way it is in the free tutorial that I wrote. Check your code and make sure that you have what is supposed to be in the header is in the header. In addition, ensure that you take out the <body> tag in the header and put it right after the </header> tag.

You're NOT wasting people's time by asking a question on here. That's what the forum is for.

-Mike
__________________
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)] 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  
Old 06-08-2008, 09:07 AM   #8
Member
 
Join Date: Jun 2008
Posts: 35
Rep Power: 9
torrox is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh
I wrote that tutorial.

What you have in your layout.tpl is not the way it is in the free tutorial that I wrote. Check your code and make sure that you have what is supposed to be in the header is in the header. In addition, ensure that you take out the <body> tag in the header and put it right after the </header> tag.

You're NOT wasting people's time by asking a question on here. That's what the forum is for.

-Mike
Thanks folks, I am wasting time if i don't check the basics first.
The forum is a great though cheers, there aren't many services with this level of support!
torrox is offline  
Old 06-09-2008, 10:19 AM   #9
Member
 
Join Date: Jun 2008
Posts: 35
Rep Power: 9
torrox is on a distinguished road
Question

Quote:
Originally Posted by Lhotch
The easiest test to see if its something you did would be to rename your changed layout.php template and reupload a fresh one from the zip file and see if the problem goes away, if it does its something you (or dreamweaver) did.
OK folks, sorry but this is still making me feel stupid.

I've replaced the files as suggested with the original zip files, i've added my logo and footer details as described in the Mike-N-Tosh tutorial (Thanks for that by the way ). My heads back on it's shoulders thankfully, F knows what did that LOL

But, (yep sorry here comes the but) i'm still getting a weird LONG Ad.

If i was just typing as normal for an ad i would of course drop to the next line, but in the interests of showing prospective advertisers how many characters they could get, i just typed abcdefghijklmnopqrstuvwxyz and copied and pasted it until i'd run out of space in the ad. I presumed this would just wrap but instead i've got a Long Ad...

I might just be being pedantic, but if one of my customers does this in the future it'd look pants and i'd end up with an off e-mail, so i was just hoping to fix all the glitches before launch.

thanks for the help in advance
torrox is offline  
Old 06-09-2008, 10:30 AM   #10
curmudgeon
 
Join Date: Mar 2006
Posts: 5,227
Rep Power: 128
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 torrox
If i was just typing as normal for an ad i would of course drop to the next line, but in the interests of showing prospective advertisers how many characters they could get, i just typed abcdefghijklmnopqrstuvwxyz and copied and pasted it until i'd run out of space in the ad. I presumed this would just wrap but instead i've got a Long Ad...

I might just be being pedantic, but if one of my customers does this in the future it'd look pants and i'd end up with an off e-mail, so i was just hoping to fix all the glitches before launch.

thanks for the help in advance
There in lies your problem. The fields "Word wrap" which means they will wrap by breaking a line IN BETWEEN words. Since you have no spaces, there is no break with which to wrap. Try putting a few spaces in their like a real world ad would have.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes



All times are GMT -4. The time now is 02:41 AM.


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