Results 1 to 5 of 5
  1. #1
    syp
    syp is offline
    Casual Pligger syp's Avatar
    Joined
    Jun 2007
    Posts
    42
    Thanks
    Received:0
    Given: 0

    space in the source code

    hi all. is is possible to remove unused space in the source code of generated pages?

    Example:
    Code:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    		
    	<meta name="description" content="Pligg Content Management System" />
    
    	<meta name="keywords" content="Pligg Content Management System" />
    	<meta name="Language" content="en-us" />
    	<meta name="Robots" content="All" />
    		
    
    <link rel="stylesheet" type="text/css" href="/templates/p/css/main.css" media="screen" />
    to show like:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="description" content="Pligg Content Management System" />
    <meta name="keywords" content="Pligg Content Management System" />
    <meta name="Language" content="en-us" />
    <meta name="Robots" content="All" />
    <link rel="stylesheet" type="text/css" ref="/templates/p/css/main.css" media="screen" />
    I've tried to edit templates, but without success. thanks

  2. #2
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,513
    Thanks
    Received:85
    Given: 14
    Site
    http://pligg.com/demo/
    Are you sure that you're editing the correct tpl files, not the templates_c files? Try clearing the template_c folder and refresh the page. It should update the code how you want it.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  3. #3
    syp
    syp is offline
    Casual Pligger syp's Avatar
    Joined
    Jun 2007
    Posts
    42
    Thanks
    Received:0
    Given: 0
    thanks, but it doesn't help

  4. #4
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,513
    Thanks
    Received:85
    Given: 14
    Site
    http://pligg.com/demo/
    What file are you editing? Are you editing from your browser or FTP upload? Are you sure you are uploading it to the correct template directory?
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  5. #5
    syp
    syp is offline
    Casual Pligger syp's Avatar
    Joined
    Jun 2007
    Posts
    42
    Thanks
    Received:0
    Given: 0
    I'm editing .tpl files from template folder that currently enabled. Site is on localhost. I'm pretty sure I;m editing right files. I can get rid of meta or css links for example, but can't remove this empty space. I think it's generated by the pligg itself. If i remove empty space from template files and make them totally inline - there are still empty space in the generated html. Could you please provide me with your site to check generated html?

    HTML of the pligg.com:

    HTML Code:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
    
    	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    	<meta name="description" content="Pligg Content Management System">
    	<meta name="keywords" content="Pligg Content Management System">
    	<meta name="Language" content="en-us">
    	<meta name="Robots" content="All">
    		
    
    	<link rel="stylesheet" type="text/css" href="css/fraxi.css" media="screen"><!--[if lte IE 6]>
    		<script src="/fraxi/js/jspath.php" type="text/javascript"></script>
    		<link rel="stylesheet" type="text/css" href="css/ie6.css" media="screen" />
    
    	    <script type="text/javascript">
    			if (typeof blankImg == 'undefined') var blankImg = my_pligg_base + 'images/blank.gif';
    		</script>
        <![endif]--><!--[if gte IE 7]>
    		<link rel="stylesheet" type="text/css" href="css/fraxi.css" media="screen" />
    	<![endif]-->
    
        
    
    <title>Pligg Content Management System</title>
    	
    	<script src="http://www.pligg.com/mint/?js" type="text/javascript"></script>
    	
    	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/rss.php">
    	<link rel="icon" href="/favicon.ico" type="image/x-icon"></head><body>
    		<div id="body-wrap">
            	<div id="header">
            		
    
    <div id="head-nav">
    	<ul class="nav-menu">
    
            <li><a href="http://www.pligg.com/" class="navcur">Home</a></li> 
    		<li><a href="http://demo.pligg.com/" class="nav">Demo</a></li>
    		<li><a href="http://www.pligg.com/wiki/" class="nav">Wiki</a></li>
    		<li><a href="http://www.pligg.com/blog/" class="nav">Blog</a></li>
            <li><a href="http://forums.pligg.com/" class="nav">Forum</a></li>
            <li>&nbsp;</li>
    	</ul>
    
        <ul id="header-search">
        	<form class="inputter" action="http://forums.pligg.com/search.php?do=process" method="post" name="thisform" id="thisform">
        		    			    		            <input src="index_files/search-icon.png" value="Go" id="search-submit" type="image">
                <input size="15" class="itext" name="query" id="searchsite" value="Search.." onfocus="if(this.value == 'Search..') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search..';}" type="text">
    			</td>
        	</form>
        </ul>
    
        <div id="navbar">
    
                <div class="left-pane">
              		<a href="http://www.pligg.com/">Pligg Home</a>
              		 » Welcome 
    			</div>
        </div>
    
    </div>
    
    
            	</div>
                <div id="body-contents">
    
        			 <div id="wrapper"> 
    
    
    <div class="topbox">
        <div class="topboxtop">
    

Similar Threads

  1. Space in top sidebar
    By detronecis in forum Questions & Comments
    Replies: 4
    Last Post: 09-30-2010, 06:04 PM
  2. RSS feeds showing blank but source code shows feed?
    By parati in forum Questions & Comments
    Replies: 3
    Last Post: 03-14-2010, 08:20 PM
  3. won't allow space in username
    By barricades in forum Questions & Comments
    Replies: 0
    Last Post: 03-05-2010, 05:28 AM
  4. GEO Source Code - Programming Material for Students & Professionals
    By php_developer in forum Questions & Comments
    Replies: 0
    Last Post: 07-22-2008, 01:58 AM
  5. CGBuzz & Open Source Code
    By nanobi in forum Questions & Comments
    Replies: 1
    Last Post: 02-10-2007, 08:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg