First open PHP file plus/search.php, the code is all copied,
Then create a new file named search_m.php.
Paste all the code in the search.php.
Search_m.php is still placed in the plus directory.
Then open the php file include/arc.searchview.class.php
Copy all the code,
Create a new file include/arc.searchview.classm.php code to paste in.
The next is to modify the PHP file, open the search_m.php file, inside the 13th line
Require_once (Dedeinc. " /arc.searchview.class.php ");
Revision changed to
Require_once (Dedeinc. " /arc.searchview.classm.php ");
Then open the include/arc.searchview.classm.php file and find line 131th
$tempfile = $GLOBALS [' Cfg_basedir ']. $GLOBALS [' Cfg_templets_dir ']
." /". $GLOBALS [' Cfg_df_style ']." /search.htm ";
Revision changed to
$tempfile = $GLOBALS [' Cfg_basedir ']. $GLOBALS [' Cfg_templets_dir ']
." /". $GLOBALS [' Cfg_df_style ']." /search_m.htm ";
Here is completely modified, is not very simple ah, for the novice is not difficult,
Here search_m.php and arc.searchview.classm.php file names can be changed at their own discretion.
After the modification, do not forget to add search_m.htm Mobile search template files in the template folder, weaving dream from the phone template files, as long as the simple changes can be used.
DEDECMS Mobile search does not jump mobile phone template solution