sino
Retired Forum Member-
Posts
44 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by sino
-
Hi all, After trying to integrate WHMCS with Drupal for a while, we finally surrenderd. Instead, we build the multilingual site purely with WHMCS. The theme is from Drupal and we did some CSS trick to move "Powered by WHMCompleteSolution" to the footer. Happy to know that multi subdomains is supported with WHMCS version 4.3. Any comments are welcome. Thanks for reading. W: http://www.sinoland.com
-
Sparky. You are great. Thank you.
-
It works now. But the pid value dosen't show up in the URL. <form method="post" action="{$smarty.server.PHP_SELF}?a=add&pid={$pid}&domainoption=subdomain"> <select name="pid"> {foreach key=num item=product from=$products} <option value="{$product.pid}"{if $product.pid eq $pid} selected="selected"{/if}>{$product.name}</option> {/foreach} </select> <input type="submit" value="{$LANG.ordernowbutton}" /> </form>
-
Hi othellotech, Thank you for your advice. You're right. I've changed the code as follows: <select name="pid[0]"> {foreach key=num item=product from=$products} <option value="{$product.pid}"{if $product.pid eq $pid} selected="selected"{/if}>{$product.name}</option> {/foreach} </select> <input type="submit" value="{$LANG.ordernowbutton}" onclick="window.location='{$smarty.server.PHP_SELF}?a=add&pid={$product.pid}'" /> Now it passes the pid value but only the last one, not the selected one. Still googling the answer. Thank you. Regards, Sino
-
Hi, We'd like to have a drop down menu to show the subdomains available for selection. We add the following code to products.tpl for testing purpose. We found that $product.pid doesn't pass to the URL when we submit the form. <form method="post" action="{$smarty.server.PHP_SELF}?a=add&pid={$product.pid}"> <select name="pid[0]"> {foreach key=num item=product from=$products} <option value="{$product.pid}"{if $product.pid eq $pid} selected="selected"{/if}>{$product.name}</option> {/foreach}</select><input type="submit" value="{$LANG.go}" /> </form> The drop down menu shows up correctly. However, URLs show as follows: URL before clicking "go" button, i.e. submit the form ../cart.php?gid=2 URL after submitting the form ../cart.php?a=add&pid= The pid value (selected subdomain) fails to pass to the URL. Please help. Thank you in advance. P.S.: There are already a number of members here expressed the need of multiple subdomains support. For the time being, we wish to test thoroughly if WHMCS suits our needs. Regards, Sino
-
Hi, I thought there should be one under /whmcs. After checking my first install (version 4.11) zip file, it seems that this file is created automatically, not sure if /whmcs/supportcenter.php is the same as /whmcs/admin/supportcenter.php. Sorry about my ignorance. Thank you. Regards, Sino
-
Hi, It seems that the file supportcenter.php is missing from the zip file of WHMCS V4.2.1 Stable Release (downloaded from WHMCS Client Area). Need this file for new installs. Regards, Sino
-
MOD : Multilingual Products (in fact any value you want)
sino replied to ServWise.com's topic in Third Party Add-ons
Hi, I encounter the same issue and discover that I forget to update the variable, say $groupname to {getlang data=$groupname lang=$language} in clientareaproductdetails.tpl. Have to update all variables in concern. Possible variables/files to update: {$product.productinfo.groupname} {$product.productinfo.name} viewcart.tpl (Web20cart) Hope this helps. Regards, Sino -
Hi, Thanks for your contributions. We can get the current php page name, say cart.php via {$smarty.server.PHP_SELF}. But for case like cart.php?a=add&domain=transfer, how can we get it and append "&language=English" to it,.i.e. cart.php?a=add&domain=transfer&language=English. Thank you in advance.
-
Finally I get rid of this pop-up message by adopting country flag as language switcher. Thank you. Ref: http://www.sinoland.com/whmcs
-
You're right. The page loads fine after clicking Retry. What is strange is that if you click refesh again for the same page, the message pops up again until you click other page. Language switcher like osCommerce doesn't behave this way. Better code the pull down language switcher with the codes{$smarty.server.PHP_SELF}?language=English That's why I consider it as sort of bugs.
-
If language is swiched via the following codes, no such message pops up. Prefer this. {$smarty.server.PHP_SELF}?language=English
-
The screen shot is from http://www.supervalueweb.com, not from my website. English screen shot is attached. Thank you. More information. The screen shot is taken from an English Windows 2000 server, IE 6.
-
I am using Chinese XP. I've uploaded a screen shot. If I switch language, click any page and refresh page, then no error occurs. If I switch language, then refresh, error occurs. Strange! Let me arrange an English version screen shot.
-
I tried Firefox 3.5.5. Still getting same error when I first switch language then refresh page.
-
MOD : Multilingual Products (in fact any value you want)
sino replied to ServWise.com's topic in Third Party Add-ons
Hi, It works now. I thought the latest version upgrade is for WYSIWYG editor only. Thank you. -
MOD : Multilingual Products (in fact any value you want)
sino replied to ServWise.com's topic in Third Party Add-ons
Hi, My database is utf8_unicode_ci. When I change all '<' to '<' and '>' to '>' via phpMyAdmin. It works. So how can I correct this issue? That is, '<' and '>' entered into admin. would be saved as '<' and '>' in the database respectively. I'm not good at those encoding and database. Please help. Thank you in advance. -
MOD : Multilingual Products (in fact any value you want)
sino replied to ServWise.com's topic in Third Party Add-ons
Hi, Thank you for your great contribution. I've followed all the steps carefully. However, I got the following output: Product Description English content Chinese content ... Group Name <English>English content></English><Chinese>Chinese content</Chinese>... http://www.sinoland.com/whmcs/cart.php?language=English The database value of product groups name is <English>Industry Web Hosting</English> Please help. Thank you. -
Same error occurs for IE 8. Got error when refresh page immediately after language switching. Error disappears if click other page.
-
Hi, I got Windows pop up message if I refresh the page immediately after switching language. If click other page after switching language, no error occurs. Just want to know if you guys get this error too. Tested in IE8 and Firefox 3.0. Switch language via the built-in pull down language switcher. Thank you.
-
You're welcome. What do you see when you refresh the page (support) right after switching language? (do not click other page before refresh).
-
Tried Fire Fox 3.0, same error occurs. Reload page right after language switch, error occurs. I'd use country flag to switch language then. Anyway, thank you for your help.
-
Using IE 7 Tried Fire Fox 3.0, same error occurs
-
To repeat the error, 1. Visit any WHMCS page 2. Switch language with the pull down language switcher 3. Reload the page The error doesn't occur when we switch language via the following URL .../whmcs/?language=language_name e.g. .../whmcs/?language=English Almost certain that it's a bug. The following language switch form does not do exactly the same thing as the above URL. <form method="post" action="/whmcs/submitticket.php" name="languageform"><strong>語系:</strong> <select name="language" onchange="languageform.submit()"><option value="English">English</option><option value="Traditional-Chinese" selected="selected">Traditional-Chinese</option><option value="Simplified-Chinese">Simplified-Chinese</option></select></form>
-
The error occurs in other WHMCS pages as well. It occurs after language switching. Just visited another multilingual WHMCS site, same error occurs after language switching. http://www.sinoland.com/whmcs/index.php http://supervalueweb.com/client/index.php
