Trixbox Menu Modification

chazelton
Posts: 91
Member Since:
2006-07-26

Can anyone comment on the menus and how they are structured.

I would like to change the styles and it would help to have some basic info

thx, in advance.

--

Don't always assume they haven't searched for the answer!



chazelton
Posts: 91
Member Since:
2006-07-26
Found it

Found it

last thing for a complete skin package:

does anyone know on the packages page the mouse over and out changes the back color where this can be modified.

--

Don't always assume they haven't searched for the answer!



jades
Posts: 2340
Member Since:
2006-11-26
Are you referring to Digital

Are you referring to Digital Receptionist?
Take a look at "IVR" in the PBX Config GUI

--

Joseph Ades
josephades1_at_gmail_dot_com
(212) 937-4299



chazelton
Posts: 91
Member Since:
2006-07-26
Actually no, I'm talking about the yum package list

Talking about the package list from the "Packages" list that is from yum I believe

when you mouse over each

it changes to a highlight color and then on mouseout it changes to the default trixbox back color for the row and overrides the css style that the page loads with from the style sheet.

As these rows are generated dynamically I'm assuming that the style does also.

Looks like it is some sort of java/ajax.

More of a .Net guy and as such can look at a asp.net page and tell you exactly what and where. With PHP not so much ha ha!

I'll post a screen shot of what I mean!

--

Don't always assume they haven't searched for the answer!



SkykingOH
Posts: 9678
Member Since:
2007-12-17
The tbm-cdr module also has

The tbm-cdr module also has the mouse over highlight effect. I do believe it is java, I am not a programmer either.

--

Scott

aka "Skyking"



chazelton
Posts: 91
Member Since:
2006-07-26
Screen shot of what I'm talking about

Click the link below:

Essentially all I want to do it change the back color for mouse over and mouse out in the yum packages list.

Just need to know where the styles are coming from as it doesn't seem clear to me.

http://www.origin1.com/downloads/pack_over.jpg

--

Don't always assume they haven't searched for the answer!



stechnique
Posts: 733
Member Since:
2008-02-21
Yes it's javascript: <tr

Yes it's javascript:

<tr onmouseover="this.style.background='#BDE38E';" class="oddcell" onmouseout="this.style.background='#F3FFE2';" [...]


stechnique
Posts: 733
Member Since:
2008-02-21
Look for this in

Look for this in /var/www/html/maint/includes/yumOutput.php



chazelton
Posts: 91
Member Since:
2006-07-26
Figured as much

Just couldn't find what file it was in.

digging through finding css and styles is a pain when pages are in frames!!!!!

Can I just css there is so much redundancy as far as styles go. It is like anytime something new (module-wise) was added well lets just through a new stylesheet at it. Then too some things have styles built into the page header too.

thanks though I'll check that out.

I should when done have a nice zip file that folks can simply edit and then extract to theme out trixbox.

surprised when I starting looking that no one had really done this or at least I don't see anything really comprehensive on it. Let me know if I'm missing something...

--

Don't always assume they haven't searched for the answer!



chazelton
Posts: 91
Member Since:
2006-07-26
Actually that isn't it

Must be coming from somewhere else. I changed the properties in yumOutput.php but no joy.

what's odd is the style properties coincide with what the default is so I thought for sure that was it. but after clearing cash, rebooting tripple checking to make sure nothing was cached still shows the default colors.

Driving me nuts as this is the last piece to the puzzle.

--

Don't always assume they haven't searched for the answer!



stechnique
Posts: 733
Member Since:
2008-02-21
I can assure this:

I can assure this:


<tr onmouseover="this.style.background='#BDE38E';
is what is causing the color change, I used grep to find the yumOutput file but it might be from another file, "grep -r -e '#BDE38E' /var/www/html" should get you started...


chazelton
Posts: 91
Member Since:
2006-07-26
Wierd

Definitely isn't giving me the desired results.

Did you happen to humor me and try it out as a test on your system?

Looking at it via Firebug CSS and page source and it definitely is not displaying the style changes I made in yumOutput.php.

I must be missing something as I see no where else for it to retrieve the style.

--

Don't always assume they haven't searched for the answer!



stechnique
Posts: 733
Member Since:
2008-02-21
yumOutput was just a

yumOutput was just a suggestion but the code <tr onmouseover="this.style.background='#BDE38E'; is definately what you are looking for.
As I said, try to grep #BDE38E and see what other files use this color.
You can't grep the whole thing cause it's probably scripted so syntax will not show up 'as is' in the php file.
The segment in yumOutput specifies tr height="22" so it really can't be what we're looking for...
I can look further into this at work later this morning.



chazelton
Posts: 91
Member Since:
2006-07-26
Thanks

Yeah that is definitely the line we are looking for.

I'll keep digging and thanks for the help. Let me know what you find when you get a chance.

--

Don't always assume they haven't searched for the answer!



chazelton
Posts: 91
Member Since:
2006-07-26
Stech...did you have any

Stech...did you have any luck with this.

--

Don't always assume they haven't searched for the answer!



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.