There are several questions involved:
How do I create the title page? At the moment, I am stuck with the folloing:
% Title page
\defbeamertemplate*{title page}{myClass}
{
\thispagestyle{empty}
\vspace{-0.5cm}
\begin{figure}
\begin{minipage}[t!]{0.5\linewidth}
\includegraphics[width=0.8\linewidth]{Image1}
\end{minipage} \hfill
\begin{minipage}[t!]{0.3\linewidth}
\hfill
\includegraphics[width=0.8\linewidth]{Image2}
\end{minipage}
\end{figure}
\vspace{3 mm}
{ % Title
\usebeamerfont{title}
\usebeamercolor[fg]{title}
\inserttitle \\
}
{ % Subtitle
\ifx
\insertsubtitle \@empty
\else
\vskip 0.4em
\usebeamerfont{subtitle}
\usebeamercolor[fg]{title}
\insertsubtitle \par
\fi \par \vfill
}
{ % Author
\usebeamerfont{author}
\usebeamercolor{normal text}
\insertauthor \\
}
{ % Date
\usebeamerfont{author}
\usebeamercolor{normal text}
\insertdate \\
}
}
Problem: Depending on what the user enters, the whole layout is broken easily. How can I assign fixed boxes wherein the text adapts automatically.
The frame title This is the code at present:
% Frame title
\defbeamertemplate*{frametitle}{myClass}
{
\begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,wd=\paperwidth]{}
\usebeamerfont*{frametitle}
\usebeamercolor[fg]{frametitle}
\raisebox{0.3em}{\insertframetitle}
\hfill
\includegraphics[width=0.2\linewidth, height=\paperheight, keepaspectratio]{Image2}
\end{beamercolorbox}
}
Problem: The frame title text should adapt automatically within a confined area without compromising the logo position.
beamercolorbox
(like you are already doing for the frametitle). Carefully read the chapter in the beamer manual (12.5). There is for example an height option to set a fixed height of the box. Although I don't think it is a good idea to make the elements on the title page of fixed height and therefore limit for example the length of the title and subtitle to one line. Your design should adapt in that case.\vbox to 0pt {My Element with unknown height}\vspace{2em}
. Maybe that is helpful in your case.