-
☆ A M B ☆
- 397 Posts
Hi there,
I have been developing a new site on revo 2.0.4 using the multiItem plugin and it worked ok. AFter upgrading to 2.0.5, It seems a bug has creeped in. When I go to the resources that have the tv with type as multiItem, it shows me this error
Fatal error: Uncaught exception ’SmartyCompilerException’ with message ’Syntax Error in template "/home/zeugs/public_html/ahc-website/manager/templates/default/element/tv/renders/input/multiitems.tpl" on line 201 "" - Unexpected " ", expected one of: "PHP start tag" , "PHP end tag" , ASPSTARTTAG , ASPENDTAG , "Fake PHP start tag" , "Literal start" , "literal close" , LITERAL’ in /home/zeugs/public_html/ahc-website/core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php:423 Stack trace: #0 /home/zeugs/public_html/ahc-website/core/model/smarty/sysplugins/smarty_internal_templateparser.php(2798): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/zeugs/public_html/ahc-website/core/model/smarty/sysplugins/smarty_internal_templateparser.php(2863): Smarty_Internal_Templateparser->yy_syntax_error(0, 0) #2 /home/zeugs/public_html/ahc-website/core/model/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(59): Smarty_Internal_Templateparser->doParse(0, 0) #3 /home/zeugs/public_html/ahc- in /home/zeugs/public_html/ahc-website/core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 423
Seems that the multiitems.tpl is not compatible with 2.0.5?
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
-
☆ A M B ☆
- 397 Posts
Ok, I added {/literal} to the end of the multiitems.tpl and it seems to be working..Thanks. Is the multiItemsGridTV a replacement for multiItems?
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
Quote from: smooth-graphics at Dec 16, 2010, 03:35 AM
Quote from: Bruno17 at Dec 16, 2010, 03:19 AM
when I remove this.setWidth(’110%’); here, it works , but grid is to small again.
It doesn’t behave like the normal fields in width while resize your browser window. Even not when removing this line of code.
Isn’t there a policy for those elements to their width/resize behaviour in extJS? Or, I’m just to dumb... 
Any thoughts ’bout my other issue (multi-instances)?
fixed issue with multiple instances on latest commit.
Quote from: sonicpunk at Dec 17, 2010, 02:00 AM
Ok, I added {/literal} to the end of the multiitems.tpl and it seems to be working..Thanks. Is the multiItemsGridTV a replacement for multiItems?
if you only need simple text-inputs use multiItemsTV.
If you want to use TV-input-types (date,richtext,autotag,dropdown,custom-input-types..............) try multiItemsGridTV.
Storage-format is the same.
Both use Json-format.
Hi,
i use a plugin mp3 with this TV,
all work fine, mp3 load perfectly, but in table i can’t clic for playing or pause.
i have a problem with width of columns :
i use modx 206 and your last version on github.
in properties i have a value for width.
i use multiitemsgrid for 5 TV
I’m and lost
I have read this topic 3 times (at least) gone through the wiki a doz times. Everything is copied to the server (triple checked) . Followed wiki exactly and using all default example properties.
However all I have is a empty grid with the Title and Image columns rendered and a button to "Add Items". There is no pop-up, no way to enter anything. Clicking "Add Items" simply adds a new blank record to the grid.
I also have Bruno’s original multiItemTV installed (and love it), could they be conflicting???
Same results across FF and Chrome
MODx 206
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow

"
@aesmith: ’Add’ an item. Right/control/alt/something + click the row you want to edit, should popup edit... click that...
See attached, works?
MODx 2.0.6
PHP 5.3.3
MySQL 5.1.50
@someone
OMG!!! Thank you.
I vote we get the "use right click" added to the wiki docs.
Thank you so so much for this.
Not into all this MODx hiding things behind right clicks. Is there a reason other then preference? My left click seems to be available cause its not doing anything currently. Why? Why? this goes for many areas of the manager, and Bruno I guess is just following along so nothing on him or his app.
Great work Bruno.
"One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow

"
I suppose I kind of share in this gripe. It occurred to me today while playing with the ’new’ form customization setup... Maybe an icon or even just treatment to denote right clickability... Untill then I’ll just be right clicking everything...
Btw, new ’simplified’ form customization - i’m not a big fan so far. Seems like a lot less customizability... Anyone know how to reorder the tabs on the edit resource page? I’m not having any luck.
MODx 2.0.6
PHP 5.3.3
MySQL 5.1.50