News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Menu Buttons

Started by ^HeRaCLeS^, July 01, 2011, 07:40:09 PM

Previous topic - Next topic

skip43

I am not trying to sound stupid here, but here is my question.

I added 1 button from the ADK menu buttons to my Simple Machines forum. What I want is that when someone clicks on that button/link it will open in the same window. Right now it opens in a new window/tab.

I have tried ?target=self   top   parent  and nothing seems to work.

If I could please get some insight as to how to make this link open in the same window I would sure appreciate it.

Thank you

Larry

Adk-Team

Search "function Botonera()" in the file index.template.php and modify:
'target' => '_blank',

with:
'target' => '',

The button you want or all.

skip43

Perfect, thank you very much for your quick reply and an excellent mod. That is exactly what I needed to know.

Again thank you

Larry

Adk-Team

Updated to SMF 2.0.1  ;)

Regards enik...

jeddi

Hi, I like this mod and would love to get it working with my Theme ProRed. I didnt quite understand the explanation above for another theme. If I attach my ProRed indextemplate.php, will you help.
thank you

Draffi

It is possible to add unique icons for every button?

If it possible, how.

Maybe a suggestion for further updates (enter link to icon per button)

mrtarkhan

هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

Adk-Team

Thank you very very very very much for the contribution ;)

mrtarkhan

your welcome, my lob :)

persian is RTL
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

vkbr

Hi, thanks for the nice mod. One question i was in doubt if i made any mistake while i was trying to personalize the look of the button. Well every thing is working fine, but I wanted to make sure, so i tried to uninstall to re-install. The only think i have did so far was to modify the images at "Themes/default/images/Boton/Icono-Boton.png" but i saved copies and restored the original stuff before trying to uninstall. Well the uninstall check (via package manager) give me an error "Replace - ./Sources/ManageSettings.php   Test failed". So finally the question.
How should i proceed to uninstall and re install? If i proceed with this "failed" uninstall what will really happen? Can i do it and than manually uninstall only the stuff at "ManageSettings.php" ? I do not know php, but i have some little programming skills and feel comfortable to do this little changes. Or i need to uninstall every thing by hand?
By the way the stuff at "ManageSettings.php" is exactly stated at"Manual Install Instructions for SMF" at mod page. In time SMF 2.01, shared server.
Ok that's it, sorry for so much text.
Thanks for any help.
Vk

vkbr

#30
Hi there again. One more question. Could i chose links from buttons to open in the same browser window Ops, sorry, found above. Thanks.
This is how my "personalization" of your great mod is looking so far:
Wich one is better?

girlfloyd

vkbr, i think i like #2 the best but they both look good.

Adk-Team

If it shows error when uninstalling, you just remove those codes manually.
This has to look at the parse of the mod.

Adk-Team

Updated.

New language: persian

Thank you very much mrtarkhan  ;)

mrtarkhan

your welcome
thanks Adk-Team, for good mods.
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

vkbr

#35
Thanks for quick answer. I' wont uninstall it anyway. By the way is it possible to use allown some groups and deny other permissoin to see the buttons? .. Again... sorry. Looking forward to that permissions stuff.

thx
vk

ufferichter

Hi

I got a problem here

   ./Sources/ManageSettings.php fail

and i try this :: find // Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!

and replace with :     //Adk Menu Buttons
   $txt['texto-13'],
   '',
      array('check', 'texto-14'),
   '',
      array('check', 'texto-15'),
      array('text', 'texto-21', '20'),
      array('text', 'texto-28', '20'),
      array('check', 'texto-34'),
   '',
      array('check', 'texto-16'),
      array('text', 'texto-22', '20'),
      array('text', 'texto-29', '20'),
      array('check', 'texto-35'),
   '',
      array('check', 'texto-17'),
      array('text', 'texto-23', '20'),
      array('text', 'texto-30', '20'),
      array('check', 'texto-36'),
   '',
      array('check', 'texto-18'),
      array('text', 'texto-24', '20'),
      array('text', 'texto-31', '20'),
      array('check', 'texto-37'),
   '',
      array('check', 'texto-19'),
      array('text', 'texto-25', '20'),
      array('text', 'texto-32', '20'),
      array('check', 'texto-38'),
   '',
      array('check', 'texto-20'),
      array('text', 'texto-26', '20'),
      array('text', 'texto-33', '20'),
      array('check', 'texto-39'),
         
But no working, still fail

i attach my file, please help

Adk-Team


ufferichter

#38
I just copy the file over, and its still says the same, do i do something wrong

Matthew K.

You'd have to install the mod FIRST, then try the file he attached.
Quote from: ufferichter on December 23, 2011, 12:10:15 AM
I just copy the file over, and its still says the same, do i do something wrong

Advertisement: