- Posts: 15
- Thank you received: 0
disable title link and readmore button
- matador
- Topic Author
- Offline
- New Member
Less
More
10 years 6 months ago - 10 years 6 months ago #1848
by matador
disable title link and readmore button was created by matador
Hi
how can i disble link title article in search resul and can change readmore text so
readmore: title article
sorry for my bad english
thanks
sorry for was for
CP 2.0 for J1.5 Priority Support
thanks
how can i disble link title article in search resul and can change readmore text so
readmore: title article
sorry for my bad english
thanks
sorry for was for
CP 2.0 for J1.5 Priority Support
thanks
Last edit: 10 years 6 months ago by matador.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
10 years 6 months ago - 10 years 6 months ago #1849
by andrea_4g
Replied by andrea_4g on topic disable title link and readmore button
The option to use the article title as read more is available in Custom Properties for Joomla 3.x. Previous version don't have such option.
To disable the link of the article title you need to make a modification to the code in file:
components/com_customproperties/views/show/view.html.php at line 175
from
to:
== Notice ==
This modification will be overwritten if you update Custom Properties.
To disable the link of the article title you need to make a modification to the code in file:
components/com_customproperties/views/show/view.html.php at line 175
from
Code:
$text .= "<div class=\"cp_title\">\n" .
"<a href=\"" . JRoute::_( $row->href) . "\">" . htmlspecialchars($row->title) . "</a>\n" .
"</div>\n";
Code:
$text .= "<div class=\"cp_title\">\n".htmlspecialchars($row->title)."</div>\n";
== Notice ==
This modification will be overwritten if you update Custom Properties.
Last edit: 10 years 6 months ago by andrea_4g. Reason: added line number
The following user(s) said Thank You: matador
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds