Jump to content

monkeypaw201

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by monkeypaw201

  1. Does anyone one know how to bypass the skin wrapping? I know by default you call a template with $this->render('template.tpl'); Is there another function or param to pass to disable the skin wrapping?
  2. Hi markusr, It sure is, on line 52, just remove to get rid of the default links: <?php Template::Show('core_navigation.tpl'); ?> As for the thumbnails, I'll have to get back to you on that.
  3. Yeah, but that's not too difficult
  4. Alrighty! I've got it, was actually easier than I thought: In /core/codeon.config.php add the following to the top (inside the PHP tags): session_start(); if(isset($_GET['template']) && $_GET['template'] != ''){ $_SESSION['template'] = $_GET['template']; define('CURRENT_SKIN',$_GET['template']); } if(isset($_SESSION['template']) && $_SESSION['template'] != '') { define('CURRENT_SKIN',$_SESSION['template']); } Now, the only thing YOU have to do is add a dropdown or links to change the skin. To change the skin, just link it to something like this: Any page, just append ?template=TEMPLATEFOLDERNAME and it will set the skin. Note however that if someone tries to become a smartypants, and put in a skin that doesn't exist, they'll get a blank page.
  5. Haha, I am most willing to share, The system I used doesn't work 100% because any core redirects reset the template, but I'll go ahead and share anyways; My Way: In /core/codon.config.php I added to the top (before anything, but within the PHP tags): if(isset($_GET['template']) && $_GET['template'] != '') { define('CURRENT_SKIN',$_GET['template']); } The Ideal Way: The Ideal way to do this for pilots would be to tweak that code to read a cookie that would have to be set elsewhere, but if you set it (Excellent Tutorial: http://www.w3schools.com/php/func_http_setcookie.asp) you could then call it with: $_COOKIE['template'] instead of $_GET['template'] If you guys want, I can try and play around with this and see if I can get an easy way to get this to work.. problem is when you update it'll get overwritten.
  6. I thought I would try to create a reference guide that is more of a list of elements and pieces that you can put into a template (a little more in-depth than the documentation). I think its generic enough to not get too technical, but if I left something out, let me know so I can update it. EDIT: forgot to attach phpVMS Skinning Reference.pdf
  7. I know, DNS is propogating.. give a few hours.. or if you are hasty, open command prompt and run: Then try the link again and it should work
  8. Just a fix in regards to the issue brought up in: http://forum.phpvms.net/topic/3217-surreal-template-v1-with-dropdown-menus/page__view__findpost__p__21861 I went back to see if any other templates where having the same issue (and no-one reported it yet), and I found it in a couple, so I just fixed it and published an update. Its just some readjustment of lines.
  9. Removed due to copyright violation - Nabeel
  10. Version 1.1 Now Available: http://rapidshare.com/files/440863522/phpvmstemplate_illuminativ1.zip
  11. Version 1.1 Now Available: http://www.la92.com/thread-2.html
  12. Ok (you can change it back) I'm not sure.. I want to say that it is an issue with either the database or something, because you seem to be the only one having issues with the template like that.. Go ahead and change it back and I'll investigate a little and see what I find.
  13. Yes, its possible, you would just replace the text there with an image.
  14. Update version 1.1 Now Available: http://www.la92.com/thread-4.html
  15. Well, when I go to bmibaby-virtual.net I see this:
  16. Removed due to copyright violation - Nabeel
  17. I tried to take a look at what the issue is, but it seems you are using a different template. Let me know if you still need help.
  18. Alright, fix is as follows: In layout.tpl replace: <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/style.css" /> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/blue.css" /> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/ddsmoothmenu.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/ie7.css" /><![endif]--> <?php echo $page_htmlhead; ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/surrealv1/js/pikachoose.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/surrealv1/js/ddsmoothmenu.js"> /*********************************************** * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> <script type="text/javascript"> <!-- ddsmoothmenu.init({ mainmenuid: "navigation", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'menu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }) $(document).ready(function(){ $("#pikame").PikaChoose(); }); --> </script> with: <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/style.css" /> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/blue.css" /> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/ddsmoothmenu.css" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo SITE_URL?>/lib/skins/surrealv1/css/ie7.css" /><![endif]--> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/surrealv1/js/pikachoose.js"></script> <script type="text/javascript" src="<?php echo SITE_URL?>/lib/skins/surrealv1/js/ddsmoothmenu.js"> /*********************************************** * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> <script type="text/javascript"> <!-- ddsmoothmenu.init({ mainmenuid: "navigation", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'menu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }) $(document).ready(function(){ $("#pikame").PikaChoose(); }); --> </script> <?php echo $page_htmlhead; ?>
  19. Bluntly put: I have no idea, I can take a look this afternoon.
  20. Ah I see, you'd have to find someone who mirrored it, or has a not-very-edited copy who is willing to share.. Anyone?
  21. Well, we have skins here on the forum: http://forum.phpvms.net/forum/24-releases/
  22. Thanks Vansers, These next couple weeks are going to have less released as I want to ensure all the bugs are sorted out (not to mention I'm moving!) before I release another 4 or 5.
×
×
  • Create New...