5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 658 Views |
-
Remove Actions in my DOM

5 April 2011 at 10:53pm
Hi guys...
How i' remove actions in my dom... if i'm used this function
updateCMSActions(), getCMSActions()
function getCMSActions(){
$actions = parent::getCMSActions();
$Action = new FormAction(
"doAction",
"Do something different"
);
$actions->push($Action);return $actions;
i' have problems,
the process is the same for getcmfields?
example removebyname('deleteaction'); -
Re: Remove Actions in my DOM

6 April 2011 at 8:03am
Hi, FYI the DOM is NOT the CMS, it's the DOM, so please post your question in the DOM part of the forum
-
Re: Remove Actions in my DOM

6 April 2011 at 10:53pm
sorry i think i'am wrong i want do this in my page...
http://www.ssbits.com/tutorials/2009/adding-a-cms-action-the-slightly-hacky-way/
But i'am want hide actions...
No I' cant do this work... give-me errors...sorry my English...
-
Re: Remove Actions in my DOM

6 April 2011 at 10:56pm
I understand - are you using ModelAdmin or DOM or something else...
-
Re: Remove Actions in my DOM

7 April 2011 at 2:30am
I' using DOM ... -> ok... sorry a put my question in other place...
... -
Re: Remove Actions in my DOM

7 April 2011 at 11:01am Last edited: 7 April 2011 11:02am
no need to apolosise - I always say this just to get your question answered - I rarely see the great UncleCheese in threads outside his section - I'm not saying he doesn't, but it's probably best to focus things there
| 658 Views | ||
|
Page:
1
|
Go to Top |


