Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 07-04-2012, 05:55 PM
Junior Member
 
Join Date: 06-23-12
Posts: 8
iTrader: 0 / 0%
Exclamation What doe $template::parse_d ( head_styles ) mean?

Hello All,

I have tried to copy a template by simply copying all of the files from the original template and saving them in another folder. I have upload the template to my server in the appropriate place, but when I activate it and go the the page all I get is "$template::"parse_d ( head_styles )" and nothing else on the screen. What does this mean and how can I fix it?

Here is the code to my header.php file:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>{head_title}</title> <meta name="description" content="{meta_description}"> <meta name="keywords" content="{meta_keywords}"> <link rel="stylesheet" type="text/css" href="{dir_tpl}style.css" /> <!-- BEGIN BLOCK: head_styles --> <link rel="stylesheet" type="text/css" href="{dir_tpl}style_{css_filename}.css" /> <!-- END BLOCK: head_styles --> <!-- Google Analytics Script --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32589927-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <!-- End Of Google Analytics Script --> <script type="text/javascript" src="{dir_tpl}functions.js"></script> <script language="JavaScript" type="text/javascript"> <!-- function myWindowOpen(url, title) { var myScrollbars = 'yes'; var myMenubar = 'yes'; var myHeight = 380; var myWidth = 540; var myResizable = 'no'; var myToolbar = 'no'; var myLocation = 'no'; var myStatus = 'no'; var myWindow = window.open(url,title,'scrollbars='+myScrollbars+' ,menubar='+myMenubar+',height='+myHeight+',width=' +myWidth+',resizable='+myResizable+',toolbar='+myT oolbar+',location='+myLocation+',status='+myStatus ); } //--> </script> <!-- Script For WebSnapr Photo --> <script type="text/javascript" src="http://www.websnapr.com/js/websnapr.js"></script> <!-- End of Script --> </head> <body> <div class="body-container"> <div class="body-outer" id="body-outer"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>{head_title}</title> <meta name="description" content="{meta_description}"> <meta name="keywords" content="{meta_keywords}"> <link rel="stylesheet" type="text/css" href="{dir_tpl}style.css" /> <!-- BEGIN BLOCK: head_styles --> <link rel="stylesheet" type="text/css" href="{dir_tpl}style_{css_filename}.css" /> <!-- END BLOCK: head_styles --> <script type="text/javascript" src="{dir_tpl}functions.js"></script> <script language="JavaScript" type="text/javascript"> <!-- function myWindowOpen(url, title) { var myScrollbars = 'yes'; var myMenubar = 'yes'; var myHeight = 380; var myWidth = 540; var myResizable = 'no'; var myToolbar = 'no'; var myLocation = 'no'; var myStatus = 'no'; var myWindow = window.open(url,title,'scrollbars='+myScrollbars+' ,menubar='+myMenubar+',height='+myHeight+',width=' +myWidth+',resizable='+myResizable+',toolbar='+myT oolbar+',location='+myLocation+',status='+myStatus ); } //--> </script> <!-- Google Analytics Script --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32589927-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <!-- End Of Google Analytics Script --> <!-- Script For Social Buttons --> <script type="text/javascript" >var switchTo5x=true;</script> <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script> <script type="text/javascript" src="http://affiliatewebsitedirectory.com/tpl/phpAdsBlu/loader.js"></script> <!-- End --> <!-- Script For WebSnapr Photo --> <script type="text/javascript" src="http://www.websnapr.com/js/websnapr.js"></script> <!-- End of Script --> <link rel="shortcut icon" href="favicon.ico"> </head> <body> <div class="body-header-bgimg"><div class="body-header"> <table width="105%" cellpadding="0px" cellspacing="0px" border="0px"> <tr> <td nowrap valign="bottom" padding-bottom="15px"><span id="logo"><a href="http://affiliatewebsitedirectory.com"><img src="http://affiliatewebsitedirectory.com/tpl/phpAdsBlu/images/logo1.gif" alt="Affiliate Website Directory" /></a></span></td> <td><span class="homepage"> <a href="http://affiliatewebsitedirectory.com/advertise.html">Advertise</a> <a href="http://affiliatewebsitedirectory.com/contact.html">Contact Us</a> </span> </td> </tr> </table> <div class="linkleader"> {leader_link} </div> </div></div> <div class="body-container"> <div class="body-outer" id="body-outer"> <div class="tsmenu"> <div class="tmenu"> <table width="100%" cellpadding="0px" cellspacing="0px" border="0px" height="90%"> <tr> <td nowrap align="left" width="100%" > <a href="{dir_base}">{lang_home}</a>&nbsp; <b><a href="{pages_submit_url}">{pages_submit_name}</a></b>&nbsp; <a href="{pages_latest_url}">{pages_latest_name}</a>&nbsp; {tmenu_links} </td> <!-- Top Header Banner --> </tr> </table> </div> </div> </div> {body_nav} <table width="100%" cellpadding="0px" cellspacing="0px" border="0px"> <tr> <td width="150px" valign="top"> <div class="body-left"> <br> <center> <a href="{pages_submit_url}"><img src="{dir_tpl_images}submit.gif" alt="submit"></a> </center> <br> </div> <div class="body-left"> <h3>Search</h3> <form action="{dir_base}search.html" method="post" style="display:inline;"> <table cellpadding="2px" cellspacing="0px" border="0px" align="center"> <td nowrap align="right" valign="middle"><input type="text" name="q" class="input-search" /></td> <td nowrap align="right" valign="middle"><input type="image" src="{dir_tpl_images}btnsearch.gif" /></td> </tr></table> </form><br> </div> <div class="body-left"> <h3>Directory Benefits</h3> <ul> <li>Highly Promoted.</li> <li>Deep Linked URLs.</li> <li>Link Upgrades.</li> <li>Top bid gets maximum exposure through sitewide links!!!</li> </ul> </div> <div class="body-right"> <h3>Recommended Sites</h3> {linkroll} </div> </td> <td valign="top"> <div class="body-content"> {cat_list} {ltr_list} <br /> <script> var options={ "publisher": "b12a0c42-a4fe-44a8-8f67-2a25e4017ac0", "position": "left", "ad": { "visible": false, "openDelay": 0, "closeDelay": 0}, "chicklets": { "items": ["googleplus", "facebook", "twitter", "linkedin", "reddit", "digg", "delicious", "stumbleupon", "pinterest"]}}; var st_hover_widget = new sharethis.widgets.hoverbuttons(options); </script>

Your help would be greatly appreciated!

Last edited by snakeair; 07-05-2012 at 05:55 AM.
 
Reply With Quote
  #2 (permalink)  
Old 07-05-2012, 03:12 PM
Member
 
Join Date: 06-21-12
Posts: 44
iTrader: 0 / 0%
I have no idea. There's just not enough information here nor do I understand what you did. For example... the template you copied, was it meant for and compatible with the script you are using?

If there is a configuration variable or global variable called debug. Set it to true.
__________________
AtomicVPS Cloud Hosting
Interested in seeing how we started?
 
Reply With Quote
  #3 (permalink)  
Old 07-05-2012, 03:29 PM
Junior Member
 
Join Date: 06-23-12
Posts: 8
iTrader: 0 / 0%
Thank you for the reply. All I essentially did was copy all of the files and paste them into another folder and renamed it. I then uploaded the new folder to the server to use as a template and $template::parse_d ( head_styles ) is what shows up.
 
Reply With Quote
  #4 (permalink)  
Old 07-05-2012, 04:51 PM
Super Moderator
Latest Blog:
None

 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 1,731
iTrader: 0 / 0%
What is the template made for? It looks like the template is made for some kind of cms, and maybe that cms is not present to process the template.

The output $template::"parse_d ( head_styles ) tells me that something, maybe a cms or script processor like Perl, Python or php, have not processsed that codeline, but instead just returned the code to the web browser.

Maybe if you could give some more information about the template, it would be easier to find some more specific informations about your problem.
__________________
Need a break? EnterCave more than 40000 online games in 15 categories.
Search or browse through EnterCave Online Games Directory
 
Reply With Quote
  #5 (permalink)  
Old 07-05-2012, 07:17 PM
Junior Member
 
Join Date: 06-23-12
Posts: 8
iTrader: 0 / 0%
It's made for phpLinkBid script. I apologize if I seem a bit vague. I'm not a complete newbie, but I just can't understand why it doesn't work. I copied and pasted the exact same code and created exact replicas, the only thing I changed was the top folder name (the name of the template). What other type of information could I give you to help?
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JM Mica Template, Free Joomla Business Template chetanmadaan Templates and Themes 2 07-26-2010 07:34 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 11:28 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.