Feeds

509 items (508 unread) in 13 feeds

Firefox CFBU成员 Firefox CFBU成员

4 items tagged "Joomla"

Sense的部落格

  • Permalink for 'Joomla 几个常见问题的解决'

    Joomla 几个常见问题的解决

    Posted: August 8, 2008, 4:39pm PDT by admin
    LBL_TAG_TAGSJoomla  

    1,clean cache时,出现Fatal error: Only variables can be passed by reference in /home/bb/public_html/seo/administrator/components/com_cache/admin.cache.php on line 85
    解决:replacing at line 77 of admin.cache.php with
    $limit = $mainframe->getUserStateFromRequest( 'global.'.$option.'.limit', 'limit', $mainframe->getCfg('list_limit'));
    2,批量替换文章中的特定内容:
    UPDATE jos_content SET fulltext = replace(fulltext,"被替换的内容","替换成的内容");
    3,出现两个标题的问题
    menu-系统参数-显示页面标题-否 ,这个BUG好像在1.5.5中已经修正了。

  • Permalink for 'Joomla module-USGS Earthquake-抗震救灾 众志成城'

    Joomla module-USGS Earthquake-抗震救灾 众志成城

    Posted: May 14, 2008, 11:50pm PDT by admin
    LBL_TAG_TAGSJoomla  

    抗震救灾 众志成城 大爱无疆

          北京时间5月12日下午发生在四川汶川的强地震,让我们的同胞遭受巨大的磨难,让我们的祖国经受巨大的考验,也让我们面对噩耗承受着巨大的悲痛。面对这一巨大的灾难,它考验着我们国家应对灾难的能力、它考验着我们民族面对灾难的勇气、它考验着我们每一个企业的社会责任、它也考验着我们每一为站长、每一个国人的良心。虽然他们失去了家园,失去了亲人,但是还有13亿人民支持着他们!

          使用Joomla建站的站长们,快快行动起来,加入USGS Earthquake这个module,让会世界都知道China earthquake吧!

    模块下载地址: [www.flakkeeweer.nl]

    虽然是1.0的,我试了,1.5可以用的!

    注意:要修改里面的经度和纬度,四川汶川县的经度和纬度大约是104.95 E  32.10 N

    后台模块选项里面,Latitude是纬度,Longitude是经度,别搞错了哦。

  • Permalink for '[转]如何给每个category 以 table list 方式显示的文章列表设置默认显示条数'

    [转]如何给每个category 以 table list 方式显示的文章列表设置默认显示条数

    Posted: April 21, 2008, 8:53pm PDT by admin
    LBL_TAG_TAGSJoomla  

    转自: [www.maycode.com]

    Joomla 1.5.x的一个”BUG”吧,使用Category List Layout的格式输出分类文章的时候,默认是输出该分类的所有文章,如果文章数量很多的话,会严重影响网页打开的速度,而且页面也显得不美观,在后台一直找不到设置的地方,模版中也没找到,换了几个模版都是一样,这个问题多日困扰着我,常去的几个Joomla站点都找过了,发现很多人都有这个问题,都没有解决方法.

    昨天遇到,终于在Joomla-开源天空找到了答案,谢谢这个网站的站长.

    现在全文转载一下:

    我们知道,Joomla!中,每个文章分类默认的显示方式以表格的方式显示,每页显示的条数可以由用户在表格顶部的地方进行设置。可是对于一个新的 到访者,默认文章列表将显示所的条数,如果文章非常多,网速又慢,对于一个用户是不会等待这个页面下载完毕的,可能会早早的就离开了你的网站,因此需要设 置在这种情况下,每个页面显示文章的数量。

    我们需要修改 components/com_content/views/category/view.html.php文件 第68行,改为:
    if ($layout == 'blog') {
    if($limit == 0) $limit = $intro + $leading + $links;
    }
    else {
    if($limit == 0) $limit = 20;
    }

    这段代码修改后,就是对于layout不是blog,并且又没有指定每页显示数量的情况下,设置每页显示数目为20.

    提供一份我修改好了的文件,是1.5.3版本的,下载地址:

    http://www.mediafire.com/?tk9cznjiyty

  • Permalink for 'Joomla:export_content problem-title alias'

    Joomla:export_content problem-title alias

    Posted: April 4, 2008, 12:18am PDT by admin
    LBL_TAG_TAGSJoomla  

    When I transfer all my joomla 1.0’s content to 1.5,I found that the title alias was not transfered.I use the sh404SEF component to rewrite my site URL using the title alias as the SEF URL,so this is a big problem!

    But fortunately,I find the way so solve this problem.

    In PhpMyAdmin:

    1,chose the jos_content table,copy it structure and data to jos_content_bak.

    2,rename alias to alias2.

    3,add 1 field named alias after the id field.

    4, execute:

    UPDATE (jos_content LEFT JOIN jos_content_bak ON jos_content.`id` = jos_content_bak.`id`)
    SET jos_content.`alias`= jos_content_bak.`title_alias`

    5,what’s more?that’s all!