Nikita Posted February 11, 2014 Report Posted February 11, 2014 Hello, How can i change existing form , for example zone-edit form, by custom plugin? zone-edit form don't call hooks "beforeContent" and "afterContent" where I could change it. I found "buildZoneForm" metod and we have there : if ($oComponent && method_exists($oComponent, 'processZoneForm')) { $oComponent->processZoneForm($aFields); } but how i can set my custom component to $oComponent, without changes in core, Any Idea? Thanks! Quote
tbobker Posted February 11, 2014 Report Posted February 11, 2014 What exactly do you want to change / achieve on the zone-edit form? Quote
Nikita Posted February 11, 2014 Author Report Posted February 11, 2014 Just example: i would like to add custom zone sizes in select box with sizes Quote
tbobker Posted February 11, 2014 Report Posted February 11, 2014 Why dont you just use the below custom sizes rather than choosing from the select box? I think that a plugin would be overkill just to add a few more sizes in the dropdown, just modify the raw code is what I would do. Quote
Nikita Posted February 11, 2014 Author Report Posted February 11, 2014 Yes agree, it is much easier to modify the raw code this is an extreme way It is a simple example to understand how we can expand application without affecting the source code Quote
Andreas Dunstheimer Posted May 30, 2014 Report Posted May 30, 2014 Any news on this topic? I need this option as a plugin too. Quote
[email protected] Posted July 26, 2014 Report Posted July 26, 2014 Hello, I want to change the and login page Welcome to Revive Adserver with my own Ad network name. Please assist me . thanks in advance Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.