存档

2010年8月 的存档

最简单的去掉Virtuemart Cart中的logo方式

2010年8月21日 没有评论

原文地址:

http://www.newworlddesigns.co.uk/blog/removing-hiding-the-virtuemart-logo-from-an-empty-cart-module/

I have wrote many times on the VirtueMart forums, on how to remove/hide the VirtueMart logo fro the Virtuemart Cart Module, but thought I would add it in here as well.

.vmCartModule img {
        display: none;
}

If you add this to your main template style sheet and refresh your page, it should work, you may need to do a cache refresh as well by holding down Shift+Reload (Shift+F5)
/templates/xxxxx/css/template.css

Is the usual path to your template css.

Some people say it should be here

/components/com_virtuemart/themes/theme.css

But to be honest it makes no difference at all, as long as it is loaded in, it can be anywhere you like.

分类: 技术 标签:

VirtueMart 配置gamil发信技巧-Mail Settings设置

2010年8月21日 1 条评论

当使用Virtuemart做为joomla的商店程序时,如果网站配置的发信邮箱是gmail的,可能会出现错误,导致无法发送信件。

解决方法如下:

在Site – Global Configuration – Server – Mail Settings下按如下设置:

mail server: SMTP server
Adress: name@gmail.com
Name: name
SMTP identification: Yes
SMTP security: none
Port: 25
User: name@gmail.com
Passwd: passwd
Smtp host: ssl://smtp.gmail.com:465

And IT IS NOT EQUIVALENT TO

(如果用下面的设置,目前来看会出错!)

mail server: SMTP server
Adress: name@gmail.com
Name: name
SMTP identification: Yes
SMTP security: SSL
Port: 465
User: name@gmail.com
Passwd: passwd
Smtp host: smtp.gmail.com

原文地址:http://forum.virtuemart.net/index.php?topic=58983.15

疯了

2010年8月18日 没有评论

广州交警疯了

经常乱跑都没有被抓,今天这么倒霉,被抓了现行,罚款200,扣3分!

刚刚才换了驾照,今天就被抓!!

分类: 随语 标签:

换了新驾照

2010年8月17日 2 条评论

 20100817396

分类: 图片 标签:

如何让IIS7显示ASP错误的详细信息

2010年8月12日 没有评论

在网站目录下建立web.config文件,内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true"/>
    </system.webServer>
</configuration>

这样就可以重新显示详细信息了。在Godaddy的虚拟主机上测试可行。

原文如下:

地址:http://internetoptimizers.com/2010/01/24/classic-asp-using-iis7-error-handling-500-internal-server-error-godaddy/

Classic ASP using IIS7 – Error Handling – 500 Internal Server

Howdy All,

This is a common problem I see lots of people running into since GoDaddy upgraded from IIS 6 to IIS 7.  The below story is a similar situation that I had while trying to work on a Classic ASP web site hosted at GoDaddy. I have included the answer/fix below.
Original Story:  I am with godaddy for webhosting right now. The have me using IIS7.
When I run my ASP page I get the error :

Error 500 :There is a problem with the resource you are looking for,
and it cannot be displayed.

Basically, there is an error in my code, however, it doesn’t tell me
the line number the error was found on. After searching the web I
found out how to turn on the more detailed error reporting… but you
have to do it on the webserver. I don’t have access to the webserver.

After spending allot of time chatting with godaddy, they claim I can
turn this on in the web.config file. I know this can be turn on for
ASP.NET in the web.config file… but as far as I know, not classic
asp.

OK…. Here is the web.config file I use that gives you the old school error handling data:

Step 1.  Open a text document.

Step 2.  Insert this code:

<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed"/>
        <asp scriptErrorSentToBrowser="true"/>
    </system.webServer>
</configuration>

Step 3.  Save the file as Web.Config

Step 4.  Upload the Web.Config file to your host web directory.

I hope this helps people avoid the few hours I was on the phone with GoDaddy technical support.  :)   Please let me know if this helps anyone out.