在phpfox的注册页面上,将美国列为国家名单的首位
我很难把美国放在首位。我在countries.xml.php中更改了它:在phpfox的注册页面上,将美国列为国家名单的首位,php,mysql,xml,phpfox,Php,Mysql,Xml,Phpfox,我很难把美国放在首位。我在countries.xml.php中更改了它: <countries> <country iso="US" name="United States" /> <country iso="AF" name="Afghanistan" /> <country iso="AL" name="Albania" /> <country iso="DZ" name="Algeria" /> &l
<countries>
<country iso="US" name="United States" />
<country iso="AF" name="Afghanistan" />
<country iso="AL" name="Albania" />
<country iso="DZ" name="Algeria" />
</countries>
我清除了缓存并刷新ctrl+f5,阿富汗仍然在顶部。
有什么建议吗 如果您通过代码文件执行此操作,u可以将country的值设置为United States。
但在phpfox中,您可以通过存在country表的数据库对其进行更改。我以前使用过phpfox,这需要很多时间,但不管怎样,您的解决方案都在这里。它不起作用。我甚至删除了阿富汗,它仍然在那里工作,不必介意清除缓存。是的,数据库+清除缓存。还在xml文件中更改了它,并删除了orderinggud fogsy,我真的很高兴,至少我的小经验会起作用:p
->group('c.country_iso')
->order('')
->execute(($sIso == null ? 'getRows' : 'getRow'));