|
Replacing HTML codes? 1 Year, 6 Months ago
|
|
|
I tried to use DB replacer to change some HTML codes I knew were embedded in content. I wanted to change {readmorelink} More... {/readmorelink} to {readmorelink} <strong>More... </strong>{/readmorelink}
I discovered that EasySQL strips out the HTML commands when updating a column. Unfortunately, it appears DB Replacer does as well! Is there anyway I can get DB replacer to NOT strip out anything between '< >' ?
Thanks,
Mike
|
|
|
|
|
|
|
Re: Replacing HTML codes? 1 Year, 6 Months ago
|
|
|
I've sent you a new version to test out...
|
|
|
|
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.
|
|
|
Re: Replacing HTML codes? 1 Year, 6 Months ago
|
|
|
That's brilliant thanks, that's done the job. Over 600 articles changed, and the result works as expected.
The only minor point (get-roundable) is that when it first shows the list of replacements, the green text shows the corrected full text as I entered it, and then when I click 'replace', it does it. As there were more than 100 articles, it then comes back with an opportunity to do another 100, but this time it has edited out the HTML tags again in both the 'replace' box and in the list of intended replacements. I didn't try continuing the replace to see what it actually does, I instead changed the setting to allow 1000 replacements and reset it with the correct full replacement text I wanted. That worked.
So if you do all the records at once it works, but if you do it in batches of records, you need to reset the replace string to include the HTML tags for each batch.
|
|
|
|
|
|
|
Re: Replacing HTML codes? 1 Year, 6 Months ago
|
|
|
Ok, thanks... I'll look into that.
|
|
|
|
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.
|
|
|
Re:Replacing HTML codes? 1 Year, 5 Months ago
|
|
|
Peter, any chance that you can provide a link to that version that replaces html tags as well? DB Replacer is fantastic by the way...
|
|
|
|
|
|
|
Re:Replacing HTML codes? 1 Year, 5 Months ago
|
|
|
I'll publish new version today
|
|
|
|
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.
|
|
|
Re:Replacing HTML codes? 1 Year, 2 Months ago
|
|
|
Where is this version that does not replace anything inside < >? I'm using version 0.2. If that's the right one, how do I search and replace text outside of html tags?
|
|
|
|
|
|
|
Re:Replacing HTML codes? 1 Year, 2 Months ago
|
|
|
There is no version that "does not replace anything inside tags".
To do what you want is pretty tricky, you would need some complex regular expression if at all doable.
What is it you are trying to replace?
|
|
|
|
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.
|
|
|
Re:Replacing HTML codes? 1 Year ago
|
|
|
I want to remove <hr id="system-readmore" />from my article but DBReplacer doesn't find this HTML code.
|
|
|
|
|
|
|
Re:Replacing HTML codes? 1 Year ago
|
|
|
Your articles do not have that in them.
Joomla stors the intro in the field introtext and the rest in fulltext.
The two are placed together in the editor again separated by a <hr id="system-readmore" />, but that isn't actually in the database.
|
|
|
|
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.
|
|
|
Re:Replacing HTML codes? 1 Year ago
|
|
|
Hello, I've over 1400 articles in my database. I put <hr id="system-readmore" /> to separate many articles. I wonder, where does Joomla save this <hr id="system-readmore" /> tag if it is not in the database. How does Joomla pick this HTML tag to show in the front-end everytime.
|
|
|
|
Last Edit: 2011/02/10 17:21 By peter.
|
|
|
Re:Replacing HTML codes? 1 Year ago
|
|
|
Read previous reply!
|
|
|
|
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.
|
|
|