Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

J3+Styling - Backend - Main view - Right Sidebar 7 years 3 months ago #20448

  • Bluefox
  • Bluefox's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 4523
  • Thank you received: 493
JEM version: 2.1.5
Joomla: 3.4.6 - ISIS Template

Be aware that any changes will be overwritten by an update.

When you visit the main view you will notice on the sidebar a summary of events/venues/categories. It's even possible to add add a quick summary of popular events as hits are being stored but am going offtopic there :)

This is what you see:



The thing here is that the code for displaying the sliders is
JHtml::_('sliders.start'.......
JHtml::_('sliders.panel'........
JHtml::_('sliders.end');

an that's the way it was done in Joomla 2.x, it's ofcourse fine to do so as the code works. But the thing here is that the needed classes have been removed from Joomla 3.x and doing so there isn't much styling left. So you can consider to do 2 things: add the classes or just incorporate the new way.

The Joomla 3 way is to incorporate bootstrap Accordion
JHtml::_('bootstrap.startAccordion',.......
JHtml::_('bootstrap.addSlide', .......
JHtml::_('bootstrap.endSlide');......
JHtml::_('bootstrap.endAccordion');

And doing so it can be looking like:



Did attach the edited page so you can take a look.

================================================
The view can be styled more (tables to div, change layout of date within the sliders etc..) but it's just an example.
================================================

And with some added css you can even include some arrows so it will be looking like
(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, Hoffi

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

Last edit: by Bluefox.

J3+Styling - Backend - Main view - Right Sidebar 7 years 3 months ago #20450

  • jojo12
  • jojo12's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 3535
  • Thank you received: 400
will you show how to add the Joomla 3 sidebar - separately?
In your main it's not yet added.
EDIT:
the default.php thing can be done as override that will stay even after an update.
the problem is the view.html.php. There is no possibility to make an override.

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

Last edit: by jojo12.

J3+Styling - Backend - Main view - Right Sidebar 7 years 3 months ago #20453

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

add the Joomla 3 sidebar - separately?

guess you are talking about the left sidebar and yep that will be for another topic.
Actually it's not that difficult.
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3

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

  • Page:
  • 1
Time to create page: 0.534 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......