聯(lián)系官方銷售客服
1835022288
028-61286886
本標(biāo)簽需要【建站系統(tǒng)高級版】支持適用于 category.html list.html show.html調(diào)用當(dāng)前欄目的上一欄目和下一欄目上一欄目{category prev=$cat.id}{$t.
在文章發(fā)布界面,輸入標(biāo)題時,然后自動輸入關(guān)鍵詞 或者 自動獲取的詞語在文章內(nèi)容詳情頁面,可以自動管理到關(guān)鍵詞庫單頁中,show.html{loop $kws $name $url} {$name}{/
閱讀數(shù)統(tǒng)計方式是按訪客訪問一次計算一次,同一個訪客刷新頁面不加入計算(簡單的防止刷次數(shù))1、show.html調(diào)用代碼閱讀量代碼:{dr_show_hits($id)}顯示數(shù)字就表示成功了。當(dāng)內(nèi)容的點
掛鉤點名稱module_show用法舉例/config/hooks.php\Phpcmf\Hooks::app_on('備注信息', 'module_show', function($data) {
迅睿cms默認(rèn)情況下,模塊內(nèi)容頁面的模板是show.html,可以通過欄目屬性中修改本欄目下的內(nèi)容統(tǒng)一一個模板文件,例如改成show2.html作為本欄目的內(nèi)容模板。那么,在實際環(huán)境中需要為單獨的內(nèi)容
Jssdk在內(nèi)容頁面show.html模板頁面調(diào)用代碼:<?php \Phpcmf\Service::C()->init_file('weixin');$signPackage=\Phpcmf\Ser
dr_is_empty,dr_is_sys_301,dr_else_value,dr_safe_url,dr_diff,dr_array_keys,dr_array_value,dr_in_array,dr_array_intersect,dr_array_intersect_key,dr_strlen,dr_strpos,dr_stripos,dr_move_uploaded_file,dr_html2code,dr_code2html,dr_html_code,dr_oauth_list,dr_is_mobile,dr_is_admin_search_field,dr_get_array_key,dr_site_info,dr_site_value,dr_get_ftable,dr_get_ftable_array,dr_get_content_img,dr_get_content_url,dr_is_app,dr_is_module,dr_rp,dr_rp_view,dr_qrcode,dr_sec2time,dr_get_files,dr_get_image,dr_upload_temp_path,dr_star_level,dr_format_create_sql,dr_cms_domain_name,dr_lang,dr_client_data,dr_ueditor_html,dr_get_domain_name,dr_save_bfb_data,dr_avatar_dir,dr_avatar_path,dr_avatar,dr_member_info,dr_member_username_info,dr_list_function,dr_linkagepos,dr_linkage,dr_linkage_json,dr_linkage_list,dr_linkage_id,dr_linkage_cname,dr_linkage_level,dr_payform,dr_fieldform,dr_block,dr_var_value,dr_get_file,dr_down_file,dr_get_file_url,dr_field_options,dr_field_setting,dr_member_auth,dr_member_auth_id,dr_zhe_price,dr_price_value,dr_sku_value_name,dr_sku_price,dr_sku_name,dr_level_next_value,dr_html_auth,dr_pay_type_html,dr_pay_name,dr_pay_type,dr_pay_status,dr_pay_money_html,dr_clear_empty,dr_list_field_order,dr_array2array,dr_array22array,dr_is_use_module,dr_site_table_prefix,dr_module_table_prefix,dr_mform_table_prefix,dr_form_table_prefix,dr_icon,dr_file,dr_file_preview_html,dr_is_image,dr_format_option_array,dr_field_input,dr_dir_map,dr_file_map,dr_return_data,dr_form_hidden,dr_get_csrf_token,dr_form_search_hidden,dr_base64_encode,dr_base64_decode,dr_get_theme,dr_randcode,dr_dir_delete,dr_authcode,dr_now_url,dr_code,dr_sorting,dr_member_order,dr_show_stars,dr_ajax_template,dr_post_json_data,dr_catcher_data,dr_search_rewrite_encode,dr_search_rewrite_decode,dr_rewrite_encode,dr_rewrite_decode,dr_get_keyword,dr_safe_keyword,dr_safe_replace,dr_safe_filename,dr_safe_username,dr_safe_password,dr_rm_http,dr_safe_replace_path,dr_strcut,dr_wordcut,dr_random_color,dr_fdate,dr_date,dr_object2array,dr_arraycut,dr_string2array,dr_array2string,dr_mkdirs,dr_format_file_size,dr_keyword_highlight,dr_preg_html,_format_feed_content_url_length,dr_qrcode_url,dr_get_order_string,dr_discount,dr_distance,dr_square_point,dr_tpl_path,dr_array_rand,dr_array_sort,dr_get_form_post_value,dr_get_mform_post_value,dr_get_register_value,dr_tpl_file,dr_count,dr_http_prefix,dr_to_url,dr_mobile_url,dr_is_url,dr_url_prefix,dr_web_prefix,dr_url_full,dr_url_rel,dr_text_rel,dr_text_full,dr_member_group_etime,dr_member_group_dtype,dr_html2emoji,dr_clear_emoji,dr_text2py,dr_html2text,dr_htmlspecialchars,dr_is_root_path,dr_check_put_path,dr_debug,dr_code2utf8,dr_clearhtml,dr_filter_description,dr_get_description,dr_get_keywords,dr_redirect,dr_redirect_safe_check,remove_invisible_characters
【使用說明】如果你要啟用字符串混淆來防采集,請在文章內(nèi)容模板文件將內(nèi)容字段標(biāo)簽替換官方提供的默認(rèn)文章內(nèi)容頁模板路徑:pc:/template/pc/default/home/show.html手機:/
將文本中的相對路徑地址補全完整地址,形如以下格式:將src和href中包含的相對路徑轉(zhuǎn)化為補全地址;例如內(nèi)容show.html模板寫法為:{dr_text_full($content)}指定補全域名方
函數(shù)名:dr_get_content_kws例如提取show.html中的,那么寫法是:{php $kws = dr_get_content_kws($keywords, '模塊目錄需要填寫');}{
在模塊管理中的,模塊字段,找到內(nèi)容字段content然后,編輯內(nèi)容字段開啟分頁標(biāo)簽然后切換到發(fā)布內(nèi)容界面就可以看到!前端show.html內(nèi)容分頁標(biāo)簽寫法是:<!--如果存在分頁時循環(huán)輸出分頁數(shù)與標(biāo)題
方案一、將tag插件的關(guān)鍵詞給文章內(nèi)容加上關(guān)鍵詞內(nèi)鏈show.html頁面調(diào)用文章內(nèi)容方法為:{$content}那么內(nèi)鏈調(diào)用方法為:{dr_neilian($content,0,1)}內(nèi)鏈在本頁面打
一、語法{page ....}{/page}二、參數(shù)介紹參數(shù)介紹site站點id,默認(rèn)當(dāng)前站點,填寫其他站點id id指定顯示,多個id以小寫分號分開,例如1,2,3,4,5show有show參數(shù)表
需要安裝官方版的<百度地圖字段插件> 內(nèi)容詳情中(show.html) 模板中調(diào)用方法是:調(diào)用百度地圖:{dr_baidu_map($字段名, 17, '100%', '400', "密鑰", 'cl
本教程需要專業(yè)的PHP或模板標(biāo)簽技術(shù)基礎(chǔ)。本功能用于對數(shù)據(jù)的返回處理,例如把圖片數(shù)字id轉(zhuǎn)換為正式URL等等。例如:將show.html模塊內(nèi)容頁的變量進行實例化自定義輸出$api變量為返回的數(shù)據(jù)數(shù)組
表格字段Ftable 簡易循環(huán)調(diào)用代碼show.html頁面為例{loop $字段名 $v}第1列:{$v[1]}第2列:{$v[2]}第3列:{$v[3]}{/loop}示例創(chuàng)建一個3列的表格字段:
掛鉤點名稱module_show_share掛鉤點位置在共享模塊內(nèi)容識別模塊目錄之前執(zhí)行,開發(fā)者可以手動去改變mid參數(shù)用法舉例/config/hooks.php// appname指插件目錄,表示這
內(nèi)容詳情中(show.html) 模板中調(diào)用方法是:{if $字段名}{module module=模塊 IN_id=$字段名 return=r}{$r.url}{$r.title}......{/m
前端界面默認(rèn)網(wǎng)站表單模板介紹發(fā)布:/template/pc/web/default/form_post.html查看:/template/pc/web/default/form_show.html自定義網(wǎng)站表單模板介紹發(fā)布:/template/pc/web/default/form/表單表名_post.html查看:...
文章鏈接:http://aaaa/school-show-36.html分享出來的鏈接:http://aaaaaa/school-show-36.html?from=singlemessage&...
模板文件1、欄目封面:模塊目錄/show.html2、自定義模板:模塊目錄/自定義文件.html變量介紹變量代碼說明頁面頭部標(biāo)題頁面頭部關(guān)鍵字,采用網(wǎng)站關(guān)鍵字頁面頭部描述,采用網(wǎng)站描述欄目的內(nèi)容數(shù)組父欄目數(shù)組欄目的關(guān)系...
默認(rèn)情況下模塊表單提交頁面是單獨的一個頁面,而在實際項目中有時候需要把模塊表單提交頁面放到內(nèi)容詳情頁面,這樣可以不用跳轉(zhuǎn)到新頁面提交表單,而是直接在內(nèi)容中提交表單。1、以文章反饋表單為例2、在文章內(nèi)容頁面show.html,下面代碼中的‘fankui’需要改成你自己的表單別名{php extract(dr_get_mform_post_value(MOD_DIR, 'fankui'...
下圖界面就屬于共享欄目模式,他有欄目列表頁面、內(nèi)容詳情頁面組成默認(rèn)動態(tài)地址是這樣的:欄目列表頁面:/index.php?c=category&id=123 分頁:/index.php?c=category&id=123&page=222內(nèi)容詳情頁面:/index.php?c=show&id=123 分頁:/index.php?c=show&id=123&page=222...
XunRuiCMS框架支持讀取任何頁面的數(shù)據(jù)接口,接口格式如下:/index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&[任意頁面地址參數(shù)]一、舉例說明例如新聞詳情頁面的默認(rèn)地址是:http://www.demo.com/index.php?s=demo&c=show...
網(wǎng)站表單作為內(nèi)容的輔助,目前他沒有自定義url規(guī)則功能1、前端訪問表單的提交頁面/index.php?s=form&c=ceshi&m=post2、前端表單的數(shù)據(jù)列表頁面/index.php?s=form&c=ceshi3、前端表單的數(shù)據(jù)詳情頁面/index.php?s=form&c=ceshi&m=show&id=表單內(nèi)容ID網(wǎng)站表單的使用定位不同,因此內(nèi)容表沒有設(shè)計自定義url功能,只能由默認(rèn)...
1、安裝點贊插件2、選擇某個模塊,安裝到具體的模塊里面,如news模塊3、然后發(fā)布一篇文章,在訪問文章詳情頁面,就可以點贊了自定義模板show.html調(diào)用代碼可以在默認(rèn)模板中復(fù)制:有幫助{intva...
將指定pc地址轉(zhuǎn)為對應(yīng)的移動端地址函數(shù)名稱:dr_to_url循環(huán)體示例,以t前綴為例:{dr_to_url($t.url)}show.html內(nèi)容詳情頁面:{dr_to_url($url)}將域名替...
需求:默認(rèn)一篇內(nèi)容只有一個地址和模板,就如【show-123.html】,這種地址表示內(nèi)容詳情頁面;如果還需要為這個內(nèi)容創(chuàng)建多個頁面,例如【show-123-two.html】等。實現(xiàn)原理:使用新建控制器的方式來做新url地址構(gòu)成。實現(xiàn)方法:1、以news模塊為例,復(fù)制原有文件 dayrui/App/News/Controllers/Show.php2、粘貼為Two.php,內(nèi)容做一下變更:
函數(shù)名:dr_get_content_url例如提取show.html中的內(nèi)容字段中的全部視頻地址,內(nèi)容字段是content,那么寫法是:{php$videos=dr_get_content_url($content,'src','mp4');}{loop$videos$img}地址:{$img}{/loop}視頻數(shù)量:{count($videos)}提取3張視頻地...
前端界面默認(rèn)模塊表單模板介紹發(fā)布:/template/pc/web/default/mform_post.html列表:/template/pc/web/default/mform_list.html查看:/template/pc/web/default/mform_show.html自定義模塊表單模板介紹發(fā)布:/templ...