Advertisement:

Author Topic: Change position  (Read 6569 times)

Offline [OG]Anirudh

  • Semi-Newbie
  • *
  • Posts: 87
Change position
« on: October 09, 2013, 10:30:53 AM »
Hey guys if i want to re-position of the button like home , forum , help etc (I DON'T WANT TO INTER-CHANGE IT) (I WANT TO CHANGE POSITION FROM POINT A TO POINT B)
which file should i edit?

Offline Burke ♞ Knight

  • SMF Hero
  • ******
  • Posts: 3,534
Re: Change position
« Reply #1 on: October 09, 2013, 10:32:20 AM »
Sources/Subs.php

If I'm not mistaken...

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Change position
« Reply #2 on: October 09, 2013, 10:32:32 AM »
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline [OG]Anirudh

  • Semi-Newbie
  • *
  • Posts: 87
Re: Change position
« Reply #3 on: October 09, 2013, 10:36:11 AM »
How do I add buttons to SMF 2.0?
I don't want to add button i want to re-position them, read it carefully...

Offline mashby

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,394
  • Gender: Male
  • badass beer hound
    • Choppix
Re: Change position
« Reply #4 on: October 09, 2013, 10:39:29 AM »
While you're not really adding buttons, you want to rearrange them. Have a look in Sources/Subs.php as BurkeKnight pointed out. function setupMenuContext() is the thing to have a look at. Specifically the $buttons = array()
Always be a little kinder than necessary.
- James M. Barrie

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Change position
« Reply #5 on: October 09, 2013, 10:43:37 AM »
I did. Did you read it carefully?  ;)
If you look at that link, it will tell where to search to add them.
Also:
Quote
To place the menu item in a different order, find the appropriately names section of the array...
In a different context, but it suits your question perfectly.
So, just move the existing buttons around to match your desired order.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline [OG]Anirudh

  • Semi-Newbie
  • *
  • Posts: 87
Re: Change position
« Reply #6 on: October 09, 2013, 10:44:34 AM »
i want this..

P.S Sorry for double...

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: Change position
« Reply #7 on: October 09, 2013, 10:47:46 AM »
Ah. You don't want to rearrange the buttons, you want to move the menu bar from its current location :)

I would advise you to ask in the support topic for your theme. We can try to help but it heavily depends on the theme so the author is the best person to assist you in that.
index.template.php from your theme is the way to go. Now, where? Just looking at it...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,005
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Change position
« Reply #8 on: October 09, 2013, 11:22:52 AM »
Sources/Subs.php

If I'm not mistaken...

You are correct, Subs.php...

But as a side note, I'm trying to register at your site but its not sending out activation email? Been waiting about 5 minutes...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline [OG]Anirudh

  • Semi-Newbie
  • *
  • Posts: 87
Re: Change position
« Reply #9 on: October 09, 2013, 11:54:39 AM »
Check in spam..

Offline Bob Perry of Web Presence Consulting

  • Sophist Member
  • *****
  • Posts: 1,005
  • Gender: Male
  • (T)ogether (E)veryone (A)chieves (M)ore
    • Bobert921 on Facebook
    • https://www.linkedin.com/in/bperry921/ on LinkedIn
    • @bperry921 on Twitter
    • Web Presence Consulting
Re: Change position
« Reply #10 on: October 09, 2013, 12:01:16 PM »
Check in spam..

Not your site as you do not provide a link to it or I would register there too, but BurkeKnight's site is the one not sending activation email...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Offline [OG]Anirudh

  • Semi-Newbie
  • *
  • Posts: 87
Re: Change position
« Reply #11 on: October 09, 2013, 12:03:35 PM »
Every one has registered i don't know why you are not able to...

Offline Irisado

  • Una Luz Brillante en la Oscuridad
  • Doc Coordinator
  • SMF Super Hero
  • *
  • Posts: 10,239
  • Soñando debajo del arco iris
Re: Change position
« Reply #12 on: October 09, 2013, 01:03:01 PM »
Let's stay on the subject of helping [OG]Anirudh in this thread please.  If there are issues with another site, please start another thread, or contact the person directly.  Thank you.
Soñando con una playa donde brilla el sol, un arco iris ilumina el cielo, y el mar espejea iridescentemente

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,506
  • Gender: Male
    • Kindred-999 on GitHub
Re: Change position
« Reply #13 on: October 09, 2013, 01:58:07 PM »
As already indicated....


I would advise you to ask in the support topic for your theme. We can try to help but it heavily depends on the theme so the author is the best person to assist you in that.
index.template.php from your theme is the way to go.

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Tavsih

  • Jr. Member
  • **
  • Posts: 133
Re: Change position
« Reply #14 on: October 10, 2013, 07:08:43 AM »

I would advise you to ask in the support topic for your theme. We can try to help but it heavily depends on the theme so the author is the best person to assist you in that.
index.template.php from your theme is the way to go. Now, where? Just looking at it...
I don't think OG is a member of DzinerStudio club.He won't be able to get any support from them .Since he downloaded the theme from some Spanish forum.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,506
  • Gender: Male
    • Kindred-999 on GitHub
Re: Change position
« Reply #15 on: October 10, 2013, 07:34:27 AM »
well, then he had best go purchase it correctly and ask questions to DZiner Studio, since we are just going to keep telling him to ask the theme author...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.