I have got the Guestbook working however when I change the parameters for the menu item they have no effect on the Guestbook e.g. setting it to display the form at the bottom etc. I change the parameter and save or apply it then refresh the page - no change! The parameter is changed in the menu if I go out and in but there is no effect on the behaviour.
I did note that there are two very similar directories - only one with a non-empty default.php
/phocaguestbook/tmpl/default.php 14kb
/phocaguestbooki/tmpl/default.php 0kb
May be irrelevant.
Also I would like to remove the Title and Email fields from the form - the only help I found said to remove numbered rows from default.php which is fine but if I remove those rows the balance of the file row numbers will change so I don't know which lines to actually change. It would help if the content of the rows to remove was listed.
Graham
Canged Parameters having no effect
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Canged Parameters having no effect
Hi, you can remove the title and email in parameters, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
Jan
https://www.phoca.cz/documents/16-joomla ... -in-joomla
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 08 Jul 2010, 09:23
Re: Canged Parameters having no effect
I have set the component parameters to remove these items from the form and place the form at the bottom of the comments but the changes have no effect on the way the guestbook displays. I am using a Rochen hosted Joomla site and the module installed without any warnings so I am at a loss.
Could it be because I am calling the Guestbook from within content rather than directly from a menu? It is on a hidden menu and is called by a link in a page. I think I will try putting it on the main menu and report back.
Well - that worked - when I moved the Guestbook to the main menu it worked as expected, when I put it back on the hidden menu (called from a link in an article) it used the default settings! Looks like a bug.
Any suggestions?
Could it be because I am calling the Guestbook from within content rather than directly from a menu? It is on a hidden menu and is called by a link in a page. I think I will try putting it on the main menu and report back.
Well - that worked - when I moved the Guestbook to the main menu it worked as expected, when I put it back on the hidden menu (called from a link in an article) it used the default settings! Looks like a bug.
Any suggestions?

- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Canged Parameters having no effect
Hi, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
Settings in Joomla! needs to have an itemid (so the itemid should not be unpublished, you can unpublish the whole group)
https://www.phoca.cz/documents/16-joomla ... -in-joomla
Settings in Joomla! needs to have an itemid (so the itemid should not be unpublished, you can unpublish the whole group)
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 08 Jul 2010, 09:23
Re: Changed Parameters having no effect
I haven't explained properly - there is a menu called 'hidden' which is published and it contains 4 items - one of which is the guestbook which is also published - there is only 1 guestbook - id=1.
Within the front page there is a call
<a href="index.php?option=com_phocaguestbook&view=phocaguestbook&id=1" title="Please click here to read and leave comments in our Guest Book">Please click here to read and leave comments in our Guest Book.</a>
This produces a Guestbook page using default values. If I change the menu item guestbook to be a member of the 'Main Menu' rather than 'hidden' all the parameters work.
The menu 'hidden' is not displayed on the front page, it is a placeholder for sub pages which are called by inline calls like that above.
The website is www.lilacbank.co.uk and you can see the default style Guestbook.
Graham
Within the front page there is a call
<a href="index.php?option=com_phocaguestbook&view=phocaguestbook&id=1" title="Please click here to read and leave comments in our Guest Book">Please click here to read and leave comments in our Guest Book.</a>
This produces a Guestbook page using default values. If I change the menu item guestbook to be a member of the 'Main Menu' rather than 'hidden' all the parameters work.
The menu 'hidden' is not displayed on the front page, it is a placeholder for sub pages which are called by inline calls like that above.
The website is www.lilacbank.co.uk and you can see the default style Guestbook.
Graham
-
- Phoca Newbie
- Posts: 7
- Joined: 08 Jul 2010, 09:23
Re: Canged Parameters having no effect
Has anyone else seen this effect? If I cannot overcome it I will need to use a different Guestbook solution.
Graham
Graham
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Canged Parameters having no effect
Hi, the problem is, your link does not include Itemid like other links. Settings are made by Itemids in Joomla! see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
https://www.phoca.cz/documents/16-joomla ... -in-joomla
So you need to copy the link with included Itemid (ID of the menu link which is stored in hidden menu group)
Your link:
... index.php?option=com_phocaguestbook&view=phocaguestbook&id=1
Needed link:
... index.php?option=com_phocaguestbook&view=phocaguestbook&id=1&Itemid=SomeNumberOfMenuLink
like e.g. for menu link food on your site:
... index.php?option=com_content&view=article&id=3&Itemid=3
Jan
https://www.phoca.cz/documents/16-joomla ... -in-joomla
https://www.phoca.cz/documents/16-joomla ... -in-joomla
So you need to copy the link with included Itemid (ID of the menu link which is stored in hidden menu group)
Your link:
... index.php?option=com_phocaguestbook&view=phocaguestbook&id=1
Needed link:
... index.php?option=com_phocaguestbook&view=phocaguestbook&id=1&Itemid=SomeNumberOfMenuLink
like e.g. for menu link food on your site:
... index.php?option=com_content&view=article&id=3&Itemid=3
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 08 Jul 2010, 09:23
Re: Canged Parameters having no effect
You were abosolutely correct - my misunderstanding. 

- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Canged Parameters having no effect
Ok
If you find Phoca extensions useful, please support the project