Links had a hack where you can make our own templates and import them the the code was something like this:
sub site_html_category {
# --------------------------------------------------------
# This rountine will build a page based for the current category.
my $template;
# Set the appropriate template file to load
if ($category_name =~ /^Entertainment/) {
$template = "Entertainment.html"; }
elsif ($category_name =~ /^Gameroom/) {
$template = "Gameroom.html"; }
elsif ($category_name =~ /^Health_and_Fitness/) {
$template = "Health.html"; }
elsif ($category_name =~ /^Business_and_Economy/) {
$template = "Business.html"; }
elsif ($category_name =~ /^Home_and_Garden/) {
$template = "Garden.html"; }
elsif ($category_name =~ /^Automotive/) {
$template = "Automotive.html"; }
elsif ($category_name =~ /^Art_and_Humanities/) {
$template = "Art.html"; }
elsif ($category_name =~ /^Education/) {
$template = "Education.html"; }
elsif ($category_name =~ /^Computer_and_Internet/) {
$template = "Computer.html"; }
elsif ($category_name =~ /^Food_And_Drink/) {
$template = "Food.html"; }
elsif ($category_name =~ /^Government/) {
$template = "Government.html"; }
elsif ($category_name =~ /^Kids_and_Family/) {
$template = "Kids.html"; }
elsif ($category_name =~ /^Reference/) {
$template = "Reference.html"; }
elsif ($category_name =~ /^Society_and_Culture/) {
$template = "Culture.html"; }
elsif ($category_name =~ /^Science/) {
$template = "Science.html"; }
else { $template = "category.html"; }
do they have a hack for links sql? and how can I import my links ones into links sql?
Tazmear
www.sagnetwork.com - Internet Portal
sub site_html_category {
# --------------------------------------------------------
# This rountine will build a page based for the current category.
my $template;
# Set the appropriate template file to load
if ($category_name =~ /^Entertainment/) {
$template = "Entertainment.html"; }
elsif ($category_name =~ /^Gameroom/) {
$template = "Gameroom.html"; }
elsif ($category_name =~ /^Health_and_Fitness/) {
$template = "Health.html"; }
elsif ($category_name =~ /^Business_and_Economy/) {
$template = "Business.html"; }
elsif ($category_name =~ /^Home_and_Garden/) {
$template = "Garden.html"; }
elsif ($category_name =~ /^Automotive/) {
$template = "Automotive.html"; }
elsif ($category_name =~ /^Art_and_Humanities/) {
$template = "Art.html"; }
elsif ($category_name =~ /^Education/) {
$template = "Education.html"; }
elsif ($category_name =~ /^Computer_and_Internet/) {
$template = "Computer.html"; }
elsif ($category_name =~ /^Food_And_Drink/) {
$template = "Food.html"; }
elsif ($category_name =~ /^Government/) {
$template = "Government.html"; }
elsif ($category_name =~ /^Kids_and_Family/) {
$template = "Kids.html"; }
elsif ($category_name =~ /^Reference/) {
$template = "Reference.html"; }
elsif ($category_name =~ /^Society_and_Culture/) {
$template = "Culture.html"; }
elsif ($category_name =~ /^Science/) {
$template = "Science.html"; }
else { $template = "category.html"; }
do they have a hack for links sql? and how can I import my links ones into links sql?
Tazmear
www.sagnetwork.com - Internet Portal