Mysql connection to Roundcube

Asked

Viewed 116 times

0

Roundcube is a free software Webmail.

I need to implement an HTML class for connecting Roundcube to a Mysql database.

I have a file that is on the skin/Larry/template/login.html, the idea was to change the login page. Already ecrevir the whole page. Now I’m not sure how the roundcube already connects to the database. Which functions should I use.

  • 1

    What have you done? Post there. Have any specific questions? Class in HTML to connect with Mysql? Are you sure?

1 answer

1


Man, I think you’re a little confused.. There is no "HTML class", HTML is a markup language only, it serves to define and display the site in the browser, to make a connection to a database you need a programming language, in this case, PHP (the language in which Roundcube is made).

In the case you mentioned they seem to use a template language to render the system pages, analyzed the page you quoted, I saw that the form is created in this excerpt:

<roundcube:form name="form" method="post">
<roundcube:object name="loginform" form="form" size="40" submit=true />
</form>

I don’t know which template language is being used, but taking a quick look I deduced that is calling this method:

protected function login_form($attrib)

In the archive: program/include/rc_mail_output_html.php

In short: You can use the HTML above to display the login form in a custom template, now to customize the form itself, or change the function that is running in the form Submit is already something much more complicated.

Maybe you should look for documentation on the Roundcube site itself, or contact them to find out how to better customize your own template.

  • Matheus this roundcube:form and roundcube:Bject call that I’m not getting where you’re calling from.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.