Sava
Members-
Posts
575 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Sava
-
So you have 2 dropdown menus, and you would like the options for the second dropdown menu to be determined by the first one, just to be clear? So for example dropdown one has A B C and if A is selected dropdown 2 has X, Y, Z but if B is selected it as S, T, V for example?
-
Leave of Absence v1.0 (Updated April 13th 2013) Note: Update v0.9 - > v1.0 (view changelog: https://github.com/savamarkovic/phpvms_loa#changelog ) about: phpVMS addon for pilots to submit a LoA request that is stored in a database and an option for staff to view, delete and edit all the LoA requests through the admin panel. The addon checks if the requested leave lenght is longer than the specified number of days. It uses the date of submission as a start date. When the LoA requests are submitted, both the users and the admin will get an email. Developed by: Sava Markovic http://www.airserbiavirtual.com Developed on: phpVMS v2.1.934 stable php 5.3.1 mysql 5.0.5 apache 2.2.14 License: Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License Installation: All installation instructions and update info can be found here: https://github.com/savamarkovic/phpvms_loa#loa-module-v10 Screenshots http://i.imgur.com/LYeU0.jpg http://i.imgur.com/V55qI.jpg http://i.imgur.com/nq92W.jpg http://i.imgur.com/yX9vy.jpg Download: The addon can be found and downloaded here: https://github.com/s...ovic/phpvms_loa Enjoy!
-
I believe it has been only added to the beta version, not 2.1.934 which is the last stable version.
-
you deserve it
-
You really need to tell us what you are trying to do so we can help you. If you for example want to display some menu items for loggedin users only you can do it directly like this: <?php if (Auth:LoggedIn() == true) { ?> all the html for menu items for loggedin users goes here <?php } else { ?> all the html for visotors goes here <?php } ?> Again, it depends on what you would like to do Share more details and I can help you
-
As the others have stated, if I was looking for this kind of service, I would make sure to know how you do it or I would use Simpilot's service. He is respected throughout the community and I would have no doubt. I can't say the same for you. Especially since you marketed your services to me even by PM. I am not holding anything against you and do not get this in the wrong way. It is just some friendly advice. As I stated in the PM, good luck to you and your business.
-
Nice site Good luck!
-
Its not mine
-
http://www.freshjetvirtual.com anyone?
-
It works like this. The system first looks for a tpl in the active skin folder, than if none is found it looks in core/templates directory. If you edit any files you should first copy them to the skin folder and than edit them so you still have a default copy if you need for updates etc. So, look in core/templates. if you can not find it, make one yourself and place it in the skin folder
-
Looks great Kyle!!
-
Mine is pretty simple
-
Thanks Carlos! I am looking to give back something to the community but I don't have any ideas
-
It is OK for me now also! I guess I was seeing the cached version last evening. Glad it worked out! Sorry for the trouble I caused.
-
For me it is still repeating vertically. Also, you had the absolute position statement in your original code. Check above^. You can maybe try using: background-size:contain; or background-size:cover; Again, I am not any good at CSS so it will be a trial and error process.
-
Try: background-repeat:no-repeat; Though I am not sure as I am not that good at CSS. That will probably only make it appear once but not stretch it out.
-
Hey everyone! I am still new to PHP but I will have some free time during the next few weeks and might just be able to contribute to the community and develop an addon or two. Nothing complex but some small staff rather. Leave your suggestions on what you would like and I will take a look and see if I can do it
-
Thank you very much Kyle! It means a lot coming from you! Yes that would be really nice if you can pin it! I hope it will help out a lot of new users as it took me a while to figure everything out!
-
Some people asked me how do I create the custom modules/pages (however you would like to call them ) For example the recruitment page ( http://www.airserbia...php/recruitment ) It is actually really easy but for people who are new with PHP and MVC pattern ( like me not long ago ) it can be quite challenging to understand. First off, there is good documentation on this matter but not many people take a look there unfortunately. First of, MVC. The MVC pattern is really easy to describe. You 'separate' your code in three different sections/files. Models, Views, Controllers (MVC) Models are in charge for work with the database, the views are what are displayed to the end user and the controllers control the entire 'application'. Controllers About In phpVMS, which is developed on the Codon Framework, all controllers are located in the following directory. /core/modules/<module name> http://www.myva.com/index.php/something routes to the index function of the respective controller located core/modules/Something/Something.php (More on this later) Naming All folders should be named with the first letter in uppercase. The controller itself should also be named with the first letter in uppercase. Lets take an example For example, the controller for the Profile is located here: /core/modules/Profile and contains the file Profile.php which is the controller. Views About The views are located in the core/templates folder. They contain the HTML output shown to the end user. Any logic should be in the controller not the view file. Naming All views belonging to a single module should be named with the module name first followed by an _ and a description of the view's purpose. For example mymodule_showeverything or mymodule_newsomething. Models About The models are located in the core/common directory. They are the database layer and handle all requests to the database. Naming Models and are named with the first letter in uppercase. The models end with .class.php (SiteData.class.php). ---------------------------------------------------------------------- So, we covered that, let's go to the actual creating of our first module. Let's use the About Us page for example. Create a new folder inside the core/modules directory .Name it About and create a new php file inside called About.php Once completed, the About.php file should look like this: <?php class About extends CodonModule { function index () { $this->render('about.tpl'); } function mission () { $this->render('about_mission.tpl'); } } ?> Let's take a look what we have done here First of we extend the CodonModule and create a new index function. This is the function that is loaded when no further functions are appended to the url. Inside that function we call the view with the $this->render() command. If your view is located in a subfolder you need to add that ( ex. $this->render('subfolder/view.tpl') ) Than we have the mission function which loads the respective view file and can be found with this link: /index.php/about/mission This is the basic concept to get you up and running. Please do take a look at the documentation for more information! http://forum.phpvms....and-add-ons-r25 http://forum.phpvms....conventions-r17
-
You are welcome. To clarify, dark themes in forums, websites etc. are just hard for the eyes. At least for mine they are. A light gray/white template with some colorful touches are the best in my opinion. Check out my VA site for something like that. @mod No marketing intended, just to show what I am talking about.
-
Good luck Scott
-
Air Serbia Virtual Site Redesigned - Need opinions
Sava replied to Sava's topic in Virtual Airlines Discussion
And I was only giving you my opinion so no need to get upset. -
Nothing prevents you from charging for your services Vantiy. If he decided to charge and help out his family any way he can, I support that and wish him all the best and your comments are really not appropriate.