- Posts: 17
COMMUNITY FORUM
Sevel errors in category.php
- Niels Klint
- Topic Author
- Offline
- New Member
- Learning by doing
Less
More
10 years 8 months ago #124369
by Niels Klint
Sevel errors in category.php was created by Niels Klint
There are severel errors in the category.php
2 >> in close tag
line 58
line 89
line 151
line 179
line 207
line 236
and in item.php
line 309
Niels - DK
2 >> in close tag
line 58
<div class="subCategoryContainer<?php echo $lastContainer; ?>"<?php echo (count($this->subCategories)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('subCatColumns'), 1).'%;"'; ?>>
line 89
<div class="subCategoryContainer<?php echo $lastContainer; ?>"<?php echo (count($this->subCategories)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('subCatColumns'), 1).'%;"'; ?>>
line 151
<div class="itemContainer<?php echo $lastContainer; ?>"<?php echo (count($this->leading)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('num_leading_columns'), 1).'%;"'; ?>>
line 179
<div class="itemContainer<?php echo $lastContainer; ?>"<?php echo (count($this->primary)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('num_primary_columns'), 1).'%;"'; ?>>
line 207
<div class="itemContainer<?php echo $lastContainer; ?>"<?php echo (count($this->secondary)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('num_secondary_columns'), 1).'%;"'; ?>>
line 236
<div class="itemContainer<?php echo $lastContainer; ?>"<?php echo (count($this->links)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('num_links_columns'), 1).'%;"'; ?>>
and in item.php
line 309
<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"<?php if($this->item->params->get('twitterUsername')): ?> data-via="<?php echo $this->item->params->get('twitterUsername'); ?>"<?php endif; ?>>
Niels - DK
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 8 months ago #124370
by Yiota
Replied by Yiota on topic Re: Sevel errors in category.php
Where do you see these errors? Did you find them in the component files or your overrides files?
Please Log in or Create an account to join the conversation.
- Niels Klint
- Topic Author
- Offline
- New Member
- Learning by doing
Less
More
- Posts: 17
10 years 8 months ago #124371
by Niels Klint
Replied by Niels Klint on topic Re: Sevel errors in category.php
In the component files
components/com_k2/templates/default/category.php and components/com_k2/templates/default/item.php and
components/com_k2/templates/default/category.php and components/com_k2/templates/default/item.php and
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 8 months ago #124372
by Yiota
Replied by Yiota on topic Re: Sevel errors in category.php
What is the error? Do you see something in the frontend like something is not properly closed? The block of codes below don't contain any errors.
Please Log in or Create an account to join the conversation.
- Niels Klint
- Topic Author
- Offline
- New Member
- Learning by doing
Less
More
- Posts: 17
10 years 8 months ago - 10 years 8 months ago #124373
by Niels Klint
Replied by Niels Klint on topic Re: Sevel errors in category.php
Sorry - there was only one of them - I'll check again and come back
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
10 years 8 months ago #124374
by Yiota
Replied by Yiota on topic Re: Sevel errors in category.php
Thank you.
Please Log in or Create an account to join the conversation.