I am using PI Historian to read values from some Tag Points.
I am using this particular Historian software http://www.osisoft.com/
I would like to know if I can get it to show results if contains certain "text" or "result"
Where is says Tag Mask I can put Tag I want search for, after I get that Tag, then I can do a current value or sampled data, or timed, or calculated.
Instead I would like it to show tag which have current value of example "book" Quality tag
"book" would be a digital state string for a digital tag. In order to search for that, you would simply go to the box that says "Value" and click on the right pointing arrow and change it to "Status". You can then enter "book" and it will return a list of all of the tags that have that status.
I apparently don't have enough reputation points to post a screenshot yet.
Related
In iText's DITO template designer product, I have one field which has a fairly complex calculation. In another field, I want to use the result of that calculation.
The tooltip says "Identifier used for referencing fields in calculation expressions". So I assumed if I named it blah I can use it in a calculation in another field like this: sum({{blah}},42) (e.g. add 42 to the value of blah). But if I do that I get the error
Unable to resolve reference: "{{blah}}" in node with tag: <span> and text:
The iText DITO documentation does not elaborate on this feature at all. I'm evaluating iText DITO and there does not seem to be any way to get support while evaluating the product.
Suppose I have a field with a very complex calculation. In order to reuse the calculation result, I can do the following:
Give a name to this field (in the image below I've chosen name "total")
Insert a calculation to another field (where I want to reuse "total")
Add "total" as the calculation's body:
That's it, now the total value is reused:
I think the documentation you are looking for is at https://kb.itextpdf.com/home/ditokb/latest/manuals/itext-dito-editor/calculations
You have to give the rich text element a name in the properties to be able to reference it on other rich text element and/or calculations.
See image example at https://kb.itextpdf.com/home/ditokb/files/latest/68620314/68620309/1/1660291029000/image2020-5-27_17-56-41.png
I have a search-box when I type some key words it will auto complete the action.
For example : When i search 'AUS' the result Australia is automatically fills but when I play the suite the box is not filling the data.
SS1
The above image shows the example when I click on the result it will appear in the 'From' box also recorded.
SS2
After playing the suite i got the result like this,
SS3
Can anyone please help me on this.
I have set the description meta using:
page.meta.description.field = description
Can I make it so child pages use the description from the closest page that has one set?
So if the root page has description1 then all sub-pages use it, unless a sub-page has it's own description2 in which case it and any sub-pages of it would use description2 and so on...
two parts:
in your typoscript:
page.meta.description.data = levelfield:-1, description, slide
in your Install-Tool add the field to the fields which should slide:
$GLOBALS['TYPO3_CONV_VARS']['FE']['addRootLineFields'] = 'description';
added:
aside from straight slide to first non empty entry, you also have options to collect all the entries along the rootpath:
.slide If set and no content element is found by the select command, the rootLine will be traversed back until some content is found.
Possible values are "-1" (slide back up to the siteroot), "1" (only the current level) and "2" (up from one level back). Use -1 in combination with collect:
.slide.collect: (integer /stdWrap) If set, all content elements found on the current and parent pages will be collected. Otherwise, the sliding would stop after the first hit. Set this value to the amount of levels to collect on, or use "-1" to collect up to the siteroot.
.slide.collectFuzzy: (boolean /stdWrap) Only useful in collect mode. If no content elements have been found for the specified depth in collect mode, traverse further until at least one match has occurred.
.slide.collectReverse: (boolean /stdWrap) Reverse order of elements in collect mode. If set, elements of the current page will be at the bottom.
You should not do this - you will get a bunch of error messages in the google webmaster tool complaining about duplicate meta tags. Google dont like this ... it is a kind of duplicate content.
Watch this video from google evangalist Matt Cutts: http://searchengineland.com/googles-matt-cutts-dont-duplicate-your-meta-descriptions-177706
"In short, it is better to let Google auto-create snippets for your pages versus having duplicate meta descriptions."
I need to show in a page a list of, let's say, person's properties that should be rendered more or less as follow:
name: Name
date: 1/1/2000
other: Other
Reading the doc they say:
The LABEL element may be used to attach information to controls.
So, is it the right tag to encompass the names of the properties like name, date...
even if there's not an <input> to associate with?
Nope, as per Quentin’s answer.
However, in HTML5, <dl> can be used for generic associations where <label> isn’t appropriate.
No.
It says that it can associate information with controls.
It does not say that it can associate information with anything else.
See also the newer (but draft) specification:
Some elements, not all of them form-associated, are categorized as
labelable elements. These are elements that can be associated with a
label element.
button input (if the type attribute is not in the hidden state) keygen
meter output progress select textarea
No, it is not correct to use the label element like that.
The important thing here is the meaning of may.
The LABEL element may be used to attach information to controls.
RFC 2119 (which the HTML4 spec follows) defines may:
May: This word, or the adjective "OPTIONAL", mean that an item is truly optional
So here, may does not mean the label element can be used for other purposes; it just means that it is not required to use a label element with controls.
As far as alternatives go, it depends what you want to achieve. If you are just trying to follow the spec closely, then I suggest using p and a strong element for each pair. If you want the data to be more meaningful to computers, you could consider using one of the Microformat specifications.
I partially agree with the answers so far but want to add that if you want to use labels for some reason, then I would display the property values in read-only controls, and then your labels will be valid.
I've done this using appropriate styling to differentiate the read-only controls from the functioning controls to avoid confusing your users. This was on a sequence of pages which built up the information gathered from the user in a wizard.
I have this link to W3C - the "Editor's Draft" as opposed to the link above which is the "Working Draft", which states that you can associate it with any element - as long as it's 'labelable' - even though this is a subsection of the Form section. It states earlier that a labelable element does not have to be within a form.
http://dev.w3.org/html5/spec/single-page.html#the-label-element
I'm working on this zen cart site. A Love Supreme Shop
In new and featured listings only the first letter of the product description appears whether I use a custom template or the default. I'm using 1.3.9 but the data has come from a 1.3.0 site.
When product descriptions are shown on all products they show up fine.
Is the description being put into an array incorrectly and only the first element of the array being displayed?
Go to admin->configuration->new listing, and look at the value of Display Product Description. I wonder if yours is 0. It should be 120 or 150. If you don't see this setting, your database is missing values.
Failing that look at the file
includes/templates/YOUR_TEMPLATE/templates/tpl_modules_products_new_listing.php
and see how description is being handled.
Thanks Scott that helped me get to the root of the problem :
On my admin->configuration->new listing->Display Product Description page there is no textbox to change the number of characters displayed.
There is only a question :
Do you want to display the Product Description - First 150 characters?
Followed by the options 0 = off and 1 = on
I checked another zen cart running on another server and it has the textbox to change the number of characters.
I followed your instructions to look at :
includes/templates/YOUR_TEMPLATE/templates/tpl_modules_products_new_listing.php
I edited the code that displays the product description replacing the value PRODUCT_NEW_LIST_DESCRIPTION with 150.
This worked.
However the underlying problem is solved here :
Solution on Zen Cart Forum
SELECT *
FROM configuration
WHERE configuration_title = 'display product description';
This returns 4 records
Changing configuration_value from 1 to 150
Changing configuration_description from :
Do you want to display the Product Description - First 150
characters?
to :
Do you want to display the Product Description?0= OFF150= Suggested Length, or enter the maximum number of characters to display
and changing the set_function from :
zen_cfg_select_option(array('0', '1'),
to :
NULL
Thanks for the assistance #Scott Wilson.
Still don't know the route cause of the problem. Probably not migrating the database properly.