how to make gotwo to play nice with views?

the problem is that views strips out html tags.
also when using the rewriting section and trying to modify the strip html tags with the exclusion of the < go > and or the < / go > tags , still views will filter those out.

any planning to integrate this module or similar one into views? alternatively a tip on how to use this module with views will be appreciated.

Comments

hass’s picture

Category: feature » support
Status: Active » Fixed

Views must be able to use the core content filters. Ask in views queue, please.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

BeaPower’s picture

Did you ever find the solution? Would like this working too...

BeaPower’s picture

??

clevername’s picture

The solution is in creating a custom Views Theme Template for your field. Views' stripping of HTML tags from the rewrite field is a bit of a contentious matter as discussed in this thread: http://drupal.org/node/853880

pindaman’s picture

i am using php views on this one to rewrite.
the syntax is(source view in firefox):
<go href="http://example.org/test/page">An example</go>
So that is right.

But i cant see a link.
(I enabled the go filter for all input formats)
Whats wrong.

BeaPower’s picture

Did you ever get it to work?

irgnet’s picture

Version: 6.x-1.3 » 7.x-1.1
Category: support » bug
Status: Closed (fixed) » Active

I have same issue.
In my views page a have go tag to link, and it appears into html code of the page like (this is when i am on page, and i type ctrl+u into firefox)

<div class="title">
        <go href="http://www.outside-site.com" rel="nofollow">Some Title</go>
</div>

But no link.
I have enable go tag into my filters, and i test into articles body, there it works, but in views page don`t

I also test this tag into node-page.tpl.php and there also don't work.

hass’s picture

Version: 7.x-1.1 » 6.x-1.3
Category: bug » support
Status: Active » Closed (fixed)

As noted, this is a views or core filter issue.

yooh’s picture

Issue summary: View changes

I created a new content filter format like full_html, plain text (name -> gotwo_perso). I only apply the filter Gotwo.

Then with php views module :

<?php
check_markup('<go href="http://www.outside-site.com" target="_blank" >Some Title</go>', 'gotwo_perso');
?>

It's working.

Sorry it's for drupal 7.

bryanobx’s picture

#10 seems to work for me, but I am intermittently getting the following error when visiting a page created by the view:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'xxxxxx-166-v' for key 'src': INSERT INTO {gotwo} (src, dst) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => xxxxxx-166-v [:db_insert_placeholder_1] => http://www.xxxxxxx.com/) in _gotwo_get() (line 379 of C:\wamp\www\mysite.com\sites\all\modules\gotwo\gotwo.module).