A dye-sensitized solar cell comprising: - a porous isolating substrate (10;30) having a first surface and a second surface, - a first porous layer comprising conducting particles printed on the first surface of the porous isolating substrate to form a conductive layer, - a second porous layer comprising conducting particles printed on the second surface of the porous isolating substrate to form a conductive layer, whereby the porous isolating substrate (4;10;30) is disposed between the first and second layers, - a third porous layer comprising light absorbing dye molecules deposited on the first layer, - a charge transfer medium for transferring charges between the third and second layers, - a first connection element disposed at an end of the first porous layer for connecting the first porous layer to an external electric circuit, and - a second connection element disposed at an end of the second porous layer for connecting the second porous layer to the external electric circuit, characterized in that each of the porous layers comprise a printed pattern including at least one non-transparent portion (24,25,26) and at least one transparent portion (20,21,22) and the porous isolating substrate comprises at least one transparent portion, whereby said transparent portions of the porous layers and said transparent portion of the porous isolating substrate are positioned relative to each other so they form at least one continuous transparent pathway through the solar cell, and each of the printed patterns is designed so that said at least one non-transparent portion at least partly surrounds said at least one transparent portion (20,21,22), and the printed pattern of the first porous layer is designed so that said at least one non-transparent portion is in direct electrical contact with the first connection element and the printed pattern of the second porous layer is designed so that said at least one non-transparent portion is in direct electrical contact with the second connection element. - a porous isolating substrate (10;30) having a first surface and a second surface, - a first porous layer comprising conducting particles printed on the first surface of the porous isolating substrate to form a conductive layer, - a second porous layer comprising conducting particles printed on the second surface of the porous isolating substrate to form a conductive layer, whereby the porous isolating substrate (4;10;30) is disposed between the first and second layers, - a third porous layer comprising light absorbing dye molecules deposited on the first layer, - a charge transfer medium for transferring charges between the third and second layers, - a first connection element disposed at an end of the first porous layer for connecting the first porous layer to an external electric circuit, and - a second connection element disposed at an end of the second porous layer for connecting the second porous layer to the external electric circuit, characterized in that each of the porous layers comprise a printed pattern including at least one non-transparent portion (24,25,26) and at least one transparent portion (20,21,22) and the porous isolating substrate comprises at least one transparent portion, whereby said transparent portions of the porous layers and said transparent portion of the porous isolating substrate are positioned relative to each other so they form at least one continuous transparent pathway through the solar cell, and each of the printed patterns is designed so that said at least one non-transparent portion at least partly surrounds said at least one transparent portion (20,21,22), and the printed pattern of the first porous layer is designed so that said at least one non-transparent portion is in direct electrical contact with the first connection element and the printed pattern of the second porous layer is designed so that said at least one non-transparent portion is in direct electrical contact with the second connection element.