a complete example makes it easier to help!

\documentclass[openany]{book}
\usepackage{listings}
\AtBeginDocument{%
  \renewcommand\lstlistingname{My Listing}
  \renewcommand\thelstlisting{\thesection.\arabic{lstlisting}}}

\begin{document}

\lstlistoflistings

\chapter{dummy}
\section{More dummy}

\begin{lstlisting}[caption=bar]
 foo
\end{lstlisting}

\end{document}


Herbert

How to change the formating of the title of a "Listing" from roman to arabic?
I'm trying to extend the core AccountController.php -> app/code/core/Mage/Customer copied it to app/code/local/Mage/ and add a log to see which extends properly.

In the file AccountController.php (app/code/local/Mage/Customer/controllers)
...
...
public function createPostAction() {
        Mage::log('In app/code/local/Mage/', null, 'test.log', true);
...
...

AND CORE (only test)
In the file AccountController.php (app/code/core/Mage/Customer/controllers)
...
...
public function createPostAction() {
        Mage::log('In app/code/core/Mage/', null, 'test.log', true);
...
...


And does not go through code/local/ Mage but by CORE. I need to configure something or it fails?

So I created a separate module following this tutorial: http:// aqpredict.com/blog/overriding-account-contoller-magento/ does not work.

anyone has an example of this, thanks.
