Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
a sitemap question
« previous
next »
Print
Pages: [
1
]
Author
Topic: a sitemap question (Read 3708 times)
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
a sitemap question
«
on:
August 04, 2009, 11:45:25 »
Hello all,
I entered a new post in my eblog that I did not set to be published.
By chance clicked on my sitemap and noticed that it also displayes the eblogs that are not published.
Is this an error?
Thanks
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: a sitemap question
«
Reply #1 on:
August 04, 2009, 11:57:49 »
Oooooops!
Open administrator/components/com_sitemap/extensions/eblog.sitemap.php
Go to line 141.
Change this:
."\n WHERE s.published='1'"
With this:
."\n WHERE s.published='1' AND b.published='1'"
This happened as the option to set a blog post publish status added on the second release of Elxis 2008.1. At first there was no such option.
It is not a security risk to leave it as is as it is just a link to sitemap. If someone clicks it eblog will tell him that the requested post does not exist.
«
Last Edit: August 04, 2009, 11:59:25 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: a sitemap question
«
Reply #2 on:
August 04, 2009, 13:59:56 »
Good to know and many thanks.
I will tell you now just in case I forget, Have a great vacation and enjoy yourself.
Logged
Bournias.net
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
a sitemap question