How can I add schema below to beadcrumbs - loop
Code:Only registered members can view the code.
Printable View
How can I add schema below to beadcrumbs - loop
Code:Only registered members can view the code.
Hello,
Go to ftp > templates > your template > tpl > blocks > bread_crumbs.tpl:
insert the following code before the last "{/if}" at the bottom:
Code:Only registered members can view the code.
Hello Rudi,
My breadcrubs is -> Home / Cars / Suzuki / Swift
But current code for Schema only pulls -> Home / Cars / Suzuki
See below example
1
@type Thing
@id https://www.website.com/
name Home
2
@type Thing
@id https://www.website.com/cars.html
name Cars
3
item
@type Thing
@id https://www.website.com/cars/Suzuki/
name Suzuki
Swift is missing ..can you modify code to add swift
Hello Errol,
Because our script displays only parent elements in breadcrumbs as it's used for navigation primarily
if you need a full path you should go to ftp > includes > controllers > listing_type.inc.php > find at the bottom // build category bread crumbs
change:
to:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Hello Rudi,
Changes where already there.
Can you please take a look at my auto website to see my errors
Hello Rudi!
If category has no listing parent categories don't appear in the bread crumb, look at pictures
Attachment 3560
Attachment 3561
How can I fix it?
Thanks!
Hello,
it seems that you did something wrong in the code
if you didn't modified any files create a ticket and I'll look into it
Hello Rudi,
Can you tell me in which tpl should i put schema json for schema to work in this url
https://www.domain.com/body-style/suvs/
The page is from Field Bound Box Plugin
Hello Errol,
Go to plugins > fieldBoundBoxes > listings_by_field.tpl > {if !empty($listings)}
Hello Rudi,
This error appeared from version 4.8 to version 4.7 was normal. Fly. Demo site too has this issue,
https://classifieds.demoflynax.com/u...lfa-romeo.html
please look at picture:
Attachment 3711
If look at code it looks like https://classifieds.demoflynax.com/u...s/motors/.html
I tried to replace some files from 4.7, but it didn't help.
Hello,
Ok, thanks,
We'll fix it in the next update
now go to ftp > includes > classes > rlCommon.class.php > public function getBreadCrumbs($cPage)
find:
replace it with:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Nothing changed
Could you create a ticket with this issue attaching current ftp details?
Hello Rudi,
Unfortunately I cannot do it now, my site is offline now, because expired a year hosting time but I didn't move to another hosting yet.
I decided not to move immediately since waiting for some features updates from fly. developers, because I don't know how long it will take.
[QUOTE=Rudi;29665]Hello,
Ok, thanks,
We'll fix it in the next update
now go to ftp > includes > classes > rlCommon.class.php > public function getBreadCrumbs($cPage)
find:
replace it with:PHP Code:
Only registered members can view the code.
/QUOTE]PHP Code:
Only registered members can view the code.
I think it is not the case because the version 4.7.2 has the same code and this code could fix the issue if that were on the view_details page.
does this work with 4.8.1 ?