How to put an image in the front tables

Phoca Guestbook - creating guestbooks in Joomla! CMS
PAUSIMS
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Jul 2009, 16:59

How to put an image in the front tables

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to put an image in the front tables

Post 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 :(
If you find Phoca extensions useful, please support the project
PAUSIMS
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Jul 2009, 16:59

Re: How to put an image in the front tables

Post 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 :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to put an image in the front tables

Post by Jan »

components\com_phocaguestbook\assets\phocaguestbook.css
If you find Phoca extensions useful, please support the project
PAUSIMS
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Jul 2009, 16:59

Re: How to put an image in the front tables

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to put an image in the front tables

Post by Jan »

Hi, see:

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

Jan
If you find Phoca extensions useful, please support the project
PAUSIMS
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Jul 2009, 16:59

Re: How to put an image in the front tables

Post by PAUSIMS »

Thanks for your answer. I'll try to edit this file ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48706
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to put an image in the front tables

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply