Hi,

Thumbs up for the great module and support you are delivering!

I guess this is more a support request for the Views module, but couldn't find any thing on this in the Views queue, maybe some of you guys who are using tthe FBSS module have experienced the same problem.

In the view 'facebook_status_all' I am trying to rewrite the edit link so I can show an image instead of the text 'edit'.

I have enabled the option 'Rewrite the output of this field' for the field 'Edit'.

I am trying stuff like:

<a href="[edit]">
  <img src="http://icons.iconarchive.com/icons/custom-icon-design/office/256/edit-icon.png" />
</a>

But this doesn't work, The output is like:
Edit"> IMAGE

I think the above solution couldn't work because the [edit] token also contains some divs.

How can I show an icon for the edit link (and by clicking on the icon, the edit modal frame is shown)?
Should I reconstructe the edit link in the view or can I use the [edit] syntax?

Thanks!

Comments

pvanerk’s picture

Issue summary: View changes

Code block added

pvanerk’s picture

Status: Closed (works as designed) » Active

Okay,

Didn't manage to book any progress using the [edit] replacement pattern so I just rewrote the edit link and ended up this:

<span class="facebook-status-edit">
<a href="index.php?q=statuses/[sid]/edit"> <img src="http://icons.iconarchive.com/icons/custom-icon-design/office/256/edit-icon.png" />
</a>
</span>

If someone knows a better solution (maybe using the [edit] pattern), please let me know.

pvanerk’s picture

Issue summary: View changes

extra comment

pvanerk’s picture

Status: Active » Closed (works as designed)

Status: Active » Closed (works as designed)