Detail: RSFORM mapping create new article submit. Mapping CreateDate is the same format database datetime.
#Step 1: Add 1 input-text name 'CreateDate' - class hidden (invisible)
#Step2: Add default value:
//<code>
return date('o-m-d H:i:s');
//</code>
This return value the same format database datetime save.
Time zone - example GTM+10
//<code>
$date = date("Y-m-d H:m:s", (time()-(60*60*10)));
return $date;
//</code>
#Step3: mapping add createdate field: {CreateDate:value}
Chủ Nhật, 27 tháng 12, 2015
RSFORM dropdown value | text
RSFORM Pro - joomla 3.x
Dropdow item add:
value|Text
Note: separate '|' char.
Example: dropdown require
0|TextA
1|TextB
...
Dropdow item add:
value|Text
Note: separate '|' char.
Example: dropdown require
0|TextA
1|TextB
...
Thứ Sáu, 11 tháng 12, 2015
CB login redirect go to homepage.
Joomla 3.x, Community Builder(CB)
Time: December 2015
Description: SEF turn on, CB redirect after login go home page.
1. Turn OFF SEF joomla : CB redirect SUCCESS.
2. Turn ON SEF joomla: CB redirect to homepage.
Reason: Confict - SEF joomla CB login redirect >< com_redirectonlogin redirect
Solution: admin>Extension>com_redirectonlogin config login redirect
Time: December 2015
Description: SEF turn on, CB redirect after login go home page.
1. Turn OFF SEF joomla : CB redirect SUCCESS.
2. Turn ON SEF joomla: CB redirect to homepage.
Reason: Confict - SEF joomla CB login redirect >< com_redirectonlogin redirect
Solution: admin>Extension>com_redirectonlogin config login redirect
Đăng ký:
Bài đăng (Atom)