- Posts: 13
- Thank you received: 0
Re: Article title not correct in HTML code
-
Gabri
Inactive member - Topic Author
- New Member
Less
More
12 years 8 months ago - 2 years 7 months ago #17771
by Gabri
Article title not correct in HTML code was created by Gabri
Hi,
I've purchased Hot Cars Template and it's very nice. I have only one problem:
the article title isn't shown correctly in the HTML code.
For example, if you analyse the code of this page: joomla .gdvpixel.com/about/link you can see that on code
instead of
I don't know the problem, but I think that it could interfer with SEO..
Can you help me?
Thanks
I've purchased Hot Cars Template and it's very nice. I have only one problem:
the article title isn't shown correctly in the HTML code.
For example, if you analyse the code of this page: joomla .gdvpixel.com/about/link you can see that on code
Code:
<div class="item-page">
<h2>
Siti consigliati </h2>
Code:
<div class="item-page">
<h2>Siti consigliati</h2>
I don't know the problem, but I think that it could interfer with SEO..
Can you help me?
Thanks
Last edit: 2 years 7 months ago by milos.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17780
by ivan.milic
Replied by ivan.milic on topic Re: Article title not correct in HTML code
Its ok but there is lot of empty chars around <h2> tag so you maybes see it like that
Please Log in to join the conversation.
-
Gabri
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 8 months ago #17789
by Gabri
Replied by Gabri on topic Re: Article title not correct in HTML code
Yes, but why in HotJoomla demo website it's showed correctly?
I've also tried to install the hotstart with demo example and the problem is still present..
I've also tried to install the hotstart with demo example and the problem is still present..
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago #17803
by ivan.milic
Replied by ivan.milic on topic Re: Article title not correct in HTML code
That is not an problem at all. But if you want to make it without blanks , open:
templates\hot_cars\html\com_content\category\blog_item.php
modify like this:
templates\hot_cars\html\com_content\category\blog_item.php
Code:
<?php if ($params->get('show_title')) : ?>
<h2>
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>">
<?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</h2>
<?php endif; ?>
modify like this:
Code:
<?php if ($params->get('show_title')) : ?>
<h2><?php if ($params->get('link_titles') && $params->get('access-view')) : ?><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)); ?>"><?php echo $this->escape($this->item->title); ?></a><?php else : ?><?php echo $this->escape($this->item->title); ?><?php endif; ?> </h2>
<?php endif; ?>
Please Log in to join the conversation.
-
Gabri
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 8 months ago #17831
by Gabri
Replied by Gabri on topic Re: Article title not correct in HTML code
I've made the change, but now the title in some page isn't showed at all, in other stays with spaces..
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 8 months ago - 2 years 7 months ago #17845
by ivan.milic
Replied by ivan.milic on topic Re: Article title not correct in HTML code
file is in zipped attachment.Also check title where you entered it, maybe blanks come form there.
Last edit: 2 years 7 months ago by milos.
Please Log in to join the conversation.
Time to create page: 0.090 seconds