help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

How to add and change headers in SimpleList

Re: How to add and change headers in SimpleList

7 years 3 days ago
#24669
Good evening, I need help please. I am looking for the file or table that I show in the picture. Thank you in advance for your help.
JEM 2.2.2 mit Joomla! 3.8.3 Stable
Apache PHP 7.1.7

Attachments:

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

Re: How to add and change headers in SimpleList

7 years 3 days ago
#24670
In the file view.html.php in com_jem/site/views/search/ line 135–142 (in JEM 2.2.2):


$continents[] = JHtml::_('select.option', '', JText::_('COM_JEM_SELECT_CONTINENT'));
$continents[] = JHtml::_('select.option', 'AF', JText::_('COM_JEM_AFRICA'));
$continents[] = JHtml::_('select.option', 'AS', JText::_('COM_JEM_ASIA'));
$continents[] = JHtml::_('select.option', 'EU', JText::_('COM_JEM_EUROPE'));
$continents[] = JHtml::_('select.option', 'NA', JText::_('COM_JEM_NORTH_AMERICA'));
$continents[] = JHtml::_('select.option', 'SA', JText::_('COM_JEM_SOUTH_AMERICA'));
$continents[] = JHtml::_('select.option', 'OC', JText::_('COM_JEM_OCEANIA'));
$continents[] = JHtml::_('select.option', 'AN', JText::_('COM_JEM_ANTARCTICA'));


Then:
  • In the language files you finde the corresponding continent names in your langage – create language overrides
  • in the DB table #__jem_countries you find the countries, which are loaded after the selection of a continent
Remember: changes in view.html.php are a core hack and will be replaced when updating JEM …
The following user(s) said Thank You: Farid

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

Re: How to add and change headers in SimpleList

7 years 3 days ago
#24671
Vielen Dank hekla für die schnelle und ausführliche Hilfe.
JEM 2.2.2 mit Joomla! 3.8.3 Stable
Apache PHP 7.1.7

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

Re: How to add and change headers in SimpleList

7 years 2 days ago - 7 years 22 hours ago
#24676
Now I have another question ...
Instead of going to this core hack, I could implement another solution. :whistle:
I would like to have a sort field in the calendar, in the search, that I can install in the respective event. This sort field should then be available as a selection field in the SimpleList search. The choice continent -> country I do not need and would like to "hide".

Could I express myself understandably?

Thank you in advance.

Nun habe ich eine weitere Frage...
Anstatt diesen Kern-Hack vorzunehmen, möchte ich doch lieber eine andere Lösung umsetzen. :whistle:
Ich möchte in dem Kalender, in der Suche, ein Sortierfeld haben, welches ich extra in der jeweiligen Veranstaltung einbauen kann. Dieses Sortierfeld sollte dann in der Suche der SimpleList als Auswahlfeld zur Verfügung stehen. Die Auswahl Continent -> Land brauche ich nicht und würde diese gerne "verstecken".

Konnte ich mich verständlich ausdrücken?

Vielen Dank schon mal im Voraus.
JEM 2.2.2 mit Joomla! 3.8.3 Stable
Apache PHP 7.1.7
Last edit: 7 years 22 hours ago by Farid.

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

Re: How to add and change headers in SimpleList

7 years 2 days ago
#24677
this is an english forum. Please try it. You can reach more people with this.
Please try yourself to find such special ideas. And then share your solution.When somebody sees your trials, he is more willing to help. sorry.

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

Re: How to add and change headers in SimpleList

6 years 11 months ago
#24752
Now I have managed to insert a new sortable column. Unfortunately, I do not find the way to create the content of this column in the backend. In the "Updated on" column, a date should be entered in the backend that is visible in the frontend.
JEM 2.2.2 mit Joomla! 3.8.3 Stable
Apache PHP 7.1.7

Attachments:

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

Time to create page: 0.864 seconds