Cho em hỏi muốn chèn link kiểu này thì làm thế nào Anh. Anh xem HD em nhé!
Mình HD bạn thêm câu thế này vào cuối mỗi bài viết
Các bạn đang xem bài viết Chứng nhận Đại lý Du lịch độc quyền của Cali Travel & Services tại Miền Bắc được đăng trong chuyên mục Tin tức.
Mở modules/news/language/vi.php, thêm vào cuối file
$lang_module['detail_note_bottom'] = 'Các bạn đang xem bài viết <a href="%1$s" title="%2$s"><strong>%2$s</strong></a> được đăng trong chuyên mục <a href="%3$s" title="%4$s"><strong>%4$s</strong></a>';
Mở modules/news/funcs/detail.php
Tìm
$contents = detail_theme($news_contents, $array_keyword, $related_new_array, $related_array, $topic_array, $content_comment);
Thêm bên trên
$lang_module['detail_note_bottom'] = sprintf($lang_module['detail_note_bottom'], $client_info['selfurl'], $news_contents['title'], $global_array_cat[$catid]['link'], $global_array_cat[$catid]['title']);
Mở themes/ten-theme/modules/news/detail.tpl thêm đoạn này vào vị trí muốn hiển thị ghi chú.
{LANG.detail_note_bottom}
Còn module Tours thì issue vào kho code giúp mình nhé.
Trung tâm ứng dụng NukeViet
Ghi rõ nguồn khi sao chép thông tin từ website này.
Sử dụng CMS NukeViet, thiết kế bởi TDFOSS.,LTD