comments tag ?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

comments tag ?

Post by passie »

hi there ( again :P )

is there a way to put a comment tag under a article, where people can comment or give a reaction on a atricle ?
and if so , is there also a tag like {last_comment}

i was searching on this forum but could not find it

greetz,


passie
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

you can set up a guestbook content part for this.
if the default template may look more than you need for this task just trim it down to only those parts you need :)
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

Post by passie »

strange solution :?
is this realy the only option ?

greetz,

passie
Pappnase

Post by Pappnase »

hello passie

use the guestbook / comment content part. then you can do that!
brans

Post by brans »

what is strange about that ?!? Just customize the template for the guestbook and you're gonna be able to have a preinstalled comments script as you see on many more pages...
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

try it and you will see it is not so strange: being called 'geust book' does sound imply specific role for it but it really is a flexible 'comment blogger' with a multitude of uses.
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

Post by passie »

Oke oke , easy now :wink:
I'm going to try it.
what about the second option like a tag with {last_comment} or is this something i also have to rebuild myself ?

and do you have a example of the guest book script/comment :D ?

damn what a questions , gna gna

greetz,

passie
Pappnase

Post by Pappnase »

hello passie

wich version did you use!? the latest!?

i sit there an write the a tutorial for thsi contentpart in german right now. later thsi eveneing (I hope) i will have this also in english at the docu site.
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

Post by passie »

yes i'm using the last one.
i'm not in a rush or something so i can wait 5 minutes..... :P

anyway when you have it i'm happy to use it

passie
Pappnase

Post by Pappnase »

hello

if you look into the default html file you will see also a short description of the default html. i done this yesterday i open it with an (wysiwyg) html editor. and then i edit it! maybe this info helps you too!

you will find the default html here:
phpwcms_template/inc_cntpart/guestbook/
Pappnase

Post by Pappnase »

hello

first sorry for open a new thread. :wink:

i only wanna inform you that i have finished the basic tutorial for the guestbook/comm. content part.

The template tutorial will follow also the editing of enries will come maybe tomorrow.

also sorry for my bad english there it will be correct in the next days.

http://docu.fhss.de/index.php?guestbook__comm
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

Post by passie »

Tnx for your help!!
maybe i'm not getting this right but....

for every aticle i have to create a seperate guestbook/comment with a higher ID nummer ?
this is not a good solution because the owner of the site has no clue at all on how to change/do this.

is there a way this is going to be there in a future RC ?

greetz,

Passie
Pappnase

Post by Pappnase »

passie wrote:Tnx for your help!!
maybe i'm not getting this right but....

for every aticle i have to create a seperate guestbook/comment with a higher ID nummer ?
this is not a good solution because the owner of the site has no clue at all on how to change/do this.

is there a way this is going to be there in a future RC ?

greetz,

Passie
hello

no you don't need this!

the alias id you only need if you wanna add the guestbook/comm. content part also on another place on your site! normally it can stay blank!

if you wann place the guestbook/comm. content part on several pages at you page. you create one time the guestbook/comm. content part and use this ARTICLE ID in as alias id in the other you create! so all can write in same guestbook/comm. content part. if you don't wanna do this create a new one! without alias id.

hope i explain it in this way that you have understand it!

:oops:
passie
Posts: 14
Joined: Fri 27. Aug 2004, 16:12
Location: Netherlands

Post by passie »

hmmm well i think it's me but, i have really no clue on what your meaning.
is there a way that you show me what you mean by a example $site ?


passie
brans

Post by brans »

ok example:

your page structure looks like this:
  • Home
    • ID: 1-German
      • ID: 3-Guestbook
    • ID: 2- English
      • ID: 4- Guestbook
Now you don't need two guestbooks but you want the visitors of the english part of your site to post into the same guestbook as the german ones, but you want the guestbook to have an english template.

Now you are able to create a guestbook in the german section and you create one in the english section. The one in the english has the alias ID 3 and so every user will post into the same guestbook but for the english ones it will look like an eglish guestbook and for the german ones it will look like a german guestbook.

If you don't need this feature to acces one guestbook from different parts of your site you can just create a new guestbook and leave the alias Id field blank. The result will be that you get a separated guestbook whereever you add a content part guestbook... So if you don't use the alias ID in my example:
the English won't see the german posts and the other way round the German won't see the english posts... but if you use the ID each other will see the posts of the foreigners ;)

You understood it now ?!?
Post Reply