zoukankan      html  css  js  c++  java
  • asaph

    搞了几个小时总算搞好了,先看看asaph是什么

    Asaph

    Asaph is a micro-blogging system, focusing on collecting links and images from other pages. It allows you to post content directly from any page you are on. Asaph is not a full blown blog and it does not aim to be one — it just does this one task, but it's pretty good at it.

    The alternative Stickney Theme also shows date and author information for each post and allows posting of longer texts. Feel free to modify these themes to your liking, or create new ones.

    工程主页: http://www.phoboslab.org/projects/asaph

    安装只需设置三个项目就可以了

    $domain$absolutePath and $db. You also have the option to switch from the minimalist whiteout templates to the stickney templates by just replacing both occurrences of “whiteout” with “stickney” in the $templates setting.

    但是我搞了好久,还没搞好,主要是二级域名和二级目录的问题

    用二级域名

    // Domain name and path where Asaph is installed in
    public static $domain = 'asaph.schoolbaike.com';
    public static $absolutePath = '/';

    不行啊,改来改去就是不行,没辙,

    最后迫不得已放在二级域名的目录下

    // Domain name and path where Asaph is installed in
    public static $domain = 'blog.schoolbaike.com';
    public static $absolutePath = '/asaph/';

    终于Ok了,

    怎么换模板呢?

    You also have the option to switch from the minimalist whiteout templates to the stickney templates by just replacing both occurrences of “whiteout” with “stickney” in the $templates setting.

    在配置文件了把whiteout全都换成stickney就可以了啊!

  • 相关阅读:
    资料链接韦东山和尚观
    资源共享
    总结
    针对piix4_smbus ****host smbus controller not enabled的解决方法
    详解为什么32位系统只能用4G内存.
    在Server 2008下架设FTP服务器
    C面试题
    删除所有的.svn文件夹
    C语言宏定义技巧
    简单的重复登录控制(java版)
  • 原文地址:https://www.cnblogs.com/youxin/p/2261801.html
Copyright © 2011-2022 走看看