It is actually very easy and not hard coded. You need to modify three files. If you wait till tomorrow I will post details it is 2.16 in the morning here in Los Angeles and I want to go to sleep. I promise I will explain it to you tomorrow. Thanks
These are the three files you need to modify in order to change the menu on the left to access the modules on “unembedded freePBX”.
You can remove the entries or add as needed. Keep in mind that the modification has to be done in all the three files. O.K. the file: ”en.lang “ is the one that will set the names in the menu and that will show on the main page of the interface. The “index.php” file constructs the page and the “main.tpl” sets the destination or what the menu will take you to when clicked. You can see that my “unembedded freePBX” link takes me to the “ARI” module which I now call “Web Portal”. Follow this model and you can customize your installation the way you want. As you can see it is not difficult nor is it hard coded in any way. I hope you and others can use it. If you need more tips post here.
Note you have to open these files and look for the text needed to be edited. I use WinSCP to work on these machines and that software is also free.
--------------------------------------------------------------------------------------- First file: www/html/modules/pbxadmin/index.php
// Reviso si el REQUEST_URI tiene ya variables tipo get. Solo busco por un signo de ?
if($pos>0) $URL_RELOAD = $_SERVER['REQUEST_URI']."&handler=reload";
else $URL_RELOAD = $_SERVER['REQUEST_URI']."?handler=reload";
I forgot to mention that in most cases however not always, you will have to clear the cache in the following folder:
These are the created templates you see on your browser. Also chances are that the browser itself may need a cache flush as well. If you do not see these templates after deleting them once simply use the refresh feature if you are using WinSCP.
If you don't consider your solution to be hard-coding, I suggest your concept of three files is off by a quite a few, please for completeness and for the non anglophones, post also your proposed changes to:-
For a minute I thought I was going to be talking to someone half intelligent I guess I was wrong. i could nevertheless translate this into 5 languages if I wanted to. However the purpose of my reply was to let that person know how really it "really" is. Also maybe this guy only needed a guide which I gave to him. Perhaps you prefer to talk or should I say post in Spanish. that is fine also. However I will not use the kind of language you do nor would I insult you and call you "extranjero" despectivamente. I am proud to be an American if that is what you were referring to. (An educated one if I may say). Anyway enjoy your self and do not insult anybody. That's not the purpose of this forum.
I am sure the guy was not about to write a new module anyway.
You questioned my post, I merely replied, your solution is without doubt a hardcoded one and I might add a less than complete one, as I precisely pointed out. I am not unarmed, neither intellectually or linguistically.
It simply gives the impression you are uneducated what can I say and your first post was wrong and totally without foundation Me entiendes o mejor digo Orale amigo? Stay with God my man. you need help. You are egocentric and not very proud of what you are.
I feel sorry for you.
I will visit the forums for as long as I want after all I do live in a Democracy that is The USA OF COURSE. I never meant to get into a confrontation with you or any body. all I wanted to do is help. As far as Me learning from this? I hope you meant the forums. We are not perfect my man but we can learn, that is why we come here. as far as me attacking your post, that is not so I simply pointed out to the guy that the solution to HIS problem could be resolved that way. You attacked me and that is fine after all, when I was at MIT I had confrontations with my professors.
Have a good one and perhaps we could talk sometime I was planning to visit Ecuador to see these fine Palosanto people. I have no idea where you are but hey who knows. Take care..
By the way my name is Michael and I live in Los Angeles and in Sao Paulo Brazil.
Given your years at MIT, then I believe you could have gotten your analytical thinking down better, please read the thread from the beginning, I suggested originally that the core embedded freepbx functions were hardcoded, they are, and that without doubt, you came up with a solution, which whilst perhaps effective for anglophones, was an overload of the elastix code, and not without irony, was IMHO itself hardcoded, it will not survive a yum update.
Had you not been "pointed" as to my post I would have let it go, your post was however, even by MIT standards incomplete, (come on be honest). Your further posts indicate a lack of academic discipline that I suggest you might need to re-remember from what you learned at school, YOU became aggressive and strangely simultaneously defensive even if from an indefensible position, I am myself not without academic training. So as you apparently missed my linguistic whimsy, took it as a personal attack, and still cared to denigrate me you might find it a little harder than you thought, I have been doing this stuff way longer than you, and I really don't care what you think of me.
I am also in disagreement with your self-founded thus unsupportable assertion that I am " . . not very proud of what you are . . " , I do not suffer in any way from 'saudade' which I believe means nostalgia, or perhaps in your case, regret in Portuguese.
Anyway, let's put that aside, please accept my previous welcome and lets move on.
Just for your information there is a very serious push to remove the "Embedded FreePBX" in Elastix by many of us because of it's basic dysfunction and stultifying effect on the very dynamic FreePBX. So hopefully this whole thread will soon become moot.
p.s. I also live in L.A. and am prepared to buy you a Brahma any time you care to buy me one reciprocally.
p.p.s chito is from the Dutch Antilles, is Dutch one of your five languages?
can you help me that how i can add and delete the Top menu (system, Agenda, Email etc) and how i can add and remove the controls in each form.... i mean that i want to add and delete the textboxes or dropDownBoxes in PBX section.. how i can????