WordPress Chinese Forums's Archiver

easyman 发表于 2008-10-23 02:20

我用Arthemia发生错位

[url=http://www.onlyseven.cn/blog]www.onlyseven.cn/blog[/url][i]
麻烦各位帮我看看
首页正常
但是打开具体某个日志
底部的跑到侧边栏来了。。
[/i]

[[i] 本帖最后由 easyman 于 2008-10-23 10:18 编辑 [/i]]

plzon 发表于 2008-10-23 08:57

用FireFox錯位?

easyman 发表于 2008-10-23 08:58

[quote]原帖由 [i]plzon[/i] 于 2008-10-23 08:57 发表 [url=http://www.wordpress.org.cn/redirect.php?goto=findpost&pid=130322&ptid=22829][img]http://www.wordpress.org.cn/images/common/back.gif[/img][/url]
用FireFox錯位? [/quote]
我找到问题了
是因为我去掉了右边的广告栏了
造成了错位

现在这样去掉后
右边却留下了空白
麻烦你帮我看看

plzon 发表于 2008-10-23 09:16

因為我使用ie看不到錯位,只看到一個x空格,你是否只刪除了圖片?沒有修改模板?

easyman 发表于 2008-10-23 09:22

[quote]原帖由 [i]plzon[/i] 于 2008-10-23 09:16 发表 [url=http://www.wordpress.org.cn/redirect.php?goto=findpost&pid=130327&ptid=22829][img]http://www.wordpress.org.cn/images/common/back.gif[/img][/url]
因為我使用ie看不到錯位,只看到一個x空格,你是否只刪除了圖片?沒有修改模板? [/quote]
我去掉图片了就不错位了
但是留下了空白。。

plzon 发表于 2008-10-23 10:26

試試在你的模板中的sidebar.php中刪除
<div id="sidebar-ads">
xxx
</div>
就會將整個Adsense方塊刪除.

easyman 发表于 2008-10-23 10:47

[quote]原帖由 [i]plzon[/i] 于 2008-10-23 10:26 发表 [url=http://www.wordpress.org.cn/redirect.php?goto=findpost&pid=130371&ptid=22829][img]http://www.wordpress.org.cn/images/common/back.gif[/img][/url]
試試在你的模板中的sidebar.php中刪除

xxx

就會將整個Adsense方塊刪除. [/quote]

问题就在这里

删掉了就导致错位

因此我替换了那个图片文件

easyman 发表于 2008-10-23 10:59

文章前面的图片就是出不来

plzon 发表于 2008-10-23 12:35

im-FAQ 1 : How to get the thumbnail image resizer working??Actually the explanation above is clear enough for you to get the thumbnail working, but in case you missed something, you could read these step-by-step to-do list. Before you start, make sure that the image is already there, located in your own server. The script can not generate thumbnails if your image is located outside your server (eg. Flickr photos, Picassa, etc.)
[list=1][*]Be sure you have PHP 4.3 with GD-library installed on your server. PHP 5 is better.[*]Start from a fresh copy and upload the theme at [font=NSimsun]wp-content/themes/arthemia[/font]. Do not change ‘arthemia’ to anything because it will break [b]everything[/b].[*]Make the folder [b]“scripts”[/b] and [b]“cache”[/b] writable (777). These folder are located in [font=NSimsun]wp-content/themes/arthemia/[/font] and [font=NSimsun]wp-content/themes/arthemia/scripts/[/font]. You can do this using FTP or any online file manager from you web hosting company.[*]Add a custom field in the post. The custom field key MUST be [font=NSimsun]Image[/font] (letter cases are important).[*]Fill the custom field value with the path of your image. It MUST start with [font=NSimsun]wp-content[/font] I repeat it MUST start with [font=NSimsun]wp-content[/font]. If you have the image located at [font=NSimsun]http://www.yourblog.com/wp-content/uploads/2008/06/file_name.jpg[/font] then the key value of the custom field MUST be [font=NSimsun]wp-content/uploads/2008/06/file_name.jpg[/font] (Notice there is no [font=NSimsun]http://www.yourblog.com/[/font] in the value)[*]If you still have the problem, read the step-by-step procedures again, and again, and again. Trust me it’s working and many have succeeded making this thumbnail thing working.[/list]

resteven 发表于 2008-10-23 12:47

用ie和firefox都看了,都没有错位呀。只是,那个变色导航栏有些小问题

easyman 发表于 2008-10-23 12:54

[quote]原帖由 [i]resteven[/i] 于 2008-10-23 12:47 发表 [url=http://www.wordpress.org.cn/redirect.php?goto=findpost&pid=130450&ptid=22829][img]http://www.wordpress.org.cn/images/common/back.gif[/img][/url]
用ie和firefox都看了,都没有错位呀。只是,那个变色导航栏有些小问题 [/quote]

现在没错位
我替换掉了图片

如果不替换 打开非首页的时候就会错位

现在的问题是 替换后 留下了空白


还有个问题是 缩略图显示不了

plzon 发表于 2008-10-23 13:13

縮圖需要你的伺服器支援php 4.3不過php5更佳,還要支援GD-library,另外需要將主題內的scripts 和 cache 兩個資料夾設置成777

easyman 发表于 2008-10-23 13:42

你好

麻烦你再帮我看看

你说的服务器我的应该是支持的

另外文件夹我也设置好权限了

另外怎么去掉最底下的video 和随机文章

plzon 发表于 2008-10-23 13:50

Arthemia Premium theme 未用過,我用的是免費版。

圖片還是看不到,你有沒有將首頁的圖片加到image的custom field?

easyman 发表于 2008-10-23 14:21

[quote]原帖由 [i]plzon[/i] 于 2008-10-23 13:50 发表 [url=http://www.wordpress.org.cn/redirect.php?goto=findpost&pid=130510&ptid=22829][img]http://www.wordpress.org.cn/images/common/back.gif[/img][/url]
Arthemia Premium theme 未用過,我用的是免費版。

圖片還是看不到,你有沒有將首頁的圖片加到image的custom field? [/quote]

怎么加?
能加你QQ不?

plzon 发表于 2008-10-23 15:48

我沒有用qq, 要在首頁圖片顯示出來,是要將圖片的路徑加到自定義欄位(custom field)中,並將櫚位的value設置成image,就會自動在首頁顯示出來。

我的網站也是使用arthemia免費版.
[url]http://www.plzon.com[/url]

easyman 发表于 2008-10-23 16:12

[quote]原帖由 [i]plzon[/i] 于 2008-10-23 15:48 发表 [url=http://www.wordpress.org.cn/redirect.php?goto=findpost&pid=130567&ptid=22829][img]http://www.wordpress.org.cn/images/common/back.gif[/img][/url]
我沒有用qq, 要在首頁圖片顯示出來,是要將圖片的路徑加到自定義欄位(custom field)中,並將櫚位的value設置成image,就會自動在首頁顯示出來。

我的網站也是使用arthemia免費版.
[url=http://www.plzon.com]http://www.plzon.com[/url] [/quote]

image 要大写第一个吧

我都试过了就是不行

也许是因为我的不是装在根目录下的原因吧?

plzon 发表于 2008-10-23 19:28

如果Arthemia縮圖功能真的用不到可以試試這個:
將index和其他有縮圖的模板檔案找到下列的[code]<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo get_option('home'); ?>/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=300&h=275&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" width="300px" height="275px"  /></a>[/code]替換為[code]
<img src="<?php $values = get_post_custom_values("Image"); echo $values[0]?>"
alt="<?php the_title(); ?>" class="left" width="300px" height="275px"  /></a>[/code]

你可以先試修改一個無問題後再改其他會較保險.

[[i] 本帖最后由 plzon 于 2008-10-23 19:29 编辑 [/i]]

yken89 发表于 2008-10-23 19:41

timthumb.php无法正常运行,楼主可以试试我的修改版[url]http://wordpress.org.cn/thread-22875-1-1.html[/url]

easyman 发表于 2008-10-23 23:39

搞回原版的

居然让我弄成了

页: [1] 2

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.