小编EVG*_*EVG的帖子

定制facebook喜欢的盒子

我想自定义我的facebook喜欢的设计.香港专业教育学院已经搜索网络并按照所有说明,这是我尝试过的链接,但它似乎已经过时了:

http://www.daddydesign.com/wordpress/how-to-customize-your-facebook-fan-box/

网上有很多教程,但有相同的解决方案.

在这里被困了近2个小时.任何人都知道如何定制喜欢的盒子?

非常感谢您的帮助.

css iframe facebook facebook-like

17
推荐指数
3
解决办法
4万
查看次数

django扩展问题 - 子模板没有显示

我已经配置了必要的东西来在django中使用扩展模板功能.这是我的代码:

在settings.py中

def my_dir():
    import os.path
    return os.path.abspath(os.path.dirname(__file__))
TEMPLATE_DIRS = ( my_dir() + '/app/templates', ) #dynamic template directory
Run Code Online (Sandbox Code Playgroud)

在base.html中 - 位于app/templates/site中

....
<div id="SideBar" class="FloatLeft">
{% block sidebar %} {% endblock %}
</div>
....
Run Code Online (Sandbox Code Playgroud)

在sidebar.html中 - 位于app/templates/site中

{% extends "site/base.html" %}
{% block sidebar %}
   some code here
{% endblock %}
Run Code Online (Sandbox Code Playgroud)

我已经尝试了base.html中的{%include"site/sidebar.html"%}标记来检查模板目录,是的包含标记正在工作...

{%extends%}中的问题是什么?为什么它没有检测到它的父模板..

请帮助我们..你的帮助非常感谢...我还在等待答案.. tnx

django django-templates

6
推荐指数
1
解决办法
6416
查看次数

标签 统计

css ×1

django ×1

django-templates ×1

facebook ×1

facebook-like ×1

iframe ×1