Rank: Member
Groups: Guest
Joined: 7/20/2007(UTC) Posts: 3
|
Is it possible to hide the Borders tab? I'm using version 2. Thank you.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 7/20/2007(UTC) Posts: 3
|
fyi This is a total hack: Version 2, file PhotoEditor/Scripts/TabControl.js PhotoEditor.TabControl.prototype -> init: function() I pasted these lines at the very beginning to hide the borders tab: var borderTab = document.getElementById('PhotoEditorSample1_ctl00_tab2'); this._tabHeader().removeChild(borderTab); If there is another way that is not a hack, please share.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 3/28/2007(UTC) Posts: 56
|
instead of hacking like that, just remove it from the App_Data/PhotoEditor/EffectList.xml file I've removed this tab as well, and all I did was remove all the appropiate effects that were borders. hope this helps, Nate
|
|
|
|
Rank: Member
Groups: Guest
Joined: 7/20/2007(UTC) Posts: 3
|
thanks for your help. The hack wasn't perfect anyway, I forgot to remove the body.... just incase anyone needs it: var borderTab = document.getElementById('PhotoEditorSample1_ctl00_tab2'); this._tabHeader().removeChild(borderTab); var tabBody = this._tabBody().childNodes.item(2); this._tabBody().removeChild(tabBody); I'm going to try natebell's help, it's the correct way to do this.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 6/5/2007(UTC) Posts: 57
|
natebell, thanks for your input. rrobinson, to remove borders tab you should just remove or comment out effects with tabCaption equal to Borders in EffectList.xml. |
Sincerely yours, Sergey Peshekhonov. Aurigma Technical Support Team.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.