Category selection?

  • Автор темы Автор темы Daikaiser
  • Дата начала Дата начала

Daikaiser

Client
Регистрация
06.09.2011
Сообщения
68
Реакции
9
Баллы
8
Hi, I want to change the category of a website from the Input Settings. Since the variable is the name of the category I converted it to a number (for the selection), so I used Switch and Set value, but is there an efficient way to do this? I like spaghetti but not in my templates :p Thanks.

categoryselection.jpg
 
why dont you just make it click category name instead of using this big switch, which will probably just crash your template...?
 
  • Оценить
Реакции: Daikaiser
Agree with drvosjeca.
 
Hehe so simple and I never thought about it. Like Rostonix says, simple is better. Thanks Drvosjeca!

Edit: I run into an issue when I was trying to use the name. When I test the action it will open the menu but won't select the option. Any idea why it isn't working?
categoryissue.jpg
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)