HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


(Solved) Error: A template file is missing: STANDARDBOX_light

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#94201 (In Topic #18786)
Avatar

Well-settled

I'm trying to add a 4th tab on my homepage to display the recent entries in a catalogue.  I already have an tab that does this for my Links catalogue.  However, nothing I do seems to make the tab appear, and when I added the new tab, I started getting this error message:

A template file is missing: STANDARDBOX_light; (themes/default/templates/STANDARDBOX_light;.tpl or an overridden equivalent to this path)

Here is the code:


Code


 

 

Welcome to {$SITE_NAME*}
 
This site is a non-commercial reference site for Business Analysts.  It includes a wiki, discussion forums, links library, and other resources.  Please click the "About" link in the top menu to find out about this web site, and the site owner.  Otherwise, feel free to look around.  You do not need to register to view any of the wiki or forum content, but you will need to register if you want to add any content.
 
[tabs="Site News,Best Wiki Pages,Recent Links"]​[tab="Site News" default="1"][/tab]
[tab="Best Wiki Pages"]
These are example wiki pages with the most or best content.  Not all pages are like this yet, but these represent examples of what I hope to achieve for the site.  They are also probably the most useful pages for visitors.
 
[[Certification]]
[[Context Diagrams]]
[[Presentations]]
[[Requirements]]
[[Waterfall]] - not quite complete, but still worth reading
[/tab]​​
[tab="Recent Links"][/tab]
[tab="Recent Papers"][/tab]
[/tabs]​​
 
 
[box=Disclaimer; type=light;]Disclaimer:  Nothing on this site is intended to reflect the opinion of my employer, friends, family, distant relatives, congressman, or any other party that anyone may construe my opinions to represent, other than myself.[/box]


As a side note, I have no idea why some of the text suddenly got so big.  I have having a bunch of errors thrown by semi-html tags (I think when I tried to add the cc_list it may have thrown an extra in there) and I may have deleted some I should not have.

Any tips appreciated.  Thanks


Last edit: by D-Train
Back to the top
 
Posted
Item has a rating of 5 (Liked by JeanLiked by Chris Graham)  
Rating:
#94203
Avatar

Community saint

D-Train said

I'm trying to add a 4th tab on my homepage to display the recent entries in a catalogue.  I already have an tab that does this for my Links catalogue.  However, nothing I do seems to make the tab appear, and when I added the new tab, I started getting this error message:

A template file is missing: STANDARDBOX_light; (themes/default/templates/STANDARDBOX_light;.tpl or an overridden equivalent to this path)

Here is the code:


Code


 

 

Welcome to {$SITE_NAME*}
 
This site is a non-commercial reference site for Business Analysts.  It includes a wiki, discussion forums, links library, and other resources.  Please click the "About" link in the top menu to find out about this web site, and the site owner.  Otherwise, feel free to look around.  You do not need to register to view any of the wiki or forum content, but you will need to register if you want to add any content.
 
[tabs="Site News,Best Wiki Pages,Recent Links"]​[tab="Site News" default="1"][/tab]
[tab="Best Wiki Pages"]
These are example wiki pages with the most or best content.  Not all pages are like this yet, but these represent examples of what I hope to achieve for the site.  They are also probably the most useful pages for visitors.
 
[[Certification]]
[[Context Diagrams]]
[[Presentations]]
[[Requirements]]
[[Waterfall]] - not quite complete, but still worth reading
[/tab]​​
[tab="Recent Links"][/tab]
[tab="Recent Papers"][/tab]
[/tabs]​​
 
 
[box=Disclaimer; type=light;]Disclaimer:  Nothing on this site is intended to reflect the opinion of my employer, friends, family, distant relatives, congressman, or any other party that anyone may construe my opinions to represent, other than myself.[/box]


As a side note, I have no idea why some of the text suddenly got so big.  I have having a bunch of errors thrown by semi-html tags (I think when I tried to add the cc_list it may have thrown an extra in there) and I may have deleted some I should not have.

Any tips appreciated.  Thanks
I was going to 'quote' your post in response, but it is filled with a whole bunch of 'non-standard' HTML that it simply wasn't worth editing your 'quote' so that I could make a 'quote' - if you know what I mean.

I suspect you are using the WYSIWYG editor. I never do!

Your 'problems' are:

  • 1. … nothing I do seems to make the tab appear - look closely at your code and you will see that you have this …

Code

[tabs="Site News,Best Wiki Pages,Recent Links"]?[tab="Site News" default="1"][/tab]
… change it to this …

Code

[tabs="Site News,Best Wiki Pages,Recent Links,Recent Papers"]
[tab="Site News" default="1"][/tab]

  • 2. … and when I added the new tab, I started getting this error message - That's a bit of a red herring. The actual error is in your call for the STANDARDBOX_light.tpl. See this …

Code

[box=Disclaimer; type=light;]
… change to …

Code

[box="Disclaimer" type="light"]

Don't believe me? Have a look at this attachment …



Any help?

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Item has a rating of 5 (Liked by FletchLiked by Jean)  
Rating:
#94207
Avatar

Well-settled

Thanks Fletch!  That was the exact solution.  :)

I figured it was probably something easy like that and I was just forgetting some sort of formatting.

Domo Arigato, Mr. Fletch  (the code ninja  :ninja: )
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: