• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: smartyfehler mit featured content slider/javascript
PostPosted: Tue May 18, 2010 11:34 pm 
Offline
New Member

Joined: Wed Jun 17, 2009 10:26 pm
Posts: 6
hallo liebes forum,

ich wollte in mein template den Featured Content Slider v2.4 einbauen [url=http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm]http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm
[/url]
dazu habe ich im template unter anderem folgenden javascriptcode reinkopiert.





danach erhalte ich folgende fehlermeldung:

string(882) "Smarty error: [in tpl_body:24 line 61]: syntax error: unrecognized tag: id: "slider1", //id of main slider DIV contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"] toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc] nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide. revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover" enablefade: [true, 0.2], //[true/false, fadedegree] autorotate: [true, 3000], //[true/false, pausetime] onChange: function(previndex, curindex){ //event handler fired whenever script changes slide //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc) //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc) (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in tpl_body:24 line 61]: syntax error: unrecognized tag ''

kann man in die templates kein javascript einbauen, oder ist es zu speziell? wie könnte man den contentslider sonst integrieren?
in einer einfachen html datein funktioniert er problemlos!
kenne mich werde mit smarty noch mit javascript besonders aus, habe im template nichts mit smarty gemacht was vom system nicht schon vorgegeben wäre.


für hilfe wäre ich sehr dankbar
viele grüsse
bd0


Top
 Profile  
 
 Post subject: Re: smartyfehler mit featured content slider/javascript
PostPosted: Wed May 19, 2010 3:53 am 
Offline
Power Poster
Power Poster

Joined: Fri Sep 12, 2008 2:34 pm
Posts: 769
Location: Schweiz / Switzerland
Du musst um das JavaScript herum folgende Tags machen:

Code:
{literal} hier kommt das JavaScript rein {/literal}

_________________
[this message is written with 100% recycled bits]


Top
 Profile  
 
 Post subject: Re: smartyfehler mit featured content slider/javascript
PostPosted: Wed May 19, 2010 6:07 am 
Eine andere Option wäre, die { } durch {ldelim} {rdelim} zu ersetzen ...


Top
  
 
 Post subject: Re: smartyfehler mit featured content slider/javascript
PostPosted: Wed May 19, 2010 8:58 am 
Offline
New Member

Joined: Wed Jun 17, 2009 10:26 pm
Posts: 6
danke leute! hat nun geklappt. :)

1000 dank!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner