Problem Posting a table

MajP

You've got your good things, and you've got mine.
Local time
Today, 04:03
Joined
May 21, 2018
Messages
9,126
I really liked the feature that allowed you to post a table. I would simply copy an Access table and paste. Was super helpful in describing problems/solutions and worked great. I can no longer get it to work. It looks good in edit mode
p5.PNG


but in the posted mode it looks like this with some of the columns not posting and the data in td /td brackets



Reg_NumberNewEPD_TypeEPD_Percent
100CED
100WW
100YW
[td]
6.00%
[/td]​
[td]
7.00%
[/td]​
[td]
15.00%
[/td]​

Is there a trick to still use this feature? Is this fixable.?
 
Yes, I see that now too. Have to delete all the bad text below table and manually enter info into cells. Annoying.
 
idItemFKEffectiveFromPrice
tblPrices
[td]
1

[/td]
[td]
1

[/td]
[td]
01/01/2017

[/td]
[td]
£10.00

[/td]
[td]
2

[/td]
[td]
1

[/td]
[td]
01/03/2017

[/td]
[td]
£15.00

[/td]
[td]
3

[/td]
[td]
2

[/td]
[td]
01/01/2017

[/td]
[td]
£100.00

[/td]
[td]
4

[/td]
[td]
2

[/td]
[td]
01/04/2017

[/td]
[td]
£120.00

[/td]
[td]
5

[/td]
[td]
3

[/td]
[td]
01/01/2017

[/td]
[td]
£1,000.00

[/td]
[td]
6

[/td]
[td]
3

[/td]
[td]
20/03/2017

[/td]
[td]
£1,500.00

[/td]
[td]
7

[/td]
[td]
1

[/td]
[td]
01/05/2017

[/td]
[td]
£12.00

[/td]
[td]
8

[/td]
[td]
2

[/td]
[td]
02/05/2017

[/td]
[td]
£130.00

[/td]
[td]
9

[/td]
[td]
3

[/td]
[td]
01/05/2017

[/td]
[td]
£1,400.00

[/td]​


It works OK for me - this is using an Acc2k7 table - maybe newer versions of Access have mucked up what is copied in to the C'n'P buffer?

Ouch! Scratch that!!!
 
The problem is that after the upgrade to a later version of Xenforo, the template I am using has not been upgraded by the developer.
 
The other thing I noticed was the </> function does not work as well. Before you could post some text directly in the thread then select it and hit the </> and it would appear in the code window. Or you could post some code and then reselect it to edit. This was handy if you posted some sample code and then needed to come back to it. Now if you select any text it will not appear in the window. You still can start from the window to enter new code, just not edit, or re select.
 
Normal paste:
TaskStatusIDStatus
Status 1
Status 2
task_status
[td]
1
[/td]​
[td]
2
[/td]​

Only rows, no formatting:
TaskStatusIDStatus
1Status 1
2Status 2
task_status

Now without color markups
TaskStatusIDStatus
Status 1
Status 2
task_status
[td]
1
[/td]​
[td]
2
[/td]​



Now without font markups
TaskStatusIDStatus
Status 1
Status 2
task_status
[td]
1
[/td]​
[td]
2
[/td]​

Now without alignment markups
TaskStatusIDStatus
1Status 1
2Status 2
task_status


And there you have it ↑↑↑↑
It's the alignment markups. If you remove them, things are "fixed"?
 
Last edited:
@Edgar_ , Yes same problem. I guess not work around.
I edited the table markups from here
1736452148091.png


Then I removed the header each cell's alignment markups, [RIGHT] and [/RIGHT]

And it shows correctly, but it takes the entire screen, I don't know if that's intentional.
 
Last edited:
Testing a bookmarklet
CityIDCityNameCountryID
1New York1
2Toronto2
3California1
cities

It seems to work. You can use a bookmarklet to let you post your tables properly while the devs fix the parsing issue.

Here's how to add the bookmarklet:
1. Add a bookmark to your browser
2. Name it anything
3. Add this code in the URL field:
JavaScript:
javascript:(function(){document.getElementsByName("message")[0].value=document.getElementsByName("message")[0].value.replace(/\[RIGHT\]/g,'').replace(/\[\/RIGHT\]/g,'');})();
4. Save the bookmark

Here's how to use the bookmarklet (improved explanation by @MajP ):
1. Paste the table normally
2. Toggle BB Code by clicking the [ ] symbol in upper right corner left of Preview
3. Click on the saved bookmark to execute clean up
4. Toggle BB Code back.

EDITED.
 
Last edited:
AppIDAppAddressSummaryTotalRoomsTotalSpace
1Dorf 22a Top1Kitchen,Bath,Livingroom339.5
2Dorf 22a Top2Kitchen,Bath,Livingroom,Shower448.5
qryApartmentSummary

Thanks,


Let me clarify the instructions.
1. Save the bookmark in #9
2. Paste the table normally
3. Toggle BB Code by clicking the [ ] symbol in upper right corner left of Preview
4. Click on the saved bookmark to execute clean up
5. Toggle BB Code back.
 

Users who are viewing this thread

Back
Top Bottom