Buttons.

Started by MrRooD, July 26, 2013, 06:58:17 AM

Previous topic - Next topic

MrRooD

hi , i make menu button and set it to index.php?action=cacy and when i click it still Forum page, how can i change it.?

shadow82x

How did you try adding this menu/button? What are you trying to do? action=cacy needs to exist before calling to it.
Colin B
Former Spammer, Customize, & Support Team Member

Kindred

exactly...   did you define action=cacy in the action array?
Слaва
Украинi

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

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MrRooD

In Sources/Subs.php

'cacy => array(
'title' => $txt['cacy_button'],
'href' => $scripturl . '?action=cacy',
'show' => true,


In Themes\default\languages index.english.php and Install.croatian-utf8.php

$txt['cacy_button'] = 'Cacy';

Storman™

Ok......   :o

You have the button and text but what are you trying to do ?

At the moment when you click on the button you are calling action=cacy but it's not doing anything because that action needs to be defined and exist first.

So when you click on the button what do you expect it to do ?

Advertisement: