Jump to content

aarbee

Members
  • Posts

    199
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by aarbee

  1. Oke,

    here it is.

    I downloaded this some time ago.

    I had tried to find it again, but could not find it.

    So this is the deal.

    You need a folder, for instance bannerimages. In there you put your banners and the rotate.php.

    You do not need to change anything in the file.

    And add as many banners as you want.

    I did put a few examples in it.

    You upload that to your web.

    Next you change or add something to your css file.

    For instance in the part of the bannerimages.

    #bannercontainer {
    width: 920px;
    height: 232px;
    background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0;
    background-color: #000066;
    z-index: 3;
    background-position: right;
    }
    

    Instead of adding a link to an jpg, you add the link to the rotate.php file.

    background: #000 url(../bannerimages/rotate.php) no-repeat 50% 0;
    

    Upload the changed css, and start reloading your website.

    Have fun.

    Note, I have not written that code, nor do I change things.

    I just uploaded some images to my site, where you can see what it does do.

    Visit www.citylink-va.com and hit the reload button a few times.

    Greetings,

    RobB

    bannerimages.zip

    • Like 1
  2. Mischka

    I indeed think you do not understand my issue/problem.

    Next to that I am not thinking about adding a static html page.

    I have vms installed and I am using it as intended by the creator.

    Yet standard you find news on the frontpage, when you open your site. That is intended by the creator.

    I also did build a few pages in vms.

    And instead of showing using news on the frontpage, I want to show the content of one of the pages I created.

    The option I learned to accomplish that where also written by Simpilot.

    1. Create a static index.html - But that is not my intend, as I have to re upload my frontpage if I changed something somewhere

    2. Edit the frontpage_main.tpl and add the text in there. - This is what I have now, but if I want to change the text I have to re upload it by ftp. This works better then 1, but I still need ftp for this one page.

    3. Try to load a page of my choice. But that is something I have trouble with finding.

    So for the time being, I keep it at option 2. And is what you suggest as well.

    Greetings,

    RobB

    btw I did send you a PM.

  3. I did choose option 2, this afternoon. and it works.

    However I was looking for something like option 3.

    Do you mean the index,php in the root of the site?

    There nothing in it that is called:

    define('CODON_DEFAULT_MODULE', 'Frontpage');

    I did find it in the app.config.php at line 319.

    So maybe you meant a different index.php.

    I did a text search on all documents.

    Thanks for the help.

    RobB

  4. I will not write kind of stuff.

    I understood what everybody wrote. For which I thank you all.

    How ever, on the frontpage_main.tpl I see this row:

    MainController::Run('News', 'ShowNewsFront', 5);

    Which tells me, show the latest 5 newsarticles.

    Instead I would like to see a normal page there, that I can maintain via the admin panel.

    On this moment, I have done it via html-coding.

    So I would expect something like:

    MainController::Run('Pages', 'home');

    But that does not show anything.

    Maybe somebody can help how to read the page home automatically.

    Met Groet,

    RobB

  5. I have added the pop-news.

    It works. But I am not sure if I am happy with the positions with it.

    It simply disappears at the bottom of the page. I know it has todo with the design, which I might change overtime.

    I only wonder if it is possible to create a page with the backoffice part and include on that page the news. I had tried this, but it is not visable.

    For the rest thanks for the great support.

    RobB

  6. I know. ;-)

    But I used to try out things, or fiddle around until...

    Meanwhile i fiddled out, that I need echo $page_content;

    Else the whole concept is not working at all.

    So there must be something in the frontpage_main.tpl.

    I found this row:

    MainController::Run('News', 'ShowNewsFront', 5);

    This prints the news on the frontpange.

    And I thought I change it in:

    MainController::Run('Pages', 'About');

    But now I am getting an empty page.

    And I could type a text below the ?> and that is showing.

    I use that for the time being.

    By the way RogerB, I looked at your VA. Nicely done. What you do is what I have in mind for my VA. But then for Europe.

  7. Thanks Roger. It worked.

    I added the pages I wished to see in the core_navigation.tpl.

    And in the Admin module I set the pages to: Public and not Enabled.

    I wonder what happens if I do an update.

    Is it so, that if I understand the right, that an update overwrites my work, unless, I put my changes in template-root folder?

    Greetings,

    RobB

  8. Thank for the tip caalair.

    I will look at simpilots.

    Regarding your thing about the missing </div> this: On every browser (Firefox 12, IE 9 and Chrome), I have the footer completely to the bottom-right of the page.

    However, there are 2 occasions, where it is in the middle of the page. And I only see it, when I am logged in.

    do you see it on everypage?

    Greetings,

    RobB

    Added later:

    How can I make a startpage or homepage my beginning page?

    I am slowly thinking that the layout of this site is my downfall on this moment. But I have more templates on my sleeve...

    RobB

  9. Hello,

    I have been fiddling around with phpvms for quite some time, for my new va.

    It is a nice tool. And I have created my own template.

    In which I succeeded.

    I would like to change the frontpage.

    In a way where the news is replaced by a static page. And that I have a link to the news module.

    Anybody an idea, how to do that?

    I have been working my way through the documentations, but I could not find how to do it.

    My php knowledge is nearly zero. But I have some knowledge

    Here is a link to my site: http://www.citylink-va.com

    Greetings,

    RobB

  10. Hello,

    I have been trying to create a template myself.

    It took me a complete evening, to finish it. Yet I have two issues.

    Issue one is, the menu.

    I have fiddelded out that the menu resides in this file: core_navigation.tpl.

    So added some code here, like a class. So I get my desired horizontal menu.

    All of the menus are done, except for the pages. They have a dot in front of it and are vertical.

    I cannot find the module that is pointed in the core_navigation.tpl.

    Next to that the HOME button resides somewhere in the middle.

    Issue two is the recent reports.

    In the Crystal skin, I saw that these items reside in the <div id=sidebar>.

    So I created a sidebar with that name.

    Yet the home page places it at the bottom of the content. Not in the specified sidebar.

    How can I resolve that issue?

    This is the address www.airumbrella.com.

    And yes I know, I have to tweak a lot.

    Greetings,

    Rob

×
×
  • Create New...