Forums / General Questions / Ads on a page

Ads on a page

Views: 1,725

Results 21 to 28 of 28
8 Dec 2011, 4:21 AM
#21
slater555 avatar

slater555

Zen Follower

Join Date:
Jan 2011
Posts:
367
Plugin Contributions:
0

Ads on a page

in includes/templates/my_own_template/templates I added the file
tpl_index_categories.php

8 Dec 2011, 5:02 PM
#23
slater555 avatar

slater555

Zen Follower

Join Date:
Jan 2011
Posts:
367
Plugin Contributions:
0

Re: Ads on a page

if i do that the site disapears

8 Dec 2011, 5:59 PM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Ads on a page

Okay, so we know the problem is in the define. Now to isolate it.
Try removing sections of the defined text, leaving properly formatted HTML each time, and see if one of those removals eliminates the fatal error. (Don't worry about the final function right now.)

8 Dec 2011, 6:04 PM
#25
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Ads on a page

target="_blank"><b>DVD recorders</a></b>?Here is one HTML error (not related to the blank screen issue).In a link, you open a <b> tag, then close the link before the closing </b> tag. Crossing nested tags is not allowed.
Who coded the HTML for this? It is fundamentally flawed in its organization.

8 Dec 2011, 6:08 PM
#26
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Ads on a page

Found it.
so that you'll be able to choose the best one.

Escape the apostrophe with a backslash .
so that you'll be able to choose the best one.

9 Dec 2011, 8:14 AM
#28
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Ads on a page

I thought the random singular/plural variable naming feature had struck again... but $current_categories_id is only used instead of $current_category_id in two places (music product-related), and these are probably typos.