Sponsored Content
The Lounge War Stories Postbit Changes (Phase II Upgrade) Post 303020423 by Neo on Thursday 19th of July 2018 06:07:08 AM
Old 07-19-2018
OK.... after a lot of analysis of the postbit HTML template, the first thing which must be done is to remove the tables from the 10 $templatehooks, and and search of the DB reveals only 2 plugins are using these template hooks:


Code:
1. Thank You
2. Scott - 998 - Add History to PostBit Menu


However, the table in 998 is not an issue because that table is a small popup menu and does not need to be changed at this time.

The Thank You hack is important, so I need to covert all of these to divs first and get rid of the table tags.

Then, after that, the next step, based on postbit HTML analysis, is to look inside these post array items and check for table, td and tr tags since all of these are wrapped in table tags:

Code:
$post[imageattachmentlinks]
$post[otherattachments
$post[moderatedattachments]

Then that is done and nothing is broken, then can look at converting the main postbit message table and rows.

... gezzzzzz LOL
 

4 More Discussions You Might Find Interesting

1. Solaris

init phase

Hello, Can somebody explain me the relationship between /sbin and /etc directories ? what is the relationship between them and what are the roles of files such as rcd.1 etc? (1 Reply)
Discussion started by: saudsos
1 Replies

2. What is on Your Mind?

Small bug in the Quick Editor function in postbit

Hey, There was a small bug in the Quick Editor function in postbit, but I fixed it (basically a double quote was missing from an element id): <div id="post_message_$post" class="neo-message-area">$post</div> Was <div id="post_message_$post class="neo-message-area">$post</div> Should... (1 Reply)
Discussion started by: Neo
1 Replies

3. Web Development

New Supplementary CSS for Forum Postbit

Working on moving inline style to a supplementary CSS file. This one is postbit.css: .pb-wrapper { border-style: solid; border-width: 1px; border-color: rgba(110, 117, 182, 0.99); padding: 0px 0px 0px 0px; } .pb-wrapper-b { padding: 0px; border-width: 0px 0px 1px... (0 Replies)
Discussion started by: Neo
0 Replies

4. Docker

Docker learning Phase-I

Hello All, I had recently learnt a bit of Docker(which provides containerization process). Here are some of my learning points from it. Let us start first with very basic question: What is Docker: Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies
HTML::Widget::Container(3pm)				User Contributed Perl Documentation			      HTML::Widget::Container(3pm)

NAME
HTML::Widget::Container - Container SYNOPSIS
my $container = $form->element('foo'); my $field = $container->field; my $error = $container->error; my $label = $container->label; my $field_xml = $container->field_xml; my $error_xml = $container->error_xml; my $javascript_xml = $container->javascript_xml; my $xml = $container->as_xml; # $xml eq "$container" my $javascript = $container->javascript; DESCRIPTION
Container. METHODS
as_xml Return Value: $xml _build_element Arguments: $element Return Value: @elements Convert $element to HTML::Element object. Accepts arrayref. If you wish to change the rendering behaviour of HTML::Widget; specifically, the handling of elements which are array-refs, you can specify "container_class" in HTML::Widget::Element to a custom class which just overrides this function. build_single_element Arguments: $element Return Value: $element Convert $element to HTML::Element object. Called by "_build_element". If you wish to change the rendering behaviour of HTML::Widget; specifically, the handling of an individual element, you can override this function. build_element_error Arguments: $element Return Value: $element Called by "build_single_element". If you wish to change how an error is rendered, override this function. build_element_label Arguments: $element, $class Return Value: $element Called by "build_single_element". If you wish to change how an element's label is rendered, override this function. The $class argument is the original class of the element, before "build_element_error" was called. as_list Return Value: @elements Returns a list of HTML::Element objects. element field Arguments: $element "field" is an alias for "element". element_xml field_xml Return Value: $xml "field_xml" is an alias for "element_xml". error Arguments: $error Return Value: $error error_xml Return Value: $xml javascript js Arguments: $javascript Return Value: $javascript "js" is an alias for "javascript". javascript_element Return Value: $javascript_element Returns javascript in a script HTML::Element. javascript_xml js_xml Return Value: $javascript_xml Returns javascript in a script block. "js_xml" is an alias for "javascript_xml". AUTHOR
Sebastian Riedel, "sri@oook.de" LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2007-03-01 HTML::Widget::Container(3pm)
All times are GMT -4. The time now is 05:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy