Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] Simple Venueslist

[SOLVED] Simple Venueslist 4 years 8 hours ago #20379

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464
hi there,

Attached you will find a venues-list view + model.

Don't forget to alter the controller:
file: components/com_jem/controller.php
function: display

there you should add
case 'venueslist':

so it will like
case 'search':
case 'venue':
case 'venues':
case 'venueslist':
case 'weekcal':
	$model = $this->getModel($viewName);
	break;
default:
	$model = $this->getModel('eventslist');
	break;

did try it out with Joomla 3.4.5 so it might give problems with Joomla 2.x
- The buttons in the filter-area do have the btn class attached to it but you can ofcourse alter it as it was
- The labels for filter/search are removed as it should be clear to people

Did create a seperate view for now but maybe in the future it's handled in a diffferent way

It should be altered more but it will give you an idea. There can be untranslated language strings, leftovers of the myvenues view etc. Also stripped a bit of code.
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
Attachments:
The following user(s) said Thank You: jojo12, mrcraige

Please Log in or Create an account to join the conversation.

[SOLVED] Simple Venueslist 4 years 7 hours ago #20380

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3118
  • Karma: 45
  • Thank you received: 333
did it try on Joomla 3.4.5 with JEM 2.1.5. Really nice and useful!

The ordering doesn't work.
The reset button doesn't work
When going to a venue and coming back with "going to previous page in firefox, I get a "dokument erloschen"

for my purity template, I have to adapt the icons
Testing JEM 2.3.0 beta3 local on clean latest Joomla (3.9.11) Protostar php7.3.8 (no mails)

Please Log in or Create an account to join the conversation.

[SOLVED] Simple Venueslist 3 years 11 months ago #20392

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464

the ordering doesn't work.

yep am awae of that but that should be altered.[/quote]

The reset button doesn't work

should be working

When going to a venue and coming back with "going to previous page in firefox, I get a "dokument erloschen"

that's a general problem related to Firefox so not necessary related to the files.

for my purity template, I have to adapt the icons

probably related to use of a different icon set
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

[SOLVED] Simple Venueslist 3 years 11 months ago #20395

Thank you!! This is great!! :woohoo:

The reset button and icons were ok for me.
I had the back issue on Firefox too. On other browsers it's fine. I guess it can't be helped.

The main issue is that there is no ordering and the sort by column function doesn't work.
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

[SOLVED] Simple Venueslist 3 years 11 months ago #20398

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464

mrcraige wrote: The main issue is that there is no ordering and the sort by column function doesn't work.


will add it this weekend
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

[SOLVED] Simple Venueslist 3 years 11 months ago #20399

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4286
  • Karma: 43
  • Thank you received: 464
added order
(won't respond to PM)
==================================================================
running: JEM 3.x (custom version) + Joomla 3.9.1.0 + PHP 5.x
Locally: PHP 7.3.5 + Joomla 4.0.0-alpha10 + pre-alpha JEM4.x (custom)
Attachments:
The following user(s) said Thank You: jojo12, mrcraige

Please Log in or Create an account to join the conversation.

Time to create page: 0.269 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......