Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
rrobinson  
#1 Posted : Friday, July 20, 2007 2:29:18 AM(UTC)
rrobinson

Rank: Member

Groups: Member
Joined: 7/20/2007(UTC)
Posts: 3

Is it possible to hide the Borders tab? I'm using version 2.

Thank you.
rrobinson  
#2 Posted : Friday, July 20, 2007 4:44:51 AM(UTC)
rrobinson

Rank: Member

Groups: Member
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.
natebell  
#3 Posted : Friday, July 20, 2007 7:07:52 AM(UTC)
natebell

Rank: Member

Groups: Member
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
rrobinson  
#4 Posted : Friday, July 20, 2007 9:25:15 AM(UTC)
rrobinson

Rank: Member

Groups: Member
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.

Sergey Peshekhonov  
#5 Posted : Monday, July 23, 2007 8:50:51 PM(UTC)
Sergey Peshekhonov

Rank: Advanced Member

Groups:
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.
Users browsing this topic
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.