Yaptığım eklemeleri tam olarak bir daha sıralıyım bir yerde yanlış yapıyor olabilrim.
Öncelikle yapmak istediğim şey
Forum_id=2 numaralı bölümdeki
yeni konu butonunu değiştirmek hem imaj olarak hemde link olarak. Kendi oluşturduğum bir form sayfasına yönlendirmek istiyorum.
styles\prosilver\template\viewforum_body.html- Kod: Tümünü seç
<!-- IF FORUM_ID == 2 -->
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
<div class="buttons">
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->test-icon<!-- ENDIF -->"><a href="my_page.php"><span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></span></a></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF FORUM_ID != 2 -->
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
<div class="buttons">
<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></span></a></div>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
styles\prosilver\imageset\imageset.cfg- Kod: Tümünü seç
img_button_topic_test = button_topic_test.gif*40*300
Emin olmak için aynı eklemeyi
styles\prosilver\imageset\tr\imageset.cfg ede ekledim.
- Kod: Tümünü seç
img_button_topic_test = button_topic_test.gif*40*300
styles\prosilver\theme\colours.css- Kod: Tümünü seç
/* Big button images */
.test-icon, .test-icon a { background-image: url("{IMG_BUTTON_TOPIC_TEST_SRC}") ;}
styles\prosilver\theme\buttons.css- Kod: Tümünü seç
/* Big button images */
.test-icon, .test-icon a { background: transparent none 0 0 no-repeat; }
/* Set big button dimensions */
.buttons div.test-icon { width: {IMG_BUTTON_TOPIC_TEST_WIDTH}px; height: {IMG_BUTTON_TOPIC_TEST_HEIGHT}px; }
styles\prosilver\imageset\tr\button_topic_test.gif konumuna dosya kopyalandı.
Butonun çıkması gereken yer
adresteki bu forumda ara kısmının sol tarafı.