Welcome, Guest
Username: Password: Remember me

TOPIC:

[SOLVED] Simple Venueslist 7 years 3 months ago #20379

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
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: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
Attachments:
The following user(s) said Thank You: jojo12, mrcraige

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

[SOLVED] Simple Venueslist 7 years 3 months ago #20380

  • jojo12
  • jojo12's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 3534
  • Thank you received: 400
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

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

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

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493

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: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
The following user(s) said Thank You: jojo12

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

[SOLVED] Simple Venueslist 7 years 3 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 7 years 3 months ago #20398

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493

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: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
The following user(s) said Thank You: jojo12

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

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

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
added order
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3
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.585 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......