\makecvfooter undefined

Asked by Daniele

With the previous version, I redefine the makecvfooter in order to add an extraline on the footer. Now i receive the error:
error \makecvfooter undefined. \renewcommand*{\makecvfooter} . Thanks !

Question information

English Edit question
moderncv Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nick Trick (tricknick0711) said :

Hi Daniele,

the name of the command changed to "\makecvfoot" (moderncv-1.5.1).

% commands
        \vspace{\baselineskip}% forces a white line to ensure space between main text and footer (as footer height can't be known in advance)
          \ifthenelse{\equal{\@addresscity}{}}{}{\addtofoot[~--~]{\@addresscity}}% if \addresstreet is defined, \addresscity and \addresscountry will always be defined but could be empty
        \collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
          \addtofoot{\csname\collectionloopkey phonesymbol\endcsname\collectionloopitem}}%
        \collectionloop{socials}{% the key holds the social type (=symbol command prefix), the item holds the link
          \addtofoot{\csname\collectionloopkey socialsymbol\endcsname\collectionloopitem}}%
        \ifthenelse{\lengthtest{\footboxwidth=0pt}}{}{\flushfoot}% the lengthtest is required to avoid flushing an empty footer, which could cause a blank line due to the \\ after the address, if no other personal info is used

Revision history for this message
Daniele (df-santamaria87) said :

Yes, but after this correction I get the error "Undefined control sequence /vspace" on:

\section{\textbf{Personal Information} \label{persinf}}
                 \begin{center}\includegraphics[scale=0.65]{photo.jpg} \end{center}

Can you help with this problem?

Provide an answer of your own, or ask Daniele for more information if necessary.

To post a message you must log in.