Solved

URGENT: Getting rid of the HTML Tags in View templates?

Posted on 2010-08-24
4
349 Views
Last Modified: 2012-05-10
Hi experts,
I have trouble with creating templates for views.
Everything works fine except some annoying HTML-Tags.

E.g.:
Accessing a field of the view within my custom template like this:
<?= $fields['title']->content; ?><br />

Open in new window


The result is right, but there are some Tags around it:
<span id="thmr_7" class="thmr_call">
  REQUESTED TITLE</span>

Open in new window


I checked "No HTML Tags" in the fields properties within the view manager, but they are still there.
Any ideas?
0
Comment
Question by:simonwidjaja
  • 2
4 Comments
 
LVL 10

Expert Comment

by:oliverpolden
ID: 33510873
0
 
LVL 10

Accepted Solution

by:
oliverpolden earned 500 total points
ID: 33510881
Oh sorry, actually you have the theme developer module enabled.  Just disable it.
0
 

Author Comment

by:simonwidjaja
ID: 33510914
Ahhhhh. That makes sense. Thanx a lot!
0
 
LVL 12

Expert Comment

by:sivagnanam chandrakanth
ID: 34237651
use strip_tags while printing the content
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Alter drupal registration form 1 555
Embed third party images to drupal site 15 429
Add links to content type Drupal 7 6 357
Return User Back to Previous Page 1 159
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question