tastaturberuf / anystores Goto Github PK
View Code? Open in Web Editor NEWContao-Module: Organize any locations with geolocation search.
License: GNU Lesser General Public License v3.0
Contao-Module: Organize any locations with geolocation search.
License: GNU Lesser General Public License v3.0
Es wäre noch gut das wenn man schon auswählen kann das der Händler in Deutschland ist, dass es auch eine Karte gibt wo alle die in diesem Land sind auch auf einer Karte komplett anzuzeigen geht. per Point die man noch separat stylen (also css Klasse für jeden Händler hinzufügbar)
So muss man nicht immer beim Anlegen einer neuer Kategorie alle Module ändern.
Uns fehlt die Möglichkeit eine Ausgabe aller Stores zu generieren. Vor allem über Länder hinweg. In unserem Fall haben wir 25 Einträge in 20 Ländern, eine Übersicht über alle Stores ohne eine Länderspezifische, oder überhaupt eine Suche anstoßen zu müssen wäre super.
Hi there,
im getting this Warning when moving the installation from local to production:
include(/system/modules/anyStores/modules/ModuleAnyStoresSearch.php): failed to open stream: No such file or directory in system/modules/core/library/Contao/ClassLoader.php on line 161
After renaming the folder system/modules/anystores
to system/modules/anyStores
it worked properly. Is this a composer.json source issue that needs to be changed?
Cheers,
rflx
Very flexible. You can use ANY elements or modules like gallery, slider, ...
In map module if there is no jumpTo set.
Find not Kirchplatz 7 39539 Havelberg
.
Kirchplatz 7, 39539 Havelberg
works.
Details: Empty Request for address 'Kirchplatz 7 39539 Havelberg': 'https://nominatim.openstreetmap.org/search?q=Kirchplatz%207%2039539%20Havelberg&format=json&accept-language=de&limit=1&countrycodes=de'
Funktion: Tastaturberuf\OpenStreetMap::getLonLat
Zusätzlich zu der Google Map einfach noch ein Feld wo man die Startadresse eingeben kann (Ziel Adresse ist der jeweilige Händler) und das man dann die Route berechnen lassen kann per externen Googlemap.
Recoverable error: Argument 3 passed to Tastaturberuf\AnyStoresModel::findPublishedByCategoryAndCountry() must be of the type array, null given, called in C:\xampp\htdocs*\system\modules\anyStores\modules\ModuleAnyStoresList.php on line 102 and defined in C:\xampp\htdocs*\system\modules\anyStores\models\AnyStoresModel.php on line 89
Recoverable error: Argument 3 passed to Contao\Model::findBy() must be of the type array, null given, called in C:\xampp\htdocs*\system\modules\anyStores\models\AnyStoresModel.php on line 103 and defined in C:\xampp\htdocs*\system\modules\core\library\Contao\Model.php on line 826
Sag mal ich hab mal noch paar Fragen wie ich mir die Storelocator Geschichte gern wünschen würde.
Und zwar One-Page und mit folgenden Sachen.
- On-Page
- Dann schon immer die Karte angezeigt
- wenn ich dann einen finde, klicke ich auf Informationen und dann kommt der Marker auf der Karte >direkt aufgepopt und dazu kommt dann noch rechts oder so die weiteren Informationen.
Ich hoffe du kannst das vielleicht für deine weiteren Arbeiten im Storelocator einbauen.
z.B. Seite: http://www.senec-ies.com/partner/ das wäre so was wie oben die 3 Punkte.
Damit würde sich die Liste im Frontend leichter filtern lassen.
Optional sogar kompatibel mit dem JS Plugin Isotope http://isotope.metafizzy.co
Anwendungsfall wäre z.b. das Hinzufügen eines Gewerkes oder der Branche
Now:
Array
(
[0] => Store 1 with some details
[1] => Store 2 with some details
)
Better:
Array
(
[0] => Array (
[name] => Store1
[street] => Street
...
)
[1] => Array (
[name] => Store2
[street] => Street
...
)
)
Hallo,
ich möchte gerne über den angezeigten Öffnungszeiten eine Info mit "Jetzt Geöffnet" und "Geschlossen" hinzufügen. Ist das machbar und wenn wie am besten? Ich komme gerade absolut nicht weiter.
Ich habe heute versucht AnyStores 1.8.0 zu installieren und dabei kam gleich folgender Fehler:
`[18-May-2016 19:31:22 GMT] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: Table 'usr_xxx.tl_anystores_category' doesn't exist
(SELECT * FROM tl_anystores_category ORDER BY title)' thrown in /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Database/Statement.php on line 295
#0 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
#1 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Model.php(1082): Contao\Database\Statement->execute(NULL)
#2 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Model.php(981): Contao\Model::find(Array)
#3 /var/www/.../html/projekt-resys/system/modules/anyStores/classes/AnyStoresDcaHelper.php(26): Contao\Model::findAll(Array)
#4 /var/www/.../html/projekt-resys/system/modules/anyStores/dca/tl_form.php(63): Tastaturberuf\AnyStoresDcaHelper::getCategories()
#5 /var/www/...html/projekt-resys/system/modules/core/library/Contao/DcaLoader.php(86): include('/var/www/web......')
#6 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Controller.php(1298): Contao\DcaLoader->load(false)
#7 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/DcaExtractor.php(382): Contao\Controller::loadDataContainer('tl_form')
#8 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/DcaExtractor.php(128): Contao\DcaExtractor->createExtract()
#9 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/DcaExtractor.php(144): Contao\DcaExtractor->__construct('tl_form')
#10 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Database/Installer.php(295): Contao\DcaExtractor::getInstance('tl_form')
#11 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Database/Installer.php(111): Contao\Database\Installer->getFromDca()
#12 /var/www/.../html/projekt-resys/system/modules/core/library/Contao/Database/Installer.php(41): Contao\Database\Installer->compileCommands()
#13 /var/www/.../html/projekt-resys/system/modules/repository/classes/RepositoryManager.php(486): Contao\Database\Installer->generateSqlForm()
#14 /var/www/.../html/projekt-resys/system/modules/repository/classes/RepositoryBackendModule.php(153): RepositoryManager->update('database')
#15 /var/www/.../html/projekt-resys/system/modules/core/classes/BackendModule.php(98): RepositoryBackendModule->compile()
#16 /var/www/.../html/projekt-resys/system/modules/repository/classes/RepositoryBackendModule.php(72): Contao\BackendModule->generate()
#17 /var/www/.../html/projekt-resys/system/modules/repository/classes/RepositoryManager.php(57): RepositoryBackendModule->generate()
#18 /var/www/.../html/projekt-resys/system/modules/core/classes/Backend.php(423): RepositoryManager->generate()
#19 /var/www/.../html/projekt-resys/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('repository_mana...')
#20 /var/www/.../html/projekt-resys/contao/main.php(20): Contao\BackendMain->run()
#21 {main}
`
Mach ich da was falsch? Contao Installation ist noch keine 5 Min alt und am Anfang mit Check überprüft worden. PHP 5.5 ist auch drauf.
Chrome 44:
Mixed Content: The page at 'https://www.*.de/filialen.html' was loaded over HTTPS, but requested an insecure image 'http://google-maps-utility-library v3.googlecode.com/svn/trunk/markerclusterer/images/m1.png'. This content should also be served over HTTPS.
SEO relevant
Hi,
ich müsste die Daten via CSV importieren/updaten können?! Gibts dafür einen Ansatz ? Das alte Modul hatte diese Funktionalität ....
Tabimporter evtl.?!
Danke und Gruss
Gassi
Ich habe geupdatet und dann kam das:
Fatal error: Call to undefined method Contao\BackendUser::canEditFieldsOf() in /var/www/.../html/system/cache/dca/tl_anystores_category.php on line 297
Was muss man tun, damit es wieder funktioniert?
Runtime notice: Declaration of Tastaturberuf\AnyStoresHooks::replaceInsertTags() should be compatible with Contao\Controller::replaceInsertTags($strBuffer, $blnCache = true) in system/modules/anyStores/classes/AnyStoresHooks.php on line 161
add to csv import script
In MapsModule when category is empty (no stores)
Neben den Daten Telefonnummer und Fax und so.
Wäre es gut wenn man auch einen Ansprechpartner eintragen könnte und den auch mit anzeigen lassen kann.
Warning: Missing argument 2 for Tastaturberuf\AnyStoresHooks::getSearchablePages(), called in .../htdocs/system/modules/core/classes/RebuildIndex.php on line 74 and defined in system/modules/anyStores/classes/AnyStoresHooks.php on line 213
#0 system/modules/anyStores/classes/AnyStoresHooks.php(213): __error(2, 'Missing argumen...', '/mnt/webl/d1/53...', 213, Array)
#1 system/modules/core/classes/RebuildIndex.php(74): Tastaturberuf\AnyStoresHooks->getSearchablePages(Array)
#2 system/modules/core/modules/ModuleMaintenance.php(51): Contao\RebuildIndex->run()
#3 system/modules/core/classes/BackendModule.php(91): Contao\ModuleMaintenance->compile()
#4 system/modules/core/classes/Backend.php(262): Contao\BackendModule->generate()
#5 contao/main.php(137): Contao\Backend->getBackendModule('maintenance')
#6 contao/main.php(288): Main->run()
#7 {main}
The global configuration variable "anystores_geoApi" has been changed from "" to "GoogleMaps"
Opt-In for shared hosting!
https://developers.google.com/maps/documentation/javascript/tutorial?hl=de#api_key
Ich habe zu den Store Details die Mobilfunknummer hinzugefügt. Die Github App lässt mich keinen Pullrequest setzen. Ist das aktuell gesperrt?
Each category has its own marker will appear on the map, instead of always the same markers for all your categories
maybe multiple sets of opening times for holidays
Ab Update 1.06 funktioniert bei aktivierter Enfernungsgrenze die Eingrenzung nicht mehr.
Feature Vorschlag.
Vielen Dank an Tastaturberuf für die Weiterentwicklung!
tl_settings =>
anystores_hasSitemap = 1|0
anystores_detailPage = page picker
Ich würde gerne 2 Karten auf einer Seite laden, am besten im Tab/Reiter.
es wird jedoch immer nur die erste Karte geladen ?
da es keine "Filterfunktion" der Marker gibt, hatte ich gedacht das dies der einfachste und schnellste Weg wäre, der jedoch nicht funzt :-(
Chrome-Fehlermeldung:
Uncaught ReferenceError: anystores is not definedloadMap @ anystores.js:10
Wie würdest du ein Kontaktformular auf jede Detailseite unterbringen bei dem die Empfänger Adresse jeweils die Empfängeradresse aus den Store-Details ist?
Mit dem Formulargenerator muss ja vorab schon eine fixe Empfänger Adresse hinterlegt werden.
ich würde gern die optionen zum markercluster ändern (andere farbe oder eigenes Bild )
Jedoch reagieren Einträge in der Datei "map_google_dynamic.html5" überhaupt nicht !!!
var mc = new MarkerClusterer(map, markers, mcOptions);
var clusterStyles = [{
url: 'http://oi59.tinypic.com/snmjj8.jpg',
height: 150,
width: 80
}];
var mcOptions = {
gridSize: 20,
styles: clusterStyles,
maxZoom: 5
};
irgendwie wenn ich auch den kompletten Inhalt der "map_google_dynamic.html5" lösche... bekomme ich im Frontend auch keine Fehler oder jegliches! Wie und wo kann ich testen ob er überhaupt mein Template lädt ?
Vielen Dank schon mal.
lg SfX
What the Fuck?!
Aktuell liegt das Modul "anyStores Details" in der Seite "Mitglieder Details".
Gibt es eine Möglichkeit über das Modul den Seitentitel aus dem Mitgliederdaten einzufügen und nicht den Namen der Seite in dem das Modul liegt (In diesem Fall heißt die Seite "Mitglieder Details" und nicht "Name des Mitgliedes"?
Bei dem News Reader Funktioniert das bereits so.
wo setze ich die option, damit man in die map nicht zoomen kann mit dem scrollrad der maus ?
bei fullwidth layouts...ziemlich nervig beim scrollen der website !!
Danke schon mal im vorraus
This extension is not installable via Contao's package management, due to missing information in the composer.json. You need to add the following:
"extra":
{
"contao":
{
"sources":
{
"":"system/modules/anystores"
}
}
}
Without this information, the composer client/plugin will not copy the files to system/modules
.
I want to set permissions for back end users for anystores' tables, i.e. 'normal' users must not delete a category or a single store. I don't see a way to achieve this with any standard settings?
My current solution is to add a callback
'onload_callback' => array
(
array('tl_anystores', 'checkPermission')
),
and to forbid delete/deleteAll for non-admins:
public function checkPermission()
{
if ($this->User->isAdmin)
{
return;
}
// Check current action
switch (Input::get('act'))
{
case 'delete':
case 'deleteAll':
if (strlen(Input::get('act')))
{
$this->log('Not enough permissions to '.Input::get('act').' anystores store', __METHOD__, TL_ERROR);
$this->redirect('contao/main.php?act=error');
}
break;
}
}
Still, this does not remove the action-icon and is harcoded.
Falls die Karte auf einer Suchergebnisseite dargestellt wird, könnten die Ergebnisse auch dort optional eingeschränkt werden.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.