Files subcategories on same page below categories
error 232
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Files subcategories on same page below categories
Philipp Esselbach
From: -
Editor
0From: -
You can't change the word separators to hyphen on existing websites. All SEO options are for fresh installs only.
I possibly add a rewrite option to rewrite existing SEO URLs in one of the next releases.
I possibly add a rewrite option to rewrite existing SEO URLs in one of the next releases.
1 Re: Files subcategories on same page below categories
error
OP
232
From: -
From: -
Removed index.php from PHP part and it works now. How to separate subcats with coma or hyphen? Also i thing there is a bug when you enable:
Use hyphen instead of underscore as word separators for SEO URLs
Use hyphen instead of underscore as word separators for SEO URLs
1 Re: Files subcategories on same page below categories
error
OP
232
From: -
From: -
Clicking on subcat get me to site index.
1 Re: Files subcategories on same page below categories
Philipp Esselbach
From: -
Editor
0From: -
You need to change the template files_categories_list
HTML part:
PHP part:
HTML part:
<!-- Template: files_categories_list -->
<div style="font-size: 18px;"><a href="https://www.contentteller.com/index.php{$insert['param_ct']}files{$insert['param_action']}categories{$insert['param_page']}{$insert['filecat_seo']}.html">{$insert['filecat_name']}</a></div>{$subcats}<br />
{$insert['filecat_description']}<br />
<br />
PHP part:
global $database;
$result = $database -> dbquery( "SELECT filecat_name, filecat_seo FROM " . DB_PREFIX . "esselbach_ct_filescats WHERE filecat_parentcat = '" . $insert['filecat_id'] . "' ORDER BY filecat_name" );
$subcats = "";
while( list( $sub_name, $sub_seo ) = $database -> dbrow( $result ) )
{
$subcats .= " <a href=\"index.php" . $insert['param_ct'] . "files" . $insert['param_action'] . "categories" . $insert['param_page'] . $sub_seo . ".html\">" . $sub_name . "</a>";
}
As title says. Is it possible?
I want to put subcategories below each categorie here:
File Categories Overview
example:
The Website is a big database of PADs files for use by software authors, webmasters.
Thank you