|
|
|
|
![]() ![]() |
Dec 8 2005, 07:38 PM
Post
#11
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 |
I just dont get it. I reinstalled my whole system today - wiped everything out and started with a fresh copy of XP. And to specifically test this problem, I downloaded the already published extension from this thread myself and installed it. THE RIGHT-CLICK MENU APPEARS JUST FINE FOR ME !!!! Now how the heck am I supposed to spot this bug
|
|
|
|
Dec 9 2005, 06:15 AM
Post
#12
|
|
|
Geek in-training Group: Members Posts: 301 Joined: 2-July 05 From: Washington State, USA, 3rd Rock from the Star Sol Member No.: 6,772 |
when I right click on the extenstion it works for me...I get the pop up menu with the following options: Configure Credit Systems..., visit Astahost Forums, and About. Left clicking gives me a quick refresh.
|
|
|
|
Dec 9 2005, 07:34 AM
Post
#13
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 |
QUOTE(Logan Deathbringer @ Dec 9 2005, 01:15 PM) when I right click on the extenstion it works for me...I get the pop up menu with the following options: Configure Credit Systems..., visit Astahost Forums, and About. Left clicking gives me a quick refresh. THANK GOD man.. finally it works for someone.. all this while the rest of them led me to believe I was hallucinating about the right-click menu... lol.. I was very confuzzled - why it wouldn't come up for others, when it did for me EVERYTIME. But yeah.. relief.. EUREKA !!! IT WORKS !!! |
|
|
|
Dec 9 2005, 08:24 AM
Post
#14
|
|
|
[+] Graphic Designer [+] Group: Members Posts: 614 Joined: 6-April 05 From: Croatia Member No.: 3,666 |
You better check, what computer specs users have here, maybe you and logan have the same configuration, so you can see the right-click-menu, as for me, I can't see it
|
|
|
|
Dec 9 2005, 10:15 AM
Post
#15
|
|
|
Binary Geek Group: Members Posts: 444 Joined: 4-November 05 From: The Digital Arena Member No.: 9,440 |
QUOTE(finaldesign @ Dec 9 2005, 12:24 PM) You better check, what computer specs users have here, maybe you and logan have the same configuration, so you can see the right-click-menu, as for me, I can't see it m^e .. just a thought .. do u have a beta build of FF ? or a Developer release sumthing like it ? cause we normally download from the link givin at the FF site. There could also be some programs installed on your PC and Logans PC which effect the working of ur extension, as in they could be inter-related with its working, like PHP or apache ? I think if you re-installed the system and installed NO other program other than FF and then tried out .. maybe that would help, if it works that time then i guess we have some problem in configurations. Regards Dhanesh. |
|
|
|
Dec 9 2005, 10:30 AM
Post
#16
|
|
|
Techno-Necromancer Group: Members Posts: 1,018 Joined: 13-January 05 From: The Net Member No.: 2,127 |
Dhanesh, I run the most current verison of Firefox, and have all the dev releases vakced up, and it's not that. I've also looked at m^e's code, and everything loks good, now that he explained the xul thing to me, it's baffling. One other thing m^e. what the heck is "chrome://creditsreporter"? Because that is the folder that all the files seem attached to, but for me they are inside "chrome://chromeFiles" but when I put that in, everything stops. (Oh by the way, I finally convinced Opaque to de ip blok me from gamma, some I can now test the extension once again, the onclickl part works, but not the context).
~Viz |
|
|
|
Dec 10 2005, 11:24 AM
Post
#17
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 |
QUOTE(vizskywalker @ Dec 9 2005, 05:30 PM) Dhanesh, I run the most current verison of Firefox, and have all the dev releases vakced up, and it's not that. I've also looked at m^e's code, and everything loks good, now that he explained the xul thing to me, it's baffling. One other thing m^e. what the heck is "chrome://creditsreporter"? Because that is the folder that all the files seem attached to, but for me they are inside "chrome://chromeFiles" but when I put that in, everything stops. (Oh by the way, I finally convinced Opaque to de ip blok me from gamma, some I can now test the extension once again, the onclickl part works, but not the context). ~Viz OK this brings us to the topic of Chrome Registry - which was there previously too - but not as advanced as it is now. I need to chalk up a tutorial soon enough. Here's how it works: Look OUTSIDE the chrome folder - in the root folder where you unzipped the extension. You'll find a file named: chrome.manifest. Starting from FF1.5 and above this file keeps track of all the folders that you're using to split out the contents of the extension. FF 1.5 onwards, this file is a must-be-present part of your extension. If you open up the chrome.manifest file, you'll find three-four lines in there: CODE content creditsreporter chrome/chromeFiles/content/ skin creditsreporter classic chrome/chromeFiles/skin/ locale creditsreporter en-US chrome/chromeFiles/locale/en-US/ overlay chrome://browser/content/browser.xul chrome://creditsreporter/content/credits.xul The first and last lines are again - MUST BE PRESENT in all extensions. The first line as you can see has three columns. It defines an entity called "content" (1st column) - which is a part of the "creditsreporter" (2nd column) extension - and the core files of this extension can be effectively located at "chrome/chromeFiles/content/" (3rd column). This line has to be present, and if you wish NOT to follow the standardised folder structure of extensions, you can place your core files elsewhere and change the content folder here - to make FF read it from your customized folder. For example I can write this line as: content creditsreporter abcd/efgh/zyx Now NOTE, that in effect what is getting defined is a pointer called content, under creditsreporter.. So we can refer to the contents of the above directory as: chrome://creditsreporter/content/ . ( chrome://2nd column/1st column ) Advantage of this method is - if you change ur folder structure later on you don't need to go back and change it all over in your extension - it entirely eliminates the need to hardcoding the file paths.. Whenever you need to change the dir structure, you simply come to chrome.manifest and change it here - the change is reflected all over your extension.. Similarly - note how I defined a pointer to the graphics folder, using the word skin - which again is nested under creditsreporter.. The 3rd column here simply specifies a name for the skin - you're free to name it whatever or in some cases can have multiple skins with different names. Once again, this points to the folder chrome/chromeFiles/skin/ So in effect, chrome://creditsreporter/skin/ will point to this folder. As I've defined only ONE skin, this is the default one chosen. Next we come to locale - which allows you to setup locale specific strings - so a user is free to switch the extension interface to the language of his choice.. Same STRUCTURE.. first locale, next creditsreporter, next the locale name string (en-US) that uniquely identifies the locale and fourth the folder where you'll find the locale files.. Putting it together - the files for en-US can be found at: chrome://creditsreporter/locale/en-US/ which is turn will point to the folder mentioned in the chrome registry... All these lines are very similar with just minor variations.. Confused ?? Let me know, i'll try to clear it up a little more. |
|
|
|
Dec 10 2005, 03:23 PM
Post
#18
|
|
|
Premium Member Group: Members Posts: 209 Joined: 7-October 05 From: Đà Nẵng City - Việt Nam Member No.: 8,966 |
It doesn't work for me, the FF stop responding when I click Option. Nothing is shown at the status bar.
|
|
|
|
Dec 10 2005, 06:12 PM
Post
#19
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 |
QUOTE(PureHeart @ Dec 10 2005, 10:23 PM) It doesn't work for me, the FF stop responding when I click Option. Nothing is shown at the status bar. Hey how come - are you receiving any sort of error messages ?? What version of FF are u using ? Is it one of the nightly builds ? Cant you give me sort more details please .. will help me figure out the bugs. |
|
|
|
Dec 11 2005, 02:30 AM
Post
#20
|
|
|
Premium Member Group: Members Posts: 209 Joined: 7-October 05 From: Đà Nẵng City - Việt Nam Member No.: 8,966 |
QUOTE(miCRoSCoPiC^eaRthLinG @ Dec 11 2005, 01:12 AM) Hey how come - are you receiving any sort of error messages ?? What version of FF are u using ? Is it one of the nightly builds ? Cant you give me sort more details please .. will help me figure out the bugs. There's no error message here. I'm using FireFox version 1.0.7 (offical, not a nightly build). And here's the screenshoot.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 8th September 2008 - 06:39 AM |