![]() |
Quote:
|
Yeah that's what I am encountering though I may have a method that uses CSS instead of tables for the layout.
Thank you for this awesome hack - this is going to enable so many things for my site. |
Great job with this mod.
Thank you! |
does anyone have some created web queries they wouldn't mind sharing ?
thanks |
i solved my problems and just want to say thank you to Logician for this great mod!
|
I have a question - I am running a web query against a custom table for which many columns are NULL allowed. When I am looping the recordset in the WebQuery it seems that as soon as I encounter a NULL it stops processing that record.
Say my query is: SELECT field1,field2,field3 FROM sometable WHERE condition = somecondition in the WebQuery Query Result Row I am assigning the values of fields 1,2 and 3 to a string to be output to the screen: var someString = '$WQfield[field1]' + ' some words ' + '$WQfield[field2]' + ' more words ' + '$WQfield[field3]' If field2 is NULL - a valid data condition - field3 never shows up Not sure if you have a tip on how to preserve NULL but also how to handle it within the WebQuery Query Result Row window? |
Quote:
This question earlier may apply - how can you test the condition of the return set for a field? |
Installed and works like a charm , you have very well explained for even a newbie would do it professionally .
Kudos Clicks Install |
Awesome product ya created! Thanks a Million! Setup was extremely simple, Your "tutorial" and User Manual is very understandable and easy to follow...Man, the possibilities!
::: Running off to format some templates---Not forgetting to click the Install button and ratings on my way out ::: Great Job Logician! Keep up the good work! |
Quote:
Here is one that I have implemented which appears at the bottom of an article page written in LWT. The idea is to provide readers with snippets of comments made about the page they have just read, plus a visible link to a specific thread in the forum to read fully or add comments of their own. It displays a collapsable table containing the last 3 comments to the specific thread specified in the query. Text from each post is truncated at 500 characters. If there are no replies to the specified threadid, then the table content reverts to a generic "Be the first to add a comment" style. Quote:
The only caveat in the above configuration is the hard-coded id in the Query No Result Row. This is required because the LWT does not parse field result values in anything other than the Query Result Row. If the LWT could parse field values in Result Prefix Code, Result Affix Code and Query No Result Row, it would be utterly fantastic! @Logican, is my above enhancement suggestion something that you may be planning for a furture version? ** Update ** Text in grey (above) is no longer relevant due to Logican's input. The example has now been enhanced to incorporate suggested php pre-query. Thanks Logican! Anyway, I hope this gives an idea of what can be done. I am really just starting to learn certain aspects of the LWT, and it helps in learning mySQL syntax too, which is a plus! LWT rocks! :up: |
All times are GMT. The time now is 09:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|