Hardiga Posted December 27, 2012 Share Posted December 27, 2012 We are using custom template for coupe of years and some time ago all text which should be generated by template just disappeared from all pages. All logs are clear and I just can't figure out what happens. Maybe somebody had such problems? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 27, 2012 Share Posted December 27, 2012 Probably you have overwritten language files while updating WHMCS and so you have lost all your custom language variables. Simply restore all them from a backup file. 0 Quote Link to comment Share on other sites More sharing options...
Hardiga Posted December 27, 2012 Author Share Posted December 27, 2012 As I can see nothing changed in language files. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted December 27, 2012 Share Posted December 27, 2012 Then open the tpl where your text is not appearing and look for the specific variabile involved. Let's say that you can't see {$welcometext} in header.tpl. Copy "welcometext" and CTRL+F (Find) it in your lang/english.php or the language that you are using. Is it present inside your language file? 0 Quote Link to comment Share on other sites More sharing options...
Hardiga Posted December 28, 2012 Author Share Posted December 28, 2012 In header.tpl I have <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{$pagetitle}{if $kbarticle.title} - {$kbarticle.title}{/if}</title> <meta http-equiv="content-type" content="text/html; charset={$charset}" /> <meta name="keywords" content="{$LANG.keywords}" /> <meta name="description" content="{$LANG.desc}" /> But in source I have only <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Portal Home</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="keywords" content="" /> <meta name="description" content="" /> What does it mean? 0 Quote Link to comment Share on other sites More sharing options...
Hardiga Posted December 28, 2012 Author Share Posted December 28, 2012 You were right, thank you for help. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.