Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

Is it possible to create a view from third-party source that includes html, js and css?

Example: http://www.addyosmani.com/resources/shinetime/

I want to create a view of the example shown in the link and display it as a block on my site. Is there an automated process for doing this or I would have to do it manually? If manually then how? Thank you

share|improve this question
No it is not possible like you says. But there is a way. – Nikhil M Dec 14 '12 at 15:53

2 Answers

If all you want to do is display that in/on your website, include it in an iframe, eg, create a block that just has:

<iframe src="http://www.addyosmani.com/resources/shinetime/"></iframe>

in it.

Now, if you are wanting to create a View, eg http://drupal.org/project/views, then you need to give some more specifics of what you are wanting to do.

share|improve this answer
the iframe is a good idea however it doesn't show anything. – huzzle Mar 18 '12 at 9:37

In my opinion, you can create a basic page and code the PHP + HTML code. (You must enable PHP filter in module page)

For the php code, you create a SQL statement to get the data that you want, for example, db_query in Drupal

share|improve this answer
Just an FYI, the PHP filter is akin to the devil. – Chapabu Feb 18 at 12:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.