Closed (outdated)
Project:
Views (for Drupal 7)
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2012 at 13:06 UTC
Updated:
25 Aug 2017 at 09:52 UTC
Jump to comment: Most recent
Comments
Comment #1
carrierawks commentedI had the same issue as well. Had to roll back to 6.x-2.16
That error came up when I was trying to create new nodes of a certain kind.
Comment #2
dawehnerMaybe there is a problem in your views_embed_view code?
Comment #3
aiphesi think so, here is a sample of my used embed code :
but i don't see about foreach() argument..
Comment #4
dawehnerThis for example is wrong now, as the empty text are now a set of area handlers of which one can be your text.
Comment #5
aiphesi know and i did post on this : http://drupal.org/node/1825822
but nobody help me and i don't find a fix...
Comment #6
dawehnerLet me show you something: http://wstaw.org/m/2013/01/14/issues.png
We have a handbook for how to write other (more dynamic kind of) area handlers, see http://drupalcode.org/project/views.git/blob/refs/heads/6.x-3.x:/help/ap...
Just put in your logic into a custom plugin.
In general, just be fair and wait ... if you need instant support you should better pay someone.
Comment #7
aiphesi'm searching solution ,and i try to use exported code but i don't know which part of code to use in my custom code:
Comment #8
dawehnerPlease read the text I gave you. It explains how to make a dynamic text without logic in the embed code.
Comment #9
aiphesok i did read the handbook page and i don't understand why i can't use existing text area provide by views ?
if i well understand handbook : it explain how to add a new area handler in views UI ? so i do to provide content for this area via Views UI ? not programmatically ?
thanks
EDIT: i made a custom module with your example but it seem not to activate..strange , i include the .inc file in the module folder..am i wrong ?
then, once i get my custom area in views how can i use it in embed code ?
re-thanks
Comment #10
aipheslast test :
but always break the page that embed in it...
Comment #10.0
aiphesjust some helpful information.
Comment #11
mustanggb commented