Hi
Can somebody tell me how to set a single link to "follow" please? I already tried it in the tinyMCE source-code-editor, but it doesn´t save this.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- tYSoftware@theYoRecords
tYSoftware - 0 likes
- tYSoftware@theYoRecords
tYSoftware - 0 likes
- tYSoftware@theYoRecords
tYSoftware - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- tYSoftware@theYoRecords
tYSoftware - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- tYSoftware@theYoRecords
tYSoftware - 0 likes
You must log in to post replies.output/url view sets the rel to nofollow unless you pass 'is_trusted' param, so
echo elgg_view('output/url', array(
'text' => 'My link',
'href' => 'http://mylink.com',
'is_trusted' => true
));
Great, thank you! But where do I have to insert this in the ulr.php?
I see, I´ve opened the wrong url.php.
Thanks for your help!
But it doesn´t work anyway... By the way I´m using Elgg 1.8.3. Do I have to insert it in views/rss/output/url.php or in views/default/output/url.php? And how do I have to insert it?
You don't have to insert anything anywhere. That's the view you are calling. If you want to include a link in any other page that is set to rel="follow" you add the code I've provided above.
Same as IK,
echo elgg_view('output/url', array(
'text' => 'Visit google',
'href' => 'http://google.com',
'is_trusted' => true // Setting this as true will add rel="follow" to the URL, If you leave this By default elgg will set the rel="nofollow"
));
TinyMce will remove the rel tags. Also you cant call the above view through tinymce.
If this is not what you are looking for, explain the situation in detail.
Are you trying to do this input thru the TinyMCE Editor (e.g on an Elgg Page's input text) ?
<div class="elgg-output">Example ==>
<a rel="follow" href="http:/www.domain.com"> www.domain.com</a>
</div>
Yes, I try to do this in the tinyMCE Editor. I added an external page called "Links" and want to tell the search engines to follow one link on this site.
hmtlawed won't let you do that.
Isn´t there a way to change that at hmtlawed? That the links at the external pages can be set to "follow"?