MVS105
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by MVS105
-
-
What's the skin you're using? Are you putting it into the correct folder?
I use my own skin. It is located in
lib/skins/mvs/pages_items.tpl
I have modified other tpl files and placed in the path and they work properly.
Gracias.
-
You need to use a lightbox which is compatible with jQuery. You're using prototype which conflicts with that, and will cause errors. By placing it below, you're overriding jquery, which is breaking the site.
So I'd find a lightbox which can be used with jquery (there are quite a few, colorbox, etc), and place those includes where it says to in the file
Thank you very much for your answer
-
So it turns out that there is a way to create admin templates, in the /admin/lib/ folder you'll see a folder called 'layout' which is the default template. Templating works the same as for standard skins.
The configuration option is available in /core/app.config.php on line 258:
Config::Set('ADMIN_SKIN', 'layout');
This is the solution.
Thank you very much
-
Better than a thousand words, one picture... or two
The first image is with custom file modified and put in "lib/skins/mytemplate/pages_items.tpl"
To see the correct menu item, second image, we must modify the original file "core/templates/pages_items.tpl"
-
Not sure what you are trying to do here. If you are trying to start a new page, it can be done in the Admin Center. Under News & Content, click Pages. On the next page (on the top left) you will see Add Page and View Pages. There you can create a new page and once it has been created, you can link to it by placing www.yoursite.com/index.php/pages/pagename (pagename= the title of the page you created)
No, my code is:
<?php if(!$allpages) return; foreach($allpages as $page) { echo '<li><a href="'.url('/pages/'.$page->filename).'"><span class="l"> </span><span class="r"> </span><span class="t">'.$page->pagename.'</span></a></li>'; } ?>
Necessary to customize the view of the top menu item with CSS code
This is the original code.
<?php if(!$allpages) return; foreach($allpages as $page) { echo '<li><a href="'.url('/pages/'.$page->filename).'">'.$page->pagename.'</a></li>'; } ?>
-
Copied the original file "core/templates/pages_items.tpl" and placed in "lib/skins/MyTemplate/pages_items.tpl", this is ignored showing always the original.
-
First of all, I'm sorry for my poor English. But I'm sure you can understand.
I am using scripts Lightbox2
Calling the scripts are in template.tpl
/* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> <link rel="stylesheet" href="/lib/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="/lib/lightbox/js/prototype.js"></script> <script type="text/javascript" src="/lib/lightbox/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="/lib/lightbox/js/lightbox.js"></script>
if I put in this position (see above) shows the error "No route Passed", but lightbox work correctly.
if I put them before (see code below)
<link rel="stylesheet" href="/lib/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="/lib/lightbox/js/prototype.js"></script> <script type="text/javascript" src="/lib/lightbox/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="/lib/lightbox/js/lightbox.js"></script> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?>
No error appears but lightbox does not work.
Of course, the error appears when I go to book flight (addbid)
Report: install/checkinstall.php
phpVMS Virtual Airline Administration Software
Install Check
phpVMS Build Number: 934
Checking PHP version
[OK] PHP version is 5.2.13.x
ASP Tags
[OK] ASP-style tags are disabled
Checking connectivity...
[OK] Can contact outside servers
Checking for SimpleXML module...
[OK] SimpleXML module exists!
Checking file hashes for corrupt or mismatched files
[OK] No errors found!
-- Checked 183 files, found 0 errors
-
The templates in the area of administration may also be customized?
-
Something solely via phpVMS or in general? I ask because I've played with the facebook connect comment API, and I know how to implement that.
Not everyone is a user of Facebook. Would be to integrate a comments system, exclusive within phpVMS
-
Hi, I want to request a add-on mod which i want to see the comment system on news.
Like for example like i made a news about a new aircraft and the pilots can comment on the news. and abiltiy to delete comments too.
I like to see something like that.
Very good idea. It would be interesting to have a commenting system for news.
I do not think so complicated.
financedata Table
in Support Forum
Posted
Hi.
First of all, sorry for my poor English.
I am working with the issue of finances and would like to add the cost of aircraft.
It would be easy to discount the total balance of the purchase of an aircraft.
I have seen that there is a table called finacesdata, but this does not have any rows. There is only the structure.
I have also seen that in all the code is not referenced to the above table, except when you create it as installation scripts.
I wonder.
Am I wrong on the above?
What is it for this table?
It would be interesting to have a table with the total balance sheet and operating with it as you wish.
Expenses system is interesting but not suitable for this purpose.
Thank you very much