Crosslinking
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Yuri Salimovskiy
Error when using embed:title
Bug Report
paultz
|
Posted: 22 April 2015 09:37 AM |
|
|
|
Hi, i have my title in embed
<title>{embed:my_title}Mobile Solutions</title>
and my embed template:
{embed=“includes/masthead_global” title=”{exp:channel:entries channel=“mobile” status=“open|featured” limit=“1” }{title}{/exp:channel:entries} — ” keywords=“some key words here”}
When rendering on EE, and instead of getting the title:
<title>Educational - Mobile Solutions</title>
I am Getting the Error
<title>>a href= Mobile Solutions</title>
I have tried using {no_crosslinking}{/no_crosslinking} like <title>{no_crosslinking}{embed:my_title}{/no_crosslinking}Mobile Solutions</title> without luck
Any help will appreciate, i am using ee 2.9.2
|
|
|
paultz
|
Posted: 22 April 2015 09:39 AM |
# 1
|
|
|
I am Getting the Error
<title>>a href= Mobile Solutions</title>
|
|
|
Yuri Salimovskiy
|
Posted: 23 April 2015 04:12 AM |
# 2
|
|
Developer
|
Try using {no_crosslinking} in parent template
|
|
|
paultz
|
Posted: 23 April 2015 05:11 AM |
# 3
|
|
|
I have tried to use {no_crosslinking} the whole template code here {/no_crosslinking} on both the include/masthead_global as well as the main template itself but it renders the ee code and leave no crossing tag like seen like {no_crosslinking} {/no_crosslinking} no effect, remember this embed template i use it in <header></header> of the page
|
|
|
Yuri Salimovskiy
|
Posted: 23 April 2015 07:54 AM |
# 4
|
|
Developer
|
Try this:
{embed="my/template" my_title="{no_crosslinking}{title}{/no_crosslinking}"}
|
|
|
paultz
|
Posted: 23 April 2015 08:45 AM |
# 5
|
|
|
This is my code:
{embed="includes/masthead_global" title="{exp:channel:entries channel="mobile" status="open|featured" limit="1" }{no_crosslinking}{title}{/no_crosslinking}{/exp:channel:entries} — " keywords="mobile, educational, food, vegetable,"}
When rendering to EE i am getting:
<title>{no_crosslinking}Educational Apps{/no_crosslinking} — Mobile Solutions</title>
Now it renders the name correctly Educational Apps but i still get the tags no_crosslinking in position instead of
just <title> Educational Apps — Mobile Solutions</title>
|
|
|
Yuri Salimovskiy
|
Posted: 23 April 2015 09:04 AM |
# 6
|
|
Developer
|
So this probably does not work with embeds. Unfortunately I can’t provide a solution for you.
Feel free to request a refund if you find you can’t use this add-on at your site.
|
|
|
paultz
|
Posted: 23 April 2015 09:21 AM |
# 7
|
|
|
I have remove the embed and put the header direct to the title no_crossling tags like:
<title>{exp:channel:entries channel=“mobile” status=“open|featured” limit=“1” }{no_crosslinking}{title}{/no_crosslinking}{/exp:channel:entries} — Mobile Solutions</title>
Now i still get:
<title>{no_crosslinking}Educational Apps{/no_crosslinking} — Mobile Solutions</title>
With no_crossling tag i get:
<title><a href="http://localhost/mobilesolutions.co.tz/index.php/mobile/educational-apps" class="crosslinking">Educational Apps</a> — Mobile Solutions</title>
|
|
|