The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Moving objects on the Front Page

  • Mark7801
  • Onderwerp Auteur
  • Offline
  • Senior lid
  • Senior lid
Meer
13 jaren 1 dag geleden #648 door Mark7801
Moving objects on the Front Page werd gestart door Mark7801
Hi,
I'd like to move the language drop box and lables to the right side of the title bar. It floats to the far left if I don't use a left side logo. I can't seem to find the position information fix the position. Can you give me an idea where I can find this info and maybe a suggestion of how I can do it.
Thanks for your help!
Mark

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
13 jaren 1 dag geleden #649 door tom
Beantwoord door tom in topic Moving objects on the Front Page
The login form is ceated by the call to display_language_selectionform("general") at line 210 in index.php. That function is implemented in website_code/language_library.php

The argument (general) refers to a css class (from website_code/styles/frontpage.css).

You could copy the css class, and all the modified css class on line 210.

One of the things I have on my list is to move the langaueg selection box to where is is when you are logghed in, i.e. above the login box.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Mark7801
  • Onderwerp Auteur
  • Offline
  • Senior lid
  • Senior lid
Meer
12 jaren 10 maanden geleden #807 door Mark7801
Beantwoord door Mark7801 in topic Moving objects on the Front Page
Hi Tom,
I'm finally getting back to this task. I was able to locate the the information on line 210 in index.php as well (Topbar). The language is positioned at the top left of my header (topbar). I'm trying to reposition it to the top of the login box (m_b_d_2_child) or better yet the right side of the title area(mainbody/title). Can you give me some suggestions how much to copy (line 208 - 210? or the whole div class from 207 to 216?) and where/how to place the code from index.php and position it somewhere else?
Thanks
Mark

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 10 maanden geleden #812 door tom
Beantwoord door tom in topic Moving objects on the Front Page
I was wrong. It's not in the index.php file. That's the language selection box, AFTER loging in.

The language selection of the login page is in website_code/php/login_library.php at lines 206-208. It is already positioned in the topbar, and you can change the second parameter a class name, add the class to css, and position the box to the right.
De volgende gebruiker (s) zei dank u: Mark7801

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Mark7801
  • Onderwerp Auteur
  • Offline
  • Senior lid
  • Senior lid
Meer
12 jaren 10 maanden geleden #850 door Mark7801
Beantwoord door Mark7801 in topic Moving objects on the Front Page
Thanks Tom
I was able to get it where I wanted. Simple fix really...when you know what your doing lol
Thanks again
Mark

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: JohnSmith
Tijd voor maken pagina: 0.154 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo