Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
VERSION = "1.0.0"
VERSION2 = $(shell echo $(VERSION)|sed 's/ /-/g')
ZIPFILE = joxmap-$(VERSION2).zip
PACKAGES = packages

# Only set DATE if you need to force the date.
# (Otherwise it uses the current date.)
# DATE = "February 19, 2011"

all: $(ZIPFILE)

INSTALLS = joxmap_plugin \
joxmap_component

NAMES = $(INSTALLS)

ZIPS = $(NAMES:=.zip)

ZIPIGNORES = -x "*.git*" -x "*.svn*"

PWD = $(pwd)

parts: $(ZIPS)

COMPONENT_SRC = administrator components media joxmap.xml
PLUGIN_SRC = plugins/joxmap/com_content


joxmap_component.zip: $(COMPONENT_SRC)
@echo "-------------------------------------------------------"
@echo "Creating zip file for: $*"
@rm -f $@
@(zip -r $@ $^ $(ZIPIGNORES))

joxmap_plugin.zip: $(PLUGIN_SRC)
@echo "-------------------------------------------------------"
@echo "Creating zip file for: $*"
@rm -f $@
@cd $^; zip -r ../../../$@ * $(ZIPIGNORES);cd -;


$(ZIPFILE): $(ZIPS)
@echo "-------------------------------------------------------"
@echo "Creating extension zip file: $(ZIPFILE)"
@mv $(INSTALLS:=.zip) packages/
@(cd $(PACKAGES); zip -r ../$@ * $(ZIPIGNORES))
@echo "-------------------------------------------------------"
@echo "Finished creating package $(ZIPFILE)."

19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# com_joxmap


## News

This project will be archived

Please use more accurate https://github.com/svanschu/SchuWeb-Sitemap

## Credits

This repo was imported from https://github.com/guilleva/Xmap

This repo is not more maintained

It was containing component com_xmap

The new repo is providing com_joxmap component for Joomla 4.0 +

Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<form>
<fields addpath="administrator/components/com_xmap/elements">
<form name="adminForm" class="form-validate">
<fieldset addpath="administrator/components/com_joxmap/src/Field"
name="general" label="XMAP_FIELDSET_GENERAL">
<field
id="id"
name="id"
Expand Down Expand Up @@ -71,7 +72,7 @@
JUNPUBLISHED</option>
</field>

<field
<!--<field
id="created"
name="created"
type="calendar"
Expand All @@ -80,7 +81,11 @@
class="inputbox"
labelclass="control-label"
size="16"
format="%Y-%m-%d %H-%M-%S" />
default="NOW"
showtime="false"
filter="user_utc"
format="%Y-%m-%d"
/>-->

<field
id="access"
Expand All @@ -94,64 +99,71 @@

<field
id="count_html"
name="hits"
type="text"
name="count_html"
type="hidden"
label="XMAP_HITSHTML_LABEL"
description="XMAP_HITS_DESC"
class="readonly"
labelclass="control-label"
size="6"
default="0"
readonly="true"
filter="unset"/>

<field
id="count_xml"
name="hits"
type="text"
name="count_xml"
type="hidden"
label="XMAP_HITSXML_LABEL"
description="XMAP_HITS_DESC"
class="readonly"
labelclass="control-label"
size="6"
default="0"
readonly="true"
filter="unset"/>

<field
id="visits_html"
name="visits_html"
type="text"
name="lastvisit_html"
type="hidden"
label="XMAP_VISITSHTML_LABEL"
description="XMAP_HITS_DESC"
class="readonly"
labelclass="control-label"
size="6"
readonly="true"
default="0"
filter="unset"/>

<field
id="visits_xml"
name="visits_xml"
type="text"
name="lastvisit_xml"
type="hidden"
label="XMAP_VISITSXML_LABEL"
description="XMAP_HITS_DESC"
class="readonly"
labelclass="control-label"
size="6"
readonly="true"
default="0"
filter="unset"/>

<field
</fieldset>
<fieldset name="menus" label="XMAP_FIELDSET_MENUS">
<field
id="selections"
name="selections"
type="xmapmenus"
label="XMAP_MENUASSIGMENT_LABEL"
addfieldprefix="JLTRY\Component\JoXmap\Administrator\Field"
label=""
description="XMAP_MENUASSIGMENT_DESC"
class="inputbox"
labelclass="control-label"
multiple="multiple"
array="true"
size="5"/>

</fieldset>
<fields>
<field
id="selections_priority"
name="selections_priority"
Expand All @@ -170,14 +182,14 @@
multiple="multiple"
size="5"/>
</fields>

<fields name="attribs">
<fieldset name="general" label="XMAP_FIELDSET_OPTIONS">

<fieldset name="options" addfieldprefix="JLTRY\Component\Joxmap\Administrator\Field" label="XMAP_FIELDSET_OPTIONS">
<fields name="attribs">
<field
name="showintro"
type="radio"
class="btn-group"
filter="integer"
layout="joomla.form.field.radio.switcher"
labelclass="control-label"
label="XMAP_ATTRIBS_SHOW_INTRO_LABEL"
description="XMAP_ATTRIBS_SHOW_INTRO_DESC"
Expand All @@ -187,11 +199,12 @@
<option
value="1">Yes</option>
</field>

<field
name="show_menutitle"
type="radio"
class="btn-group"
filter="integer"
layout="joomla.form.field.radio.switcher"
label="XMAP_ATTRIBS_SHOW_MENU_TITLE_LABEL"
description="XMAP_ATTRIBS_SHOW_MENU_TITLE_DESC"
labelclass="control-label"
Expand Down Expand Up @@ -222,6 +235,8 @@
name="exlinks"
type="radio"
class="btn-group"
filter="integer"
layout="joomla.form.field.radio.switcher"
labelclass="control-label"
label="XMAP_ATTRIBS_EXTERNAL_LINKS_LABEL"
description="XMAP_ATTRIBS_EXTERNAL_LINKS_DESC"
Expand Down Expand Up @@ -265,6 +280,8 @@
name="compress_xml"
type="radio"
class="btn-group"
filter="integer"
layout="joomla.form.field.radio.switcher"
label="XMAP_ATTRIBS_COMPRESS_XML_LABEL"
description="XMAP_ATTRIBS_COMPRESS_XML_DESC"
labelclass="control-label"
Expand All @@ -278,7 +295,7 @@
<field
name="beautify_xml"
type="radio"
class="btn-group"
layout="joomla.form.field.radio.switcher"
label="XMAP_ATTRIBS_BEAUTIFY_XML_LABEL"
description="XMAP_ATTRIBS_BEAUTIFY_XML_DESC"
labelclass="control-label"
Expand All @@ -292,7 +309,7 @@
<field
name="include_link"
type="radio"
class="btn-group"
layout="joomla.form.field.radio.switcher"
label="XMAP_ATTRIBS_INCLUDE_LINK_LABEL"
description="XMAP_ATTRIBS_INCLUDE_LINK_DESC"
labelclass="control-label"
Expand All @@ -302,7 +319,8 @@
<option
value="1">Yes</option>
</field>
</fieldset>
</fields>
</fieldset>

<fieldset name="news" label="XMAP_FIELDSET_NEWS_OPTIONS">
<field
Expand All @@ -312,7 +330,7 @@
labelclass="control-label"
label="XMAP_ATTRIBS_NEWS_PUBLICATION_NAME_LABEL"
description="XMAP_ATTRIBS_NEWS_PUBLICATION_NAME_DESC" />
<!--
<!--
<field
name="news_posts_keywords"
type="text"
Expand All @@ -321,6 +339,6 @@
description="XMAP_ATTRIBS_NEWS_POSTS_KEYWORDS_DESC" />
-->
</fieldset>
</fields>


</form>
26 changes: 26 additions & 0 deletions administrator/components/com_joxmap/joxmap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* @package Joomla.Administrator
* @subpackage com_joxmap
*
* @copyright Copyright (C) 2024 JL Tryoen. All rights reserved.
(com_xmap) Copyright (C) 2007 - 2009 Joomla! Vargas. All rights reserved.
* @author JL Tryoen / Guillermo Vargas (guille@vargas.co.cr)
* @license GNU General Public License version 3; see LICENSE
*/

// no direct access
defined('_JEXEC') or die;

use Joomla\CMS\Factory;

defined('_JEXEC') or die('Restricted access');

// Execute the requested task
$mvc = Factory::getApplication()
->bootComponent("com_joxmap")
->getMVCFactory();

$controller = $mvc->createController('SiteMaps');
$controller->execute(Factory::getApplication()->getInput()->get('task'));
$controller->redirect();
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ XMAP_NEWS_LINK_TOOLTIP="Přejít &ldquo;News&rdquo; verzi mapy stránek. Použij


XMAP_MESSAGE_EXTENSIONS_DISABLED="Byla nalezena následuící rozšíření Xmap, která jsou zakázaná. Je nutné je ručně povolit ve <a href='index.php?option=com_plugins&view=plugins&filter_type=xmap&filter_folder=xmap'>Správci pluginů</a>: %s"
COM_XMAP_SITEMAPS_N_ITEMS_UNPUBLISHED="%d map stránek bylo zneveřejněno."
COM_XMAP_SITEMAPS_N_ITEMS_UNPUBLISHED_1="Mapa stránek byla zneveřejněna."
COM_XMAP_SITEMAPS_N_ITEMS_PUBLISHED="%d map stránek bylo zveřejněno."
COM_XMAP_SITEMAPS_N_ITEMS_PUBLISHED_1="Mapa stránek byla zveřejněna."
COM_XMAP_SITEMAPS_N_ITEMS_TRASHED="%d map stránek bylo přemístěno do koše."
COM_XMAP_SITEMAPS_N_ITEMS_TRASHED_1="Mapa stránek byla přemístěna do koše."
COM_XMAP_SITEMAPS_N_ITEMS_DELETED="%d map stránek bylo smazáno."
COM_XMAP_SITEMAPS_N_ITEMS_DELETED_1="Mapa stránek byla smazána."
COM_JOXMAP_SITEMAPS_N_ITEMS_UNPUBLISHED="%d map stránek bylo zneveřejněno."
COM_JOXMAP_SITEMAPS_N_ITEMS_UNPUBLISHED_1="Mapa stránek byla zneveřejněna."
COM_JOXMAP_SITEMAPS_N_ITEMS_PUBLISHED="%d map stránek bylo zveřejněno."
COM_JOXMAP_SITEMAPS_N_ITEMS_PUBLISHED_1="Mapa stránek byla zveřejněna."
COM_JOXMAP_SITEMAPS_N_ITEMS_TRASHED="%d map stránek bylo přemístěno do koše."
COM_JOXMAP_SITEMAPS_N_ITEMS_TRASHED_1="Mapa stránek byla přemístěna do koše."
COM_JOXMAP_SITEMAPS_N_ITEMS_DELETED="%d map stránek bylo smazáno."
COM_JOXMAP_SITEMAPS_N_ITEMS_DELETED_1="Mapa stránek byla smazána."

XMAP_FIELDSET_MENUS="Nabídky"
XMAP_FIELDSET_OPTIONS="Možnosti"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
; $Id$
; Copyright (C) 2007 - 2009 Joomla! Vargas. All rights reserved.
; GNU General Public License version 2 or later; see LICENSE.txt
; Guillermo Vargas (guille@vargas.co.cr)
;

COM_JOXMAP="Xmap"
COM_JOXMAP_TITLE="Xmap"

