Frontend edit not working + 2 more

Phoca Guestbook - creating guestbooks in Joomla! CMS
tobias_conrad
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 11 Jul 2013, 12:37

Frontend edit not working + 2 more

Post by tobias_conrad »

A: after update to 3.01 no modaration icons are shown.
also not if user is superadmin
3.01 joomla 3.2
demergo.de/meinungen
---

B: Email is temporary disabled on this website
this message "Email is temporary disabled on this website" occurs after submitting a post.
i override it, but what is the sence of it?
3.01 joomla 3.2


---
C: Howto: Publish comment after comment is activated by moderator.
could the comment + comment "activation" link be included in an modarator email?
3.01 joomla 3.2

---
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend edit not working + 2 more

Post by Jan »

Hi, thank you for this info

A) I see no problem there:
Image
But maybe there will be some design problem (I will test if there is no bootstrap conflict :idea: ). If I will find some conflict, I will set in in new version.

B) check your email settings - seems like Phoca Guestbook is trying to send email per Joomla! email feature but it is not allowed :idea:

C) for now this needs to be customized - even if you have the link, you should login, etc. so not sure if the direct link is the solution :idea:

Jan
If you find Phoca extensions useful, please support the project
tobias_conrad
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 11 Jul 2013, 12:37

Re: Frontend edit not working + 2 more

Post by tobias_conrad »

C) Where is the option: view after activation by moderator?

Thank you for you help.

PS:
A) no buttons if bootstrap is disabled
B) if i use "smtp.demergo.de" instead of "localhost" it is sending emails
C) i was thinking of a link which does the login and the activation.
like akeeba oneclick update links: [link with token to administration]
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend edit not working + 2 more

Post by Jan »

C) added in feature request list but not sure when or if I will find time to look at it.
B) so this means, you need to set SMTP to be able to send mails on your server (in fact this is standard)

A) for the next version I will try to add some additional classes for the buttons, to be sure, they will be displayed in all possible situations.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend edit not working + 2 more

Post by Jan »

Hi, try to open:
components\com_phocaguestbook\views\guestbook\tmpl\default_post.php
and set FROM:

Code: Select all

if ($this->params->get('access-state')) : 
			if ($values->published==1) :?>
				<a href="<?php echo JRoute::_('index.php?option=com_phocaguestbook&task=phocaguestbook.unpublish&id='.$this->guestbooks->id.'&Itemid='.JRequest::getVar('Itemid', 0, '', 'int').'&controller=phocaguestbook&mid='.$values->id.'&start='.$this->pagination->limitstart)?>" title="<?php echo JText::_('COM_PHOCAGUESTBOOK_UNPUBLISH');?>" class="btn hasTooltip">
				<i class="glyphicon glyphicon-remove-sign icon-remove-sign"></i></a>
			<?php else:  ?>
				<a href="<?php echo JRoute::_('index.php?option=com_phocaguestbook&task=phocaguestbook.publish&id='.$this->guestbooks->id.'&Itemid='.JRequest::getVar('Itemid', 0, '', 'int').'&controller=phocaguestbook&mid='.$values->id.'&start='.$this->pagination->limitstart)?>" title="<?php echo JText::_('COM_PHOCAGUESTBOOK_PUBLISH');?>" class="btn hasTooltip">
				<i class="glyphicon glyphicon-ok-sign icon-ok-sign"></i></a>
			<?php endif; ?>
TO:

Code: Select all

		if ($this->params->get('access-state')) : 
			if ($values->published==1) :?>
				<a href="<?php echo JRoute::_('index.php?option=com_phocaguestbook&task=phocaguestbook.unpublish&id='.$this->guestbooks->id.'&Itemid='.JRequest::getVar('Itemid', 0, '', 'int').'&controller=phocaguestbook&mid='.$values->id.'&start='.$this->pagination->limitstart)?>" title="<?php echo JText::_('COM_PHOCAGUESTBOOK_UNPUBLISH');?>" class="btn">
				<i class="glyphicon glyphicon-remove-sign icon-remove"></i></a>
			<?php else:  ?>
				<a href="<?php echo JRoute::_('index.php?option=com_phocaguestbook&task=phocaguestbook.publish&id='.$this->guestbooks->id.'&Itemid='.JRequest::getVar('Itemid', 0, '', 'int').'&controller=phocaguestbook&mid='.$values->id.'&start='.$this->pagination->limitstart)?>" title="<?php echo JText::_('COM_PHOCAGUESTBOOK_PUBLISH');?>" class="btn">
				<i class="glyphicon glyphicon-ok-sign icon-ok"></i></a>
			<?php endif; ?>
and let me know (the icons should be displayed)

Jan
If you find Phoca extensions useful, please support the project
tobias_conrad
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 11 Jul 2013, 12:37

Re: Frontend edit not working + 2 more

Post by tobias_conrad »

no icons.
Also the style of the fields without bootstrap is not nice.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend edit not working + 2 more

Post by Jan »

Hmm then really no idea, there is a class for bootstrap 2 and bootstrap 3 - testing on different servers and see no problem.

Try to see the html code of the post, if the links are at least there (becasue there can be two problems: design issue - or system issue - no icon+links loaded) :idea:

Jan
If you find Phoca extensions useful, please support the project
tobias_conrad
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 11 Jul 2013, 12:37

Re: Frontend edit not working + 2 more

Post by tobias_conrad »

http://www.demergo.de/meinungen
i sent you login via email, because i also you bootstrap version.
But there is may a problem with the style on this page when bootstrap is activ.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend edit not working + 2 more

Post by Jan »

Hi, if I disable on the page the following css:
/templates/20130629a2/css/template.css
everything is OK (use e.g. firebug to disable the style)

not sure what exactly is in the template.css (there can be e.g. bootstrap 3, or other overriding classes)
If you find Phoca extensions useful, please support the project
Post Reply