Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 2 Hours, 29 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Remove HTML tags in Joomla wrapper
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Remove HTML tags in Joomla wrapper
#8691
Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
Hi,

I tried to remove part of the HTML code that resides in Joomla wrapper published as menu item.

I used online regexp testing tool to test my regular expression and it seems that I finally create one that removes HTML that I would want.

When I put that regular expression in ReReplacer, nothing happens.

Here is the part of the HTML code that I would like to remove:

<div id="header">
  <div id="header-inner" class="page">

   <h1 id="title"><a href="http://www.streetsofchina.com" title="Streets of China"><img class="screenOnly" src="images/header-title.png" width="335" height="60" alt="Streets of China"></a><div class="printOnly"><img src="images/header-title-print.jpg" width="335" height="60" alt=""></div></h1>
   <h2 id="tagline">The free Chinese address translation tool</h2>
   <div id="description">
    <p class="justify">Looking to translate a Shanghai address from English/Pinyin into Chinese, then you've come to the right place. Streets of China is a free service to translate Shanghai street/road names and addresses from pinyin into Chinese. </p>
    <p>
     <span class="benefits">&raquo; Quick & Easy to use</span>

     <span class="benefit-spacer"></span>
     <span class="benefits">&raquo; No Chinese skills required</span>
     <span class="benefit-spacer"></span>
     <span class="benefits">&raquo; Totally Free!</span>
    </p>
   </div>
  </div>

</div>


and here is the regular expression that removes it in online tool successfully:

<div id="header">.*?<div id="header-inner" class="page">.*?<h1 id="title">.*?</h1>.*?<div id="description">.*?</div>.*?</div>.*?</div>


My questions are:
1. is it possible to remove HTML in Joomla wrapper
2. would it be possible to take a look at my web site (I can provide backend access) and help me to solve this issue

Thank you very much in advance!
Igor
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8692
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
I just realized that my link to the online regexp tool is wrong and it seems I can't edit my own post so here is the link again:
Igor
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8698
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
Should be possible with ReReplacer. Do you have the regex option turned on in the ReReplacer item?
Can you give a link to your site?
Peter van Westen
Admin
Posts: 9169
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8704
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
Hi,

I have regex option turned on. How can I send you PM? I would like to send site info and backend login by PM if not a problem
Igor
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8706
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
Ah, the problem is you are using an iframe.
ReReplacer only has effect on the output through your Joomla site. The content in the iframe is not generated by Joomla, so ReReplacer cannot touch that.
Peter van Westen
Admin
Posts: 9169
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8707
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
Hi,

I did say that I am using Joomla wrapper. It uses iframe to show external content. If you know any other solution to show external content (instead of using wrapper and iframe), I would be very happy to use it
Igor
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8708
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  
Yeah, you did say Joomla wrapper
If only I would read well and take enough coffee, the world would be a better place...

There isn't a real stable other solution for you than using an iframe.
Peter van Westen
Admin
Posts: 9169
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8709
Re:Remove HTML tags in Joomla wrapper 1 Year, 9 Months ago  


Thank you very much for the time you took to check my site anyway.
Igor
Posts: 9
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
hosting joomla
MaxCDN | Content Delivery Network | Accelerate your site to the max