;
; View and layout titles and descriptions
;
COM_JOXMAP_SITEMAP_HTML_VIEW_DEFAULT_TITLE="HTML verze"
COM_JOXMAP_SITEMAP_HTML_VIEW_DEFAULT_DESC="Zobrazí mapu stránek v HTML formátu"
COM_JOXMAP_SITEMAP_XML_VIEW_DEFAULT_TITLE="XML verze"
COM_JOXMAP_SITEMAP_XML_VIEW_DEFAULT_DESC="Zobrazí mapu stránek v XML formátu"

COM_JOXMAP_SELECT_AN_SITEMAP="Zvolte mapu stránek"
COM_JOXMAP_SELECT_A_SITEMAP="Mapa stránek"
COM_JOXMAP_CHANGE_SITEMAP_BUTTON="Změnit"
COM_JOXMAP_CHANGE_SITEMAP="Zvolte mapu stránek ze seznamu"

COM_INSTALLER_TYPE_XMAP_EXT="Rozšíření Xmap"
COM_JOXMAP_ATTRIBS_SITEMAP_SETTINGS_LABEL="Možnosti mapy stránek"
COM_JOXMAP_INCLUDE_CSS_LABEL="Používat CSS styl komponenty Xmap"
COM_JOXMAP_INCLUDE_CSS_DESC="Pokud je zvoleno Ano, bude použit soubor stylů CSS komponenty XMap"
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,17 @@ XMAP_IMAGES_LINK="Images Sitemap"
XMAP_IMAGES_LINK_TOOLTIP="Go to the &ldquo;Images&rdquo; version of the sitemap, use this url to submit your sitemap to Google and other search engines."

XMAP_MESSAGE_EXTENSIONS_DISABLED="Xmap have detected that the following extensions can help you to get more content in your site map but they are disabled, you have to manually enable them visiting the <a href='index.php?option=com_plugins&view=plugins&filter_type=xmap&filter_folder=xmap'>extensions manager</a>: %s"
COM_XMAP_SITEMAPS_N_ITEMS_UNPUBLISHED="%d sitemaps successfully unpublished"
COM_XMAP_SITEMAPS_N_ITEMS_UNPUBLISHED_1="%d sitemap successfully unpublished"
COM_XMAP_SITEMAPS_N_ITEMS_PUBLISHED="%d sitemaps successfully published"
COM_XMAP_SITEMAPS_N_ITEMS_PUBLISHED_1="%d sitemap successfully published"
COM_XMAP_SITEMAPS_N_ITEMS_TRASHED="%d sitemaps successfully published"
COM_XMAP_SITEMAPS_N_ITEMS_TRASHED_1="%d sitemap successfully trashed"
COM_XMAP_SITEMAPS_N_ITEMS_DELETED="%d sitemaps successfully deleted"
COM_XMAP_SITEMAPS_N_ITEMS_DELETED_1="%d sitemap successfully deleted"
COM_JOXMAP_SITEMAPS_N_ITEMS_UNPUBLISHED="%d sitemaps successfully unpublished"
COM_JOXMAP_SITEMAPS_N_ITEMS_UNPUBLISHED_1="%d sitemap successfully unpublished"
COM_JOXMAP_SITEMAPS_N_ITEMS_PUBLISHED="%d sitemaps successfully published"
COM_JOXMAP_SITEMAPS_N_ITEMS_PUBLISHED_1="%d sitemap successfully published"
COM_JOXMAP_SITEMAPS_N_ITEMS_TRASHED="%d sitemaps successfully published"
COM_JOXMAP_SITEMAPS_N_ITEMS_TRASHED_1="%d sitemap successfully trashed"
COM_JOXMAP_SITEMAPS_N_ITEMS_DELETED="%d sitemaps successfully deleted"
COM_JOXMAP_SITEMAPS_N_ITEMS_DELETED_1="%d sitemap successfully deleted"

XMAP_FIELDSET_MENUS="Menus"
XMAP_FIELDSET_GENERAL="General"
XMAP_FIELDSET_OPTIONS="Options"
XMAP_FIELDSET_METADATA="Metadata"
XMAP_ATTRIBS_SHOW_INTRO_LABEL="Intro text"
Expand Down
Loading