Keyword

Front end Report or feedback with my visitors

  • Daniel Garcia
  • Daniel Garcia's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago #140818 by Daniel Garcia
Front end Report or feedback with my visitors was created by Daniel Garcia
Greetings

I'm trying to implement a Report button on my site, I'm working on a site which has videos embedded from another source and sometimes this videos get deleted, I want to set up a button where the user could press and then i would see on my admin panel somehow which videos have been reported as broken or offensive, so i can delete them from the list.

ill look at any tip u can point me, i have medium php skills, also I'm open to any other component i could adapt to serve this purpose.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #140821 by Krikor Boghossian
Replied by Krikor Boghossian on topic Front end Report or feedback with my visitors
You can include a module position in your item.php overrides and use it to embed a form module. You can check out ChronoForms and this tutorial from JoomReem www.joomreem.com/joomla-developer-s-tips-and-tricks/item/55-k2-integration-with-chronoforms.html#.VNvfZubF-So

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Daniel Garcia
  • Daniel Garcia's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago #140822 by Daniel Garcia
Replied by Daniel Garcia on topic Front end Report or feedback with my visitors
thx thats exactly what i was planing to do but i was gonna use "SP Quick Contact" place it on the item.php with modules anywhere but... it will arrive to me via email its a bit messy but it works. thx for the tip im gonna try to implement that.

Please Log in or Create an account to join the conversation.

  • Daniel Garcia
  • Daniel Garcia's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago - 9 years 7 months ago #140823 by Daniel Garcia
Replied by Daniel Garcia on topic Front end Report or feedback with my visitors
I figured it up so i deleted thismessage thx
Last edit: 9 years 7 months ago by Daniel Garcia.

Please Log in or Create an account to join the conversation.

  • Daniel Garcia
  • Daniel Garcia's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago #140825 by Daniel Garcia
Replied by Daniel Garcia on topic Front end Report or feedback with my visitors
Did everything as the turtorial shows but it gives me this error
Fatal error: Call to undefined function process() in /home/content/40/11997640/html/MainSite/rush/components/com_k2/templates/Hour/item.php on line 76

In my Item.php
<?php

defined('_JEXEC') or die;

if(file_exists(JPATH_SITE.DS.'components'.DS.'com_chronoforms'.DS.'chronoforms.html.php') && file_exists(JPATH_SITE.DS.'components'.DS.'com_chronoforms'.DS.'libraries'.DS.'chronoform.php')){	
	require_once(JPATH_SITE.DS.'components'.DS.'com_chronoforms'.DS.'chronoforms.html.php');
	require_once(JPATH_SITE.DS.'components'.DS.'com_chronoforms'.DS.'libraries'.DS.'chronoform.php');
}

?>


and

<div class="itemVideoBlock">
   <?php
   process('report');
   HTML_ChronoForms::processView($form);

   $javascript = '$K2(document).ready(function(){
		$K2("input[name=Item_Name]").val("'. $this->item->title.'");		
   })';
   $document = JFactory::getDocument();
   $document->addScriptDeclaration($javascript);
   ?>.....

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #140842 by Lefteris
Replied by Lefteris on topic Front end Report or feedback with my visitors
@Daniel Garcia

I suggest to ask at ChronoForms support regarding integration with K2. The blog post you read might contain outdated code or might be written for an older version of this extension.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum