Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Hỏi về cách điều chỉnh giới hạn số ký tự tiêu đề của Module Popular
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...
  • Page:
  • 1

TOPIC: Hỏi về cách điều chỉnh giới hạn số ký tự tiêu đề của Module Popular

Hỏi về cách điều chỉnh giới hạn số ký tự tiêu đề của Module Popular 6 years, 4 months ago #34739

Nhờ Hổ trợ kỹ thuật hướng dẫn cách giới hạn lại số ký tự trong Module Popular .
Hiện tại trang web mình đang làm nó ko kiểm soát đc số ký tự dẫn đến chổ dài chổ ngắn trong module này. Vui lòng xem hình.
The topic has been locked.

Re: Hỏi về cách điều chỉnh giới hạn số ký tự tiêu đề của Module Popular 6 years, 4 months ago #34747

Dear ledaiduong

Bạn có thể cắt chuỗi trong file: \templates\sj_expnews\html\mod_k2_content\Sidebar\default.php và tìm đoạn code

<a class="moduleItemTitle" href="<?php echo $item->link; ?>" title="<?php echo K2HelperUtilities::cleanHtml($item->title); ?>"><?php echo $item->title; ?></a>

sửa thành:

<a class="moduleItemTitle" href="<?php echo $item->link; ?>" title="<?php echo K2HelperUtilities::cleanHtml($item->title); ?>"><?php echo substr($item->title,0,30); ?></a>

sau thay đổi số ký tự 30 ở trên.

p/s: Theme của bạn đang dùng là sj expnew, nhưng topic lại để sj new làm mình nhầm lẫn


thanks
The topic has been locked.
The following user(s) said Thank You: ledaiduong

Re: Hỏi về cách điều chỉnh giới hạn số ký tự tiêu đề của Module Popular 6 years, 4 months ago #34753

Hi bạn Cảm ơn bạn nhiều ,
Cái này đã làm được rồi ,
Tks
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes