待辦事項 #9482

Theme's Screenshot is not displayed too
啟用日期: 2006-11-26 19:56 最後更新: 2007-03-29 01:40

回報者:
負責人:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
7
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

Hi! :-)

We can view the theme's screen shots in "Theme
Management" area, but not in "Themes" block (the value
written in manifesto is ignored with the fixed value
"screenshot.png")


[ ]'s!

mikhail




Ticket History (3/11 Histories)

2006-11-27 13:58 Updated by: minahito
  • 負責人 Update from (無) to minahito
  • 處理結果 Update from to Accepted
2006-11-27 14:13 Updated by: minahito
  • 負責人 Update from minahito to nobunobu
  • 優先權 Update from 5 - 中 to 7
評語
Logged In: YES
user_id=8353

I made the block assign screenshot (filename) and its URL.
But, I am not able to modify javascript and the template.
Mr. nobunobu, would you fix this?

2006-12-03 01:03 Updated by: (del#8225)
  • 處理結果 Update from Accepted to 修正
評語
Logged In: YES
user_id=8225

I fixed this bug, and commit into CVS.
pls try.
2006-12-08 23:21 Updated by: (del#8225)
評語
Logged In: YES
user_id=8225

emomo reported that I made a mistake for fixing this bug in.
http://sourceforge.jp/tracker/index.php?func=detail&aid=9532&group_id=64&atid=7892
(This report in Japanese)
So, I retry fixing this issue and commit to CVS
2006-12-14 12:27 Updated by: (del#8225)
  • Ticket Close date is changed to 2006-12-14 12:27
  • 狀態 Update from 開啟 to 關閉
2007-03-22 06:22 Updated by: mikhail
  • 狀態 Update from 關閉 to 開啟
2007-03-22 06:22 Updated by: mikhail
  • (群組 change on Tracker)
評語
Logged In: YES
user_id=24765

strange problem: the screenshot of a selected theme is
always "screenshot.png"... (???)

Please, look this source:

[code]


<div class="blockContent"> <div style="text-align: center;">
<form action="#" method="post">

<img id="xoops_theme_img"
src="http://www.xoopscube.com.br/themes/SelectedTheme/screenshot.png"
alt="screenshot" title="screenshot" vspace="2" width="120"><br>
<select id="xoops_theme_select"
name="xoops_theme_select"
onchange="showThemeScreenshot('xoops_theme_img','xoops_theme_select',
'http://www.xoopscube.com.br');">
<option
value="cube_default!-!screenshot.png">cube_default</option>
<option value="SelectedTheme!-!preview.jpg"
selected="selected">SelectedTheme</option>
<option
value="accordion!-!accordion.png">accordion</option>
<option
value="afternoon_tea!-!afternoon_tea.png">afternoon_tea</option>
<option value="akane!-!akane.png">akane</option>

<option value="cocoa!-!cocoa.png">cocoa</option>
<option
value="color_palette!-!color_palette.png">color_palette</option>


[/code]


- The selected theme name is "SelectedTheme".

- The screenshot defined is "preview.jpg":
<option value="SelectedTheme!-!preview.jpg"
selected="selected">SelectedTheme</option>

- But: this code try to load a file "screenshot.png":
<img id="xoops_theme_img"
src="http://www.xoopscube.com.br/themes/SelectedTheme/screenshot.png"
alt="screenshot" title="screenshot" vspace="2" width="120">



2007-03-28 12:24 Updated by: minahito
  • 負責人 Update from nobunobu to tom_g3x
2007-03-29 01:35 Updated by: tom_g3x
評語
Logged In: YES
user_id=6745

assigned <{$block.theme_selected_screenshot}>.
changed template.
2007-03-29 01:39 Updated by: tom_g3x
  • Ticket Close date is changed to 2007-03-29 01:39
  • 狀態 Update from 開啟 to 關閉
2007-03-29 01:40 Updated by: tom_g3x
  • Ticket Close date is changed to 2007-03-29 01:40

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入