293901
MaxIT
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 14:14

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
The reason XOOPS lowers the message you paste is that TextSanitizer has convert all line breaks (PC style \r\n, Unix style \n and Mac style \r) to <br> automatically

A suggestion: add an additional XOOPS code (like i.e. [ HTMLONLY ]) to core system. Then, all text inside the HTMLONLY tags will be text-sanitized in a different way, avoiding to switch newlines to BR automatically.

In this way, you can still use easily your short HTML tags inside a text, but if you want to insert large HTML codes you can put them between this new tag, so they will be showed exactly as they are without any exceeding BR .



293902
goghs
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 14:01

  • goghs

  • Posts: 8

  • Since: 2001/12/13


To tell the truth. this issue is not simple as you may think. Many users may find in PHPNuke, when you copy and paste html codes, and choose "HTML format", the outpu is good. But if you have noticed more detailed, you must find you have to add manually <br> to insert line break.
The reason XOOPS lowers the message you paste is that TextSanitizer has convert all line breaks (PC style \r\n, Unix style \n and Mac style \r) to <br> automatically.

It's a dillema. We can change the way to make pasted codes display as you expected, and you must add line breaks manually.

Also I wanna stress one thing: even html is allowed, you should use simple HTML tags like anchor, formatting tags etc. If you paste complicated html codes, especially table tags, the output may be messy. The reason is even XOOPS output well formatted HTML codes, if there is any unclosed table tags in theme file, the output will be corrupted.

Sure I understand you may be disappointed, and think XOOPS is not a good CMS. I should say it's a issue of choice. This is why no application as I know solves this problem well enough.

Sure we'll try to find a better solution. Just wanna know this problem is not simple in fact.



293903
MaxIT
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 13:11

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
If you are using HTML in a post is because you want to have a defined layout of you information, and you are expecting it to be where you are putting it

I think it is a different point of view regarding the Section's scope: allowing the use of HTML tags does not mean it needs HTML contents. Instead, Sections module would allow an unexperienced user to write a simple text document, so it needs to make all newlines as BRs. A quick & dirty hack should be probably a check to where is located your newline, and in case it's in the middle of HTML-only text part, then should skip the BR sanitizer.



293904
danyblue
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 12:55

  • danyblue

  • Just popping in

  • Posts: 48

  • Since: 2002/4/15


Hello,
I don't see why it would be normal to lower the content that you are trying to publish.
If you are using HTML in a post is because you want to have a defined layout of you information, and you are expecting it to be where you are putting it.
To right all the text in one line, isn't a solution. The solution is to removed the logic that is lowering the content, that way every one have what they want. If I want my content lower, i will do that myself puting some BR in the beginning of the content.
Regards,
Daniel



293905
goghs
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 10:11

  • goghs

  • Posts: 8

  • Since: 2001/12/13


Yes, Jan304 is right. It's caused by myts processing logic when html post is allowed. Please wait for some time. I think I can solve it soon, though the first fix may be a quick and dirty one.



293906
Jan304
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 10:04

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


It's really normal that XOOPS put's your content a lot lower then you expect. Put al your code before your text on 1 line. Difficult, but it works. XOOPS makes from every hard enter <BR>. Don't expect more . Normally if you put all your code on 1 line your content wil be on the 2 second line. Greeetz,

Jan304

P.S.:Plz remove a bit from your message, we now it's long



293907
danyblue
Re: HTML problem in XOOPS and Other CMS?
  • 2002/7/5 9:00

  • danyblue

  • Just popping in

  • Posts: 48

  • Since: 2002/4/15


Hi,
the URL of the site where i am trying to post the article is

http://cardielos.nicewebs.net/modules/news/article.php?storyid=6

and the HTML code is

<table border="0" width="913" bgcolor="#FFFFFF" cellspacing="1" height="2194" >
<tr>
<td width="148" height="132">
<p align="left"> </p>
</td>
<td width="751" colspan="4" rowspan="3" height="443">
<p align="left">
[...]



293908
madraver
Re: Account re-activation required on Profile email changes
  • 2002/7/4 23:47

  • madraver

  • Just popping in

  • Posts: 9

  • Since: 2002/3/8 1


Quote:
For security and spams-preventing reasons, it would be extremely useful of requiring account re-activation if a user had modified his/her email address.


Hear, Hear!

That would a great addition to the already great CMS. Security is always a concern on this wide world of global communities.



293909
Brandon
Re: Extending the Titles of Submitted News
  • 2002/7/4 18:31

  • Brandon

  • Just popping in

  • Posts: 2

  • Since: 2002/7/4 1


Thanks for all the help guys, I appreciate it much.



293910
MaxIT
Re: Account re-activation required on Profile email changes
  • 2002/7/4 16:34

  • MaxIT

  • Just popping in

  • Posts: 65

  • Since: 2002/11/8


Quote:
when a user changes his email, his account will be disactivated, and then an email with activation code will be sent to his new email.

Totally agree.







Login

Who's Online

189 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits