Page 1 of 1

How to put an image in the front tables

Posted: 30 Jul 2009, 17:06
by PAUSIMS
Hello,

First of all I want to apologise if there's already another post asking the same question as me, I tried to search and I didn't see it.

What i'd like is to put an image as background in the title bar of every entry in the guestbook.

I suppose the file to edit is under /front/views/phocaguestbook/tmpl/default.php, but as I nearly don't know PHP ( :x ) I need someone to place the line I have to edit for me, please.

Thanks in advance :)

Pau

Re: How to put an image in the front tables

Posted: 31 Jul 2009, 23:32
by Jan
Hi, maybe you should do it via CSS, but I didn't do such modifications, so I don't know what exactly should be changed :(

Re: How to put an image in the front tables

Posted: 01 Aug 2009, 11:58
by PAUSIMS
Hi, thanks for your answer.

I'm pretty sure this could be made via CSS, but is there any css with the component? I'm unable to find it, even with the Spotlight (Mac search).

If is there any CSS, please someone can help me to find it?

Thanks :)

Re: How to put an image in the front tables

Posted: 01 Aug 2009, 19:10
by Jan
components\com_phocaguestbook\assets\phocaguestbook.css

Re: How to put an image in the front tables

Posted: 02 Aug 2009, 09:44
by PAUSIMS
You're right, there's a CSS in this direction. However, I'm pretty sure that there's no way to change the background from there, in the CSS file there's anything pointing to this title bar.

I think that's because from the backend the admin can change the colour, so there must be a PHP file where is located all the code in order to work the admin selection of colour. That file must be the one to edit and to add an image as background... but I'm absolutely lost and I don't know how to edit that neither which file is.

If someone knows that, I'd agree his/her answer :)

And anyway, thanks Jan for your answer.

Re: How to put an image in the front tables

Posted: 04 Aug 2009, 00:36
by Jan
Hi, see:

components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php

Jan

Re: How to put an image in the front tables

Posted: 04 Aug 2009, 09:53
by PAUSIMS
Thanks for your answer. I'll try to edit this file ;)

Re: How to put an image in the front tables

Posted: 06 Aug 2009, 16:18
by Jan
Ok