inherit
249732
0
Sept 30, 2024 2:29:34 GMT -8
Sam
Typing...
135
October 2017
samzi
|
Post by Sam on May 15, 2018 4:57:48 GMT -8
Hi, I was wondering if there is a way to edit "loops and variables" in the PM portion of the template. Essentially I want to remove one or more items off "Actions" variable. ($[action_menu]). Is this possible?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 15, 2018 10:19:29 GMT -8
Hi, Sam. The variables are hard-coded into the software and their output is determined either explicitly in the source code, by the contents of your forum's database, or based on what exists on the page you're currently viewing. It's not possible to alter the HTML output by the $[action_menu] variable in the way you're describing as its contents are determined by the source code. You can only hide items in the menu using CSS or Javascript after they've already been rendered in the page's source.
|
|
inherit
249732
0
Sept 30, 2024 2:29:34 GMT -8
Sam
Typing...
135
October 2017
samzi
|
Post by Sam on May 15, 2018 10:36:06 GMT -8
Hi, Sam . The variables are hard-coded into the software and their output is determined either explicitly in the source code, by the contents of your forum's database, or based on what exists on the page you're currently viewing. It's not possible to alter the HTML output by the $[action_menu] variable in the way you're describing as its contents are determined by the source code. You can only hide items in the menu using CSS or Javascript after they've already been rendered in the page's source. Ah I see, so this would require a plugin? Is there some kind of plugin template I can use to make such a plugin? I presume you have something of the sort looking at your vast library of codes.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 15, 2018 11:03:23 GMT -8
Ah I see, so this would require a plugin? CSS alone can accomplish this. Is there some kind of plugin template I can use to make such a plugin? Plugins are typically built from scratch. They don't have an explicitly defined structure like HTML, so it's not exactly possible to follow a "template" in the same manner. I presume you have something of the sort looking at your vast library of codes. I've never created anything to fulfill this purpose.
|
|