Author Topic: Editing copy of default theme need some help.  (Read 1056 times)

0 Members and 2 Guests are viewing this topic.

Offline Cokeman

  • New Member
  • *
  • Posts: 2
  • Karma: 1
Editing copy of default theme need some help.
« on: November 03, 2007, 09:34:08 PM »
I made a copy of the default theme (1.1) now trying to edit it. This is my first theme editing & have got most of it going but have a few issues I can't figure out.

I attached a pic to show each of the 3 things I need help with. Which php file needs to be edited & what code?

[attach=1]

Offline Mr.CoWbOy

  • Full Member
  • *
  • Posts: 172
  • Karma: 10
    • Silkroad Online - Turkiye
  • SMF Version: 1.1.4
Re: Editing copy of default theme need some help.
« Reply #1 on: November 04, 2007, 02:16:21 PM »
1 . index.template.php

2 & 3 in display.template.php

good luck  ;)

Offline Cokeman

  • New Member
  • *
  • Posts: 2
  • Karma: 1
Re: Editing copy of default theme need some help.
« Reply #2 on: November 04, 2007, 09:50:08 PM »
Thanks for the help, but not sure what code controls 2 & 3. (whats there name) Also I searched through the index.template & not sure where to add the code to align the main menu center.

Offline capabmx

  • Full Member
  • *
  • Posts: 165
  • Karma: 11
Re: Editing copy of default theme need some help.
« Reply #3 on: November 05, 2007, 06:36:31 AM »
Isn't the alignment in style.css? I'm not quite sure I can't check right now, but give that a try, hope it helps :).

Offline Mr.CoWbOy

  • Full Member
  • *
  • Posts: 172
  • Karma: 10
    • Silkroad Online - Turkiye
  • SMF Version: 1.1.4
Re: Editing copy of default theme need some help.
« Reply #4 on: November 05, 2007, 10:36:03 AM »
if you try to edit style.css every bg (window,cat) will be change ;)

and man sorry it was my mistake ;

Check messageindex.template.php ;

:
if (!$context['no_topic_listing'])
echo '
<td style="padding-top: 2ex;" class="smalltext">', !empty($modSettings['enableParticipation']) ? '
<img src="' . $settings['images_url'] . '/topic/my_normal_post.gif" alt="" align="middle" /> ' . $txt['participation_caption'] . '<br />' : '', '
<img src="' . $settings['images_url'] . '/topic/normal_post.gif" alt="" align="middle" /> ' . $txt[457] . '<br />
<img src="' . $settings['images_url'] . '/topic/hot_post.gif" alt="" align="middle" /> ' . $txt[454] . '<br />
<img src="' . $settings['images_url'] . '/topic/veryhot_post.gif" alt="" align="middle" /> ' . $txt[455] . '
</td>
<td valign="top" style="padding-top: 2ex;" class="smalltext">
<img src="' . $settings['images_url'] . '/icons/quick_lock.gif" alt="" align="middle" /> ' . $txt[456] . '<br />' . ($modSettings['enableStickyTopics'] == '1' ? '
<img src="' . $settings['images_url'] . '/icons/quick_sticky.gif" alt="" align="middle" /> ' . $txt['smf96'] . '<br />' : '') . ($modSettings['pollMode'] == '1' ? '
<img src="' . $settings['images_url'] . '/topic/normal_poll.gif" alt="" align="middle" /> ' . $txt['smf43'] : '') . '
</td>';

Here is icons.. check upway to change with transparent..

i think you can add a code for transparent.. and u can change windowbg to transparent like this ;

:
<td class="transparent" />
and you can remove buttons from that file ;

:
'markread'
;)

« Last Edit: November 05, 2007, 10:40:05 AM by Mr.CoWbOy »

Offline Derby

  • New Member
  • *
  • Posts: 48
  • Karma: 5
  • Gender: Male
    • DerbHotJobs
  • SMF Version: SMF 2.0 RC2
Re: Editing copy of default theme need some help.
« Reply #5 on: January 26, 2010, 04:52:35 PM »
How do i add 2 D under of the page??

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Editing copy of default theme need some help.
« Reply #6 on: February 03, 2010, 12:19:25 AM »
Sorry, didn't see this Derby.   Can you repeat the question, I don't quite understand it.