Start arrow Forum
 
Polska wersjaEnglish version
 
Fun with Joomla!  


englishchrissy
User

Fresh Boarder
Posts: 2
graphgraph
Karma: 0  
Remove XML and TXT links - 2007/11/14 14:29 Hi, I really like SEF Service Map. I'm using it on my 1st Joomla site. Just a couple of quick questions.

1.How can I remove the XML and TXT images and links from the bottom of the Site Map?
And if I do how can I find where the xml and text site maps are. ie the url for them.

2.Also is it possible to remove the SEF Service Map v.1.4.0 by Mazury Kwatery link as well?

3.Are you going to make a Joomla 1.5 version so that I dont hve to run legacy mode?

Anyway thanks for a great component.

Chris
  | | | The administrator has disabled public write access.
lee
User

Junior Boarder
Posts: 5
graphgraph
Karma: 0  
Re:Remove XML and TXT links - 2007/11/21 14:15 To remove the XML and TXT links:

go to /components/com_sefservicemap
and in the file: sefservicemap.html.php

near the bottom find the following code
Code:

  <table width="100%">       <tr>         <td align="center">           <a href="<?php echo $xmllink ?>" title="<?php echo _SITEMAP_XML ?>"><img src="<?php echo $mosConfig_live_site ?>/components/com_sefservicemap/image$         </td>         <td align="center">           <a href="<?php echo $txtlink ?>" title="<?php echo _SITEMAP_TXT ?>"><img src="<?php echo $mosConfig_live_site ?>/components/ com_sefservicemap/image$         </td>       </tr>     </table>


and comment out the parts you don't want displayed. you can comment out the whole table or just the links. For example:
Code:

   <table width="100%" border="0">       <tr>         <td align="center"> <!-- remove XML and Text Link    <a href="<?php echo $xmllink ?>" title="<?php echo _SITEMAP_XML ?>"><img src="<?php echo $mosConfig_live_site ?>/components/com_sefservicemap/images/$     </td>     <td align="center">     <a href="<?php echo $txtlink ?>" title="<?php echo _SITEMAP_TXT ?>"><img src="<?php echo $mosConfig_live_site ?>/components/ com_sefservicemap/images/txt.$ -->       </td>       </tr>     </table>


after you have that working you can find the code to accomplish your #2 question just below this section.
  | | | The administrator has disabled public write access.
radek
Moderator

Moderator
Posts: 62
graph
Karma: 2  
Re:Remove XML and TXT links - 2007/12/05 11:21 This is GNU/GPL component.
You can remove credits from component html code. How? Find it It's good php lesson
Redards, Radek
SEF Service Map v.1.0.4 working now with Joomla 1.5 only in legacy mode.
  | | | The administrator has disabled public write access.
 

Lost Password?? No account yet? Register

Forum Info
Our users have posted a total of 486 articles.
We have 1449 registered users.
The newest registered user is: DUNNPAULETTE30
In total there are 89 users online: 89 guests and 0 registered
Registered Users online: none