News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

New Cisco 7970 SmallUI Skin inside.

Started by tschak909, September 06, 2008, 11:33:02 PM

Previous topic - Next topic

tschak909

I have been working on a replacement skin for SmallUI, and the current revision can be found here:

http://www.localeconcept.com/private/SmallUI.tar.bz2

There is also a replacement Proxy Orbiter, incorporating both my push fixes, and a necessary ScreenHandler fix for my replacement file list data grid:

http://www.localeconcept.com/pub/Proxy_Orbiter_Update.tar.gz

You need to get both.


you then need to do an sqlcvs update of the 'designer' repository to get the latest UI changes to SmallUI.


to use:

Unpack Proxy_Orbiter_Update.tar.gz, and copy the Proxy_Orbiter into /usr/pluto/bin ... this file is probably in use because the system is running, so you will need to do a quick trick of quick reloading the router, and copying the file into /usr/pluto/bin using sudo before the core restarts everything.

unpack SmallUI.tar.bz2 to /usr/pluto/orbiter/skins/ ... new folder called SmallUI will be created
go into mysql pluto_main -uroot

UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6;
quit;

then go into the Web Admin, Full Regen your Cisco orbiters.

Wait, and see the results.

Let me know what you think.

-Thom

dlewis

I ge the following error when trying to update mysql for the new skin:


mysql> pluto_main -uroot
    -> UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pluto_main -uroot
UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6' at line 1
mysql>


Any suggestions? Thanks!

-D

niz23

dlewis.
Quote from: dlewis on November 09, 2008, 04:30:07 PM
I ge the following error when trying to update mysql for the new skin:


mysql> pluto_main -uroot
    -> UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pluto_main -uroot
UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6' at line 1
mysql>


Any suggestions? Thanks!

-D

Looks like you use wrong syntax from command-line.
From the top of my head.

From command line(linux shell) do:
"mysql -u root pluto_main" (should log you in to pluto_main database as user root)
If everything work fine you are now at a mysql shell promt.

Insert row below and hit enter.
UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6;

If everything is ok the update is complete.

/niz23

Zaerc

Or to do it all at once directly from the command line:
pluto_main -u root -e "UPDATE Skin SET DataSubdirectory = 'SmallUI' WHERE PK_Skin = 6"
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]