CB Resources Links 2 Mods:Subcat mod 2 (below)
nph-build.cgi And db_utils.pl also included.
Mod shows subcats on home page like so,
Automotive (19)
Auto Dealerships
Auto Insurance
Bikes-Motorcycle
Parts Accessories
Mod shows the following for <%category_clean%>
Automotive : Auto Dealerships
Related Categories
Automotive : Auto Insurance
Automotive : Bikes-Motorcycle
Automotive : Parts Accessories
Presently a Webadverts banner call
Zone=<:%category_name%>
Will be filled in with
Zone=Automotive/Auto Dealerships;
I need it to be Zone=Auto_Dealerships
There are several problems with this.
1) <:%category_clean%> I don’t want Automotive : to show on category page titles and in related fields. I simply want the category name to show on category pages and the sub category name to show on sub category pages. I still need the URL to contain the full category and subcategory, just not print it where I specified above. I think the sub procedures that need changing are in nph_build.cgi below.
2) <:%category_name%> I also want the category name only, or if a category contains a sub category, the sub category only to be filled in for the zone=<:%category_name%> in banner calls. That means removing the category name and / if there is a sub category.
So I need to have a sub procedure that strips the (category name) and the ( : ) from categories with sub categories and store the results in a new variable to use for category page titles and related fields, and I need to have a sub procedure that strips the (category name and the (/) from categories with sub categories and store the results in a new variable to use for the zone calls.
See Attachment for the rest of the story.
Thanks for the help,
Jake
nph-build.cgi And db_utils.pl also included.
Mod shows subcats on home page like so,
Automotive (19)
Auto Dealerships
Auto Insurance
Bikes-Motorcycle
Parts Accessories
Mod shows the following for <%category_clean%>
Automotive : Auto Dealerships
Related Categories
Automotive : Auto Insurance
Automotive : Bikes-Motorcycle
Automotive : Parts Accessories
Presently a Webadverts banner call
Zone=<:%category_name%>
Will be filled in with
Zone=Automotive/Auto Dealerships;
I need it to be Zone=Auto_Dealerships
There are several problems with this.
1) <:%category_clean%> I don’t want Automotive : to show on category page titles and in related fields. I simply want the category name to show on category pages and the sub category name to show on sub category pages. I still need the URL to contain the full category and subcategory, just not print it where I specified above. I think the sub procedures that need changing are in nph_build.cgi below.
2) <:%category_name%> I also want the category name only, or if a category contains a sub category, the sub category only to be filled in for the zone=<:%category_name%> in banner calls. That means removing the category name and / if there is a sub category.
So I need to have a sub procedure that strips the (category name) and the ( : ) from categories with sub categories and store the results in a new variable to use for category page titles and related fields, and I need to have a sub procedure that strips the (category name and the (/) from categories with sub categories and store the results in a new variable to use for the zone calls.
See Attachment for the rest of the story.
Thanks for the help,
Jake