User tests: Successful: Unsuccessful:
This PR add Micro Structured Data to the Joomla! breadcrumbs. I followed this guide lines: https://developers.google.com/structured-data/breadcrumbs
Also add some code style and change some if ($condition) {
to if ($condition) :
to make the code more readable.
Confirm that all parameters are working correct like they used do
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
@Fedik Thanks for noticing that :)
I add the <meta property="position" content="<POSITION_NUM>">
with help of the $key
variable. But because it has to start with 1 instead of 0, I use $key + 1
. I'm not sure if this is best way or not. Is there someone who think there is a better way to do this?
thanks!
$key + 1
is fine
Category | ⇒ | Front End Modules |
Easy | No | ⇒ | Yes |
Test OK.
I am not very much into microdata, but the HTML generated looks allright.
Status | Pending | ⇒ | Ready to Commit |
RTC Thanks
Labels |
Added:
?
|
hm, @peterlose on your test result still missed position
Strange, my test results where good. Did you fetch the last data?
Shoundn't position be itemprop as well? meta property is for RDFA
<meta itemprop="position" content="x" />
@peterlose right, I just noticed this also
@n9iels sorry, I gave you the wrong example, before
Changed it, thx for testing
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-08-06 07:13:19 |
Closed_By | ⇒ | Kubik-Rubik |
Labels |
Removed:
?
|
looks good,
but changing
ul
tool
can have side effect for people who useul
as selector in the breadcrumbs styling, I think better keepul
and I do not see
<meta property="position" content="<POSITION_NUM>">
, that need for each item