How can I get repetitive information like "Title" which is repeated in all the open tabs I have in Firefox? Please note that I am not referring to the tab title, but to an actual text on the webpages which is something like "Title : First Store" and on another page the text is repeated like "Title : Second Store".
I don't want to use python to do this. I would like to do this on the open tabs in Firefox ... using an extension or another way. Please help.
Related
Issue with JSON LD CODE
To start with I am trying to use this code in weebly, buy using embed code option and then I click on the edit custom HTML and enter this code. However, after entering this nothing shows up as in the recipe is not shown on the page and a blank page is shown.
this code is picked on schema.org, for recipes.
Could anyone please help me out in what exactly went wrong. I really appreciate your assistance. FYI- I am new to this. I am trying to set up my own food website and and wanted to schema to for SEO improvement. Any other suggestions are welcome. Thanks in advance.
Please refer this link for the JSON-LD CODE. IT WILL BE AT THE END OF THE PAGE. https://schema.org/Recipe
When you add a JSON-LD block in the HTML, it doesn’t change anything visibly on the page. The script element is hidden by default in all browsers, and you typically want to keep it like that (users typically have no interest in your JSON-LD code).
To check if adding the JSON-LD worked correctly, open the page in a browser and check the source code of the page. You should see the script element with your JSON-LD.
You have to add the content (that should be visible to your users) regularly with HTML. The JSON-LD exists next to your content (duplicating the data like name, photo URL etc.), it doesn’t replace your content.
I am fairly new to react native and have been attempting to build a very simple registration app.
Currently I have 2 screens running, the first landingscreen.js includes a button to prompt the first registration screen.
This screen works fine but its title shows as blank. (I am using react-navigator)
Below is the screen and you can find the corresponding code here.
On clicking the register here button the next screen is prompted which should show two fields an email and password field with the title "Let's create an account". As you can see below , all that works is the next button but I have no compilation errors. The code pertaining to this screen may be accessed here.
Any help or way pointing would be more than appreciated.
Thanks,
J.
Change navigation(you have written navigtion) spelling
static navigationOptions= {
title: "Let's make an account",
}
The headers not being seen was solved as #Paras Watts noted by fixing a spelling mistake.
To get the fields to show I then put the jsx pertaining to the form in the same render as the navigation also changing any tags to view to stick to the format of jsx.
how can I remove, for example "created on", text in article?
I just want to remove the text not date itself. I've removed the icon with css but text and date in this case are written together in time tag.
Thanks
In the article manager, if you click "options", you can set what you want to turn off. In this case, "Show Create Date" is an option.
If you are creating pages by assigning them to menu items, then you may need to look under the "options" setting of the menu item itself.
Edit: Following your comments - to just remove such text, download the file: language/en-GB/en-GB.com_content.ini (change en-GB if using language overrides)
This will show you a list of text strings used by that component.
You can then use the language manager ( extensions - language manager ) to override these.
(You could also search for text using the language manager, but I find the downloading the language file quicker)
It has been stated that the google plus-one button works it's way up the dom hierarchy when it is looking for microdata to set the +snippets information for sharing (Jenny Murphy said this at Google+ +1 Button Snippet+ Problem ). Also, the documentation on the +Snippets site from google at https://developers.google.com/+/plugins/+1button/#plus-snippet states "If the page is annotated with schema.org microdata, the +Snippet will use the name, image, and description properties found on any schema.org type". However, it doesn't appear that this is truly the case in some conditions.
We have a test page at http://www.magnetstreet.com/stores/html/weddings/testPage.html where it is demonstrating a very simple product page which has been marked up with schema.org microdata. This page passes w3c validation and its microdata is parsed properly in Googles rich snippets testing tool. However, when the +1 button is clicked and you proceed to share it, the api is clearly ignoring the itemprops set inside the product tag. This can be seen by how "page title" is displayed instead of "product title" which is the itemprop name.
Does anyone see any obvious issues with this code?
I would like to note, if we only have microdata properties set on the Product div and within (no itemscope or itemtypes on any outer elements), then the button works as expected. However, We have data on much more complex pages that need the other microdata, so removing all other microdata besides the product is not a solution.
There is an ongoing discussion I'm having with Jenny Murphy about this at https://groups.google.com/forum/#!topic/google-plus-developers/MvuZtu8prTo . In short, currently the +1 button only looks at the outermost itemscope for the snippet information. If it doesn't find it there, it stops parsing through microdata and instead looks for other ways to gather snippet info.
In the discussion I linked to, I've described why I think this can be a problem and am hoping to start some good dialog about it.
I'm spending more and more time here, and constantly wishing Drupal was easier to understand then I'm finding it, oh well :)
so todays question is, I'm trying to remove the "2 comment" and "1 new comment" links from a node in Teaser view. I do however want to keep the "Read More" and "Add new Comment" links.
So I've found all this is stored in "print render($content['links']);"
I have also discovered that "Read More" can be requested using "print render($content['links']['node']);" and all 3 comment links can be pulled out using "print render($content['links']['comment']);"
What I cannot work out is how to break down the Comment part so I can strip out the 2 I dont need.
anyone know?
thanks in advance.
The functions that you are looking for are probably hook_node_view_alter and hook_comment_view_alter.
FYI, a quick fix is also possible via CSS where you can simply hide the offending DIV.
To expand on what #coleopterist said, the following worked well for me:
mytheme_node_view_alter(&$build) {
if ($build['#view_mode'] == 'teaser') {
$build['links']['node']['#links']['node-readmore']['title'] = t('Read More »');
}
}