#1 (permalink)  
Old 10-27-2008, 11:28 PM
Registered User
 
Join Date: Mar 2007
Posts: 34
Excell is on a distinguished road
Default PHP in templates

I added this php snippet into the category template browse.html
Code:
Content visible to License Owner only.
in the hope of generating a keyword using the page title for another application. However, this didn't work.

How to make the $page_title work within the php code? Thank you.
Reply With Quote
  #2 (permalink)  
Old 10-28-2008, 01:38 AM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,032
Bruceper is on a distinguished road
Default

This has nothing to do with php, it's smarty you are wanting

<%$page_title%>
Reply With Quote
  #3 (permalink)  
Old 10-28-2008, 04:17 AM
Registered User
 
Join Date: Mar 2007
Posts: 34
Excell is on a distinguished road
Default

Hi Bruce,

Thank you for the information.

I know <%$page_title%> can be used alone in the template. But in my case the above php code is necessary in order to activate a correspondent script.

I just want to figure out how to have the <%$page_title%> or its alternatives work in the php code. I tried various expressions, all failed.
Reply With Quote
Reply

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Templates Harkster Pre-Sales Questions 5 03-15-2008 10:26 PM
WTB: Templates piet Templates 3 12-05-2007 02:56 PM
Templates desmond Templates 11 09-30-2004 01:30 PM
Templates richhead v3.2 9 09-09-2003 03:44 AM
Different Cat Templates Heiko v5.x 0 11-11-2002 04:49 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 05:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate