News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Reference

Started by Crip, January 10, 2009, 06:46:24 PM

Previous topic - Next topic

Invidia

Hello,

I download "Reference" theme and i have a problem.
This theme hasn't line between post and signature. If I edit post, signature is moving right.
This is a screenshot:


What is a problem? What file i should modify?

Yard Sale Strategies

Hi Crip, nice theme.

Can you help me out, I would like to add a new button to the nav bar.

I would like to have:
Home - this would point to my main website
Forum - this would point to the forums

Here is the code from the template, just not sure what I need to change.
<div id="topnav">
<ul>';

foreach ($context['menu_buttons'] as $act => $button)
echo '<li><a ', $button['active_button'] ? ' class="current"' : '' , ' href="', $button['href'], '"><b>', $button['title'], '</b></a></li>';

echo '
</ul>
</div>';


Thanks for your help.

The website is located here:
hxxp:www.yardsalestrategies.com/forum/ [nonactive]

ameo

Yard Sale Strategies, this is tricky one.
In the 2.0 menu has been moved from the index.template.php file to the Subs.php in the /Sources/ directory so it can affect all templates. If you plan to use just that theme you can put it in index.template.php or you can find file Subs.php in Sources directory and add code there:

This one's for index.template.php
find:
      <div id="nav">
         <ul>';


and after that add this:
// Show the [HOME] button.
                              echo '<li><a href="http://www.yardsalestrategies.comt"><span>Home</span></a></li>';



Now, that adds button. But for renaming Home to Forum I'm not really sure. It should work by going into Themes/Default/languages/index.english.php and renaming Home string to Forum.

antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Yard Sale Strategies

Hi ameo

Thanks for your information. I played around with the subs.php file but I can't get the Home button to change to Forum. I also added a new txt name "Forum" in the default language file.

I'll play around with this later.

Thanks again for the help

Crip

I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Rumboogy

I am having a little bit of a problem with this theme...great looking theme by the way. Very easy on the eyes.

Anyway, in the upper right hand corner there are links for PM's, Approvals and Unread/Updated Topics.

Whenever I have someone waiting to be approved...they show up in the header (just like they are supposed to do)...but when I click on the APPROVAL link to approve the member, it takes to the forum index. Is this something that is wrong with the template or something I might have done (although I haven't edited any templates).

I have included a graphic that shows the URL the link uses and below that I show the actual link that should be there.


Thanks.

Wally

Rumboogy

Hi Crip...just curious if you could look at this sometime.

Thanks,

Wally

Crip

Easy code Fix Wally!
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Rumboogy

Yep...I got it. Thanks again. Loving that Reference Theme!!

Wally

Crip

           -------------Updated for 2.0 RC2
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Pentaxian

Hi Crip,

I just installed this in my testforum (2.0 RC2) and there is no menubar visible anymore. It seems to be hidden by the area beneath it. Browser is Safari on a Mac.
Screenshot:

Crip

Shows up fine on my Safari browser on a mac.. ?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Invidia90

I have problem with menu too. Please repair this, because Reference theme is amazing.  :)
I using Firefox.

Zoric


Crip

Quote from: Invidia90 on December 30, 2009, 05:13:43 PM
I have problem with menu too. Please repair this, because Reference theme is amazing.  :)
I using Firefox.

...... version <-- .. again there is NO menu problem I see ...
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Invidia90

SMF 2.0 RC2
Look at this:

Crip

I just check the menu in these browsers => FF3 , Google Chrome , Opera , Safari and it looks fine both logged out & logged in ..?

       http://demo.jpr62.com/index.php?theme=29
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Invidia90

Quote from: Crip on December 31, 2009, 10:29:16 AM
I just check the menu in these browsers => FF3 , Google Chrome , Opera , Safari and it looks fine both logged out & logged in ..?

       hxxp:demo.jpr62.com/index.php?theme=29 [nonactive]

On Your site all looks perfect, but when I installing Reference theme on my forum, menu works bad. I have clean SMF.

Crip

Most likely some type of Mod you have installed ..... ?
I have become comfortably numb!


I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -



TOTM Winner. | Demo Site1on1 Theme Support

Invidia90

No, i try on clean SMF without any mods etc.
Hmm, why Reference theme package (reference20rc2.zip) hasn't index.php and index.template.php files?  :)

Advertisement: