Author Topic: How to add more Option on template??  (Read 2402 times)

0 Members and 1 Guest are viewing this topic.

Offline sofeullah

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
How to add more Option on template??
« on: May 08, 2017, 02:23:00 PM »
can any one help me how do i add more link on the option on the template.
Thanks

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 783
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: How to add more Option on template??
« Reply #1 on: May 08, 2017, 09:21:59 PM »
that looks to be a coding issues, it would help if you put a link or atach the temlpate file to this post to further help you.

some further help may be found in the wiki:
http://www.rejetto.com/wiki/index.php?title=HFS:_Template&action=edit&oldid=4111


I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline LeoNeeson

  • Insane poster
  • *****
  • Posts: 465
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: How to add more Option on template??
« Reply #2 on: May 09, 2017, 04:20:31 AM »
@sofeullah: What template are you using?...
• HFS ahora también disponible en Español! (Clic aqui) :)
• HFS is now also available in Spanish! (Click here)

Offline sofeullah

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: How to add more Option on template??
« Reply #3 on: May 09, 2017, 05:32:32 AM »
@sofeullah: What template are you using?...
i am using RAWR-Template-0.1.3, blue

Offline LeoNeeson

  • Insane poster
  • *****
  • Posts: 465
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: How to add more Option on template??
« Reply #4 on: May 09, 2017, 09:40:53 AM »
Do the following steps:

1) Open "RAWR-Template-0.1.3.tpl" using notepad or any text editor.
2) Locate the following section (you can search for the word "navbar"):

Quote
<div id="navbar">
   {.if not|%user%|<div class="bigBtn"><a href="~login"><span>{.!lv_login.}</span></a></div>.}
   <div class="bigBtn">
      <a href="javascript:void(0);" onclick="window.open('/~progress','{.!lv_transfers.}','width=300,height=500,left=100,top=100,scrollbars=1,resizable=1');" class="hide"><span>{.!lv_transfers.}</span></a>
      <noscript><a href="/~progress" target="_blank"><span>{.!lv_transfers.}</span></a></noscript>
   </div>
   {.if|{.get|can upload.}|<div class="bigBtn"><a href="~upload" title="{.!lv_uploadTitle.}"><span>{.!lv_upload.}</span></a></div>.}
   {.if|{.{.!btn_back.}=on.}|{.if not|{.%folder%=/ .}|<div id="backBtn"><a href=".."><span>{.!lv_back.}</span></a></div>.}.}
        <div class="bigBtn"><a href="https://www.google.com/"><span>Google</span></a></div>
        <div class="bigBtn"><a href="https://www.example.com/"><span>Example</span></a></div>
</div>

3) Add the text marked in red color, for example, this adds a link to Google.
4) If you need another button, you add another line there (like the text marked in blue color):

Quote
        <div class="bigBtn"><a href="https://www.example.com/"><span>Example</span></a></div>

I've attached an example, so you can see the changes (it's easy to add more buttons if you need it).

Please report back if this solves your question. :)

Cheers,
Leo.-
« Last Edit: May 09, 2017, 09:42:55 AM by LeoNeeson »
• HFS ahora también disponible en Español! (Clic aqui) :)
• HFS is now also available in Spanish! (Click here)

Follow members gave a thank to your post:


Offline sofeullah

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: How to add more Option on template??
« Reply #5 on: May 09, 2017, 11:55:56 AM »
Thank You.
its working.  :D