Author |
Message |
Topic: Upgraded to the latest version and unknown characters |
toplisek
Replies: 4
Views: 13170
|
Forum: Installation and Setup Posted: Thu Sep 09, 2021 9:36 am Subject: Upgraded to the latest version and unknown characters |
Thank you for the message. |
Topic: Upgraded to the latest version and unknown characters |
toplisek
Replies: 4
Views: 13170
|
Forum: Installation and Setup Posted: Tue Jul 20, 2021 4:48 pm Subject: Upgraded to the latest version and unknown characters |
I kindly ask you to send me exact file or folder where is defined encoding inside SmARTY source code which was downloaded. |
Topic: Upgraded to the latest version and unknown characters |
toplisek
Replies: 4
Views: 13170
|
Forum: Installation and Setup Posted: Thu Jul 15, 2021 3:24 pm Subject: Upgraded to the latest version and unknown characters |
I have upgraded to the latest version Smarty: Smarty-3.1.39.
When I test website it will work without any issue or an error but suddenly characters inside a message from the contact form are undef ... |
Topic: How to show 404 error if missing link? |
toplisek
Replies: 1
Views: 15962
|
Forum: General Posted: Wed Jul 07, 2021 1:08 pm Subject: How to show 404 error if missing link? |
How to show 404 error if missing link? |
Topic: How to avoid a warning inside smarty_internal_compilebase? |
toplisek
Replies: 1
Views: 14993
|
Forum: General Posted: Tue Jul 06, 2021 10:15 am Subject: How to avoid a warning inside smarty_internal_compilebase? |
PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in
Smarty-3.1.8/libs/sysplugins/smarty_internal_compilebase.php on line 75 |
Topic: Cookies assigned variable and stored into PHP variable |
toplisek
Replies: 4
Views: 4587
|
Forum: General Posted: Thu Nov 23, 2017 10:15 am Subject: Cookies assigned variable and stored into PHP variable |
Thank you for all replies. |
Topic: Cookies assigned variable and stored into PHP variable |
toplisek
Replies: 4
Views: 4587
|
Forum: General Posted: Wed Nov 22, 2017 12:32 pm Subject: Cookies assigned variable and stored into PHP variable |
Can you post example in this case as form has input fields. I'm new to this.
Usually it is solved using field names:
$smarty->assign("emailfield1", $_REQUEST['emailfield1']);
email v ... |
Topic: Cookies assigned variable and stored into PHP variable |
toplisek
Replies: 4
Views: 4587
|
Forum: General Posted: Tue Nov 21, 2017 2:49 pm Subject: Cookies assigned variable and stored into PHP variable |
I like to store cookies value from Smarty official variable into PHP varaible:
If I have form it will be assigned variable like: $smarty->assign("myemail", $_REQUEST['myemail']);
C ... |
Topic: Smarty detection for templates |
toplisek
Replies: 6
Views: 6915
|
Forum: General Posted: Fri Feb 17, 2017 2:49 pm Subject: Smarty detection for templates |
I have to detect URL page name and compare it if this is requested page.
If I detect tpl name and it is true I can publish Javascript only on tpl files that are validated as true. In this case I do ... |
Topic: How to enable Smarty variables inside JS files? |
toplisek
Replies: 10
Views: 18603
|
Forum: General Posted: Fri Feb 17, 2017 11:21 am Subject: How to enable Smarty variables inside JS files? |
I understand using tpl files and variables inside such files.
Issue is how to manage variables also inside js file.
If I add JS file like the following line:
<script src="js/javascript. ... |
Topic: Smarty detection for templates |
toplisek
Replies: 6
Views: 6915
|
Forum: General Posted: Fri Feb 17, 2017 11:11 am Subject: Smarty detection for templates |
I lke to set init function based on template detection. Template detection is actually current template file using $smarty.template.
How to achieve result using standard smarty function. Example is ... |
Topic: Smarty framework and config file |
toplisek
Replies: 4
Views: 6150
|
Forum: General Posted: Thu May 28, 2015 8:49 am Subject: Smarty framework and config file |
Thank you for your reply. I have managed. |
Topic: Smarty framework and config file |
toplisek
Replies: 4
Views: 6150
|
Forum: General Posted: Wed May 20, 2015 4:29 pm Subject: Smarty framework and config file |
Outside website root.
You mean outside public_html?
How to connect to bootstrap.php file as it is db connection... |
Topic: .conf files and location |
toplisek
Replies: 1
Views: 3432
|
Forum: General Posted: Wed May 20, 2015 11:19 am Subject: .conf files and location |
I like to know where to place actually .conf files within Smarty framework due to sensitive data. |
Topic: Smarty framework and config file |
toplisek
Replies: 4
Views: 6150
|
Forum: General Posted: Tue May 19, 2015 2:46 pm Subject: Smarty framework and config file |
I have file format as .config. Where is actually correct position of such file as it includes also MYSql or other sensitive data/credentials. |
|