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.
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- \views\default\page_elements\header.php
- <link rel="alternate" type="application/odd+xml" title="OpenDD" href="{$url2}" />
- James@Bond James

James - 0 likes
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- James@Bond James

James - 0 likes
- James@Bond James

James - 0 likes
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
You must log in to post replies.goto
remove this line of code
sounds simple 'nuff ?
thanks a lot dhrup... jus one little doubt...
just above that line, there are a few more lines...which i gues could be related to opendd...im not exactly sure.. im a newbee...would really appreciate if u could help me with this
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
$url = $url2 = full_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
$url .= "?view=rss";
}
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
$url2 .= "?view=opendd";
}
$feedref = <<<END
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$url}" />
<link rel="alternate" type="application/odd+xml" title="OpenDD" href="{$url2}" />
Also in the file named owner_block in the same page elements folder, there are a few lines which i guess could be related
// Are there feeds to display?
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
$url = $url2 = full_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
$url .= "?view=rss";
}
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
$url2 .= "?view=opendd";
}
$label = elgg_echo('feed:rss');
$label2 = elgg_echo('feed:odd');
$contents .= <<<END
<div id="owner_block_rss_feed"><a href="{$url}">{$label}</a></div>
<div id="owner_block_odd_feed"><a href="{$url2}">{$label2}</a></div>
Do i need to remove any of these lines also... if yes.. would really appreciate if u could highlight ehich ones do i need to remove...
one last thing.. if u have some time can u plz tell me would removing opendd have any problems for my website.. as in low listing on google search or anything of that sort...
cause in the google search if my link has a ?view=opendd in it then the page is shown in xml format ..which is not useful for my visitors... infact is creating negative image about my website...
thanks in advance...im sorry if the doubt are too low levell..im jus a newbee...i hope u understand..
did you try the one line code removal to see what happens ?
nopes... not yet...
it din help dude...
ok here goes wht i did...
attempt 1
removed <link rel="alternate" type="application/odd+xml" title="OpenDD" href="{$url2}" /> from header
no good...
attempt 2
removed <link rel="alternate" type="application/odd+xml" title="OpenDD" href="{$url2}" /> and
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
$url2 .= "?view=opendd";
}
from HEADER
no good...
attempt 3
removed
both from attempt 2 of from the header and removed all the bold stuff below from owners block in page elements
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
$url2 .= "?view=opendd";
}
$label = elgg_echo('feed:rss');
$label2 = elgg_echo('feed:odd');
$contents .= <<<END
<div id="owner_block_rss_feed"><a href="{$url}">{$label}</a></div>
Yet Not Good...
wht should i do now.. is there anyway i can remove open dd... plz help me
u have URL whwre I can see ?