Template Library not working, get blank templates
Posted: 26 May 2007 04:36 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  03-08-2007

When I create a .tpl for use in my template library then trying to create a new template based on it, all I get is a blank file. I use mostly global template variables in my .tpl files, would that make a difference? Is there something I’m doing wrong?

Profile
 
 
Posted: 01 June 2007 08:25 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  601
Joined  10-22-2006
imakethings - 26 May 2007 04:36 PM

create a .tpl for use in my template library then trying to create a new template based on

Do you mean, you create a template and then you choose “New Template” and then “Duplicate an existing template” and your new template is empty?

Happens to me all the time because I (and probably you, too) just select the template to copy from the dropdown list but forget to check the radio-box to the left which defaults to   “None - create an empty template” ...

Some Javascript-onChange in the SELECT-element to activate the corresponding radio-field would be a nice feature on this page wink

Profile
 
 
Posted: 01 June 2007 02:07 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  03-08-2007

Well not quite… I am literally choosing the template library option and when I click submit, it doesn’t give me what I put in my text/php file (.tpl), it gives me a blank template as a result.

UPDATE: Just minor grammtical corrections

Profile
 
 
Posted: 01 June 2007 02:30 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  30
Joined  12-30-2003

Could be same.
Are you sure xou checked the radio-field to the left?

 Signature 

Still blogging after all those years.

Profile
 
 
Posted: 01 June 2007 02:35 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  03-08-2007

I’ll check into that and make sure.

Profile
 
 
Posted: 10 June 2007 03:35 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  62
Joined  03-08-2007

Still doesn’t work, I doubled checked everything and I still get a blank template. FYI, I’m not duplicating an existing layout. I am using the template library feature of ExpressionEngine (and exactly as the documentation instructs as well). Ugh, I neeed help. Anyone else dealt with this?

Profile
 
 
Posted: 31 August 2008 09:48 AM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  44
Joined  09-08-2002

Seems like this topic was never resolved.  I am having what appears to be the same problem.

I’m running v1.6.4 build 20080626.

I have created a .tpl file and set the global template settings to point to system/templates/ but there is no template library drop-down when I select create new template and click the radio button for use template from library.

I am following the example exactly as presented in the documents.

Is this broken or am I doing something wrong?

—edit—
For some reason, after I closed my browser and reopened it, this feature is now working for me.

 Signature 

Everybody is entitled to my opinion!

Profile
 
 
   
 
 
‹‹ "If Count" help      MySQL ERROR 1054 ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65086 Total Logged-in Users: 37
Total Topics: 82224 Total Anonymous Users: 16
Total Replies: 441922 Total Guests: 191
Total Posts: 524146    
Members ( View Memberlist )