Moving a button from one menu to another

Theme, template, layout, or image issues

Moving a button from one menu to another

Postby thorswitch » Sat Feb 07, 2009 3:40 am

(dunno if anyone saw my earlier post, but I got it figured out and deleted it. New question, now ::blush::)

I'd like to have the button that links to the quest list from the realm menu to the guild menu. Is that possible?
Last edited by thorswitch on Sat Feb 07, 2009 3:42 am, edited 1 time in total.
thorswitch
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sat Jan 24, 2009 9:06 pm

Moving a button from one menu to another

Postby zanix » Sat Feb 07, 2009 11:23 am

Adding buttons to a scope menu that go to a different scope do not work at the moment

But, this is how it should work

Go to RosterCP -> Menu Configuration
Select "guild" from the "Select Panel" menu and click go

Then under Add Button, enter the following
Title: [ Quest List ]
URL: [ realm-questlist ]
Icon: [ spell_holy_surgeoflight ]
And hit go

Roster 2.0.2 will append guild- to the url making it invalid, so some code tweaking will be needed to get this working correctly
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Moving a button from one menu to another

Postby Spennig » Wed Jun 10, 2009 2:42 am

I'm trying to get this to work in reverse if possible. Goal being to make a realm-wide display of professions, and possibly other options generally under guild, to allow for searching realm-wide for the alliance / community i'm building a roster for.

I have been able to make a button for a realm-professions, but it errors with no module (no shock) so I wondered how I could make one for it to find. I'm still learning coding, mostly backward.
User avatar
Spennig
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 12, 2006 1:55 am

Re: Moving a button from one menu to another

Postby PleegWat » Wed Jun 10, 2009 5:25 pm

This should work:

1) Go to addons/professions
2) copy guild/index.php to realm/index.php
3) Remove any guild filters (only one, on line 50, and it's safe to delete the entire line).

Optionally, you could modify inc/install.def.php to automatically add the button when installing, but that will probably just byte you when you upgrade.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm


Return to Appearance

Who is online

Users browsing this forum: No registered users and 1 guest

cron