- Posts: 8
COMMUNITY FORUM
Strange character appearing everywhere!!!
- jason
-
Topic Author
- Offline
- New Member
i have checked the k2 template files, and searched through all files but cannot the "1"!!
It doesn't appear in any of the defaut joomla 2.5 articles, any suggestions...help
<!-- Plugins: AfterDisplayTitle -->
1
<!-- K2 Plugins: K2AfterDisplayTitle -->
www.motester.myzen.co.uk/motportal
Please Log in or Create an account to join the conversation.
- Holger Grau
-
- Offline
- New Member
- Posts: 3
I have exactly the same problem, does anyone have an idea?
Would be great, thanks!!!
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
cant remember what caused it...
search for "removing"
Please Log in or Create an account to join the conversation.
- Pauly
-
- Offline
- New Member
- Posts: 9
getk2.org/community/New-to-K2-Ask-here-first!/9854-Removing--1-in-Article-Header#11174
Here was the solution-
Found the solution error in the code:
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->AfterDisplayTitle; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
Add the word "K2" before "AfterdisplayTitle"
In
/components/com_k2/templates/default/item.php
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Here is a sample page with the "1" after the title:
50.116.122.123/~drjill/index.php/services/behavior-clinic/itemlist/category/22-private-consultations-and-follow-ups
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
I needed to add it in the category_item.php also.
My bad.
Why is this necessary. I'm using K2 v2.5.7 You would think if this was an error that it would have been picked up in the last few versions.
Please Log in or Create an account to join the conversation.
- HMEP
-
- Offline
- New Member
- Posts: 1
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->AfterDisplayTitle; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<!-- Plugins: AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
Just comment out the first one if it's not working for you.
<!-- Plugins: AfterDisplayTitle -->
<?php // echo $this->item->event->AfterDisplayTitle; ?>
<!-- K2 Plugins: K2AfterDisplayTitle -->
<?php echo $this->item->event->K2AfterDisplayTitle; ?>
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
1. Why is this necessary?
2. Is it because of a combination of things on my site?
3. Why are there not thousands of people with this issus?
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Odin Mayland
-
- Offline
- Platinum Member
- Posts: 404
Please Log in or Create an account to join the conversation.
- Robert Marquis
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Rahul Dhangar
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.