OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Advertisement Board component Support
Go to bottom Favoured: 0
TOPIC: add new ads does not work properly
#6947
Akela (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
add new ads does not work properly 3 Years, 10 Months ago Karma: 0  
Good morning support, I installed the free version of advertisment board in joomla 3 to look how it works before buying. When adding an ad the buttons under the description field "Article", "Page break" and "Read more" are not working. e.g. If klicking on the button "Article" the link sends me to my files in the admin backend? Is it possible to remove these three icons? Thanks for help. see at www.neu.dsny-eltern.org/index.php?option...ement&Itemid=115
for better understanding
 
Logged Logged  
 
Last Edit: 2013/02/06 12:12 By Akela.
  The administrator has disabled public write access.
#6966
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:add new ads does not work properly 3 Years, 10 Months ago Karma: 61  
Hello,

For hide in Adsvertisment board in editor in frontend buttons: "Article", "Page break" and "Read more"
You need go to file:
{yours site}/components/com_advertisementboard/advertisementboard.html.php

find row look like:
Code:

          editorArea( 'editor1',  $row->comment, 'comment', '410', '200', '60', '10') ;

and replace to
Code:

          editorArea( 'editor1',  $row->comment, 'comment', '410', '200', '60', '10',false) ;


also you need open file
{yours site}/administrator/components/com_advertisementboard/compat.joomla1.5.php

find code
Code:

                                function editorArea($name, $content, $hiddenField, $width, $height, $col, $row) {
                                        jimport( 'joomla.html.editor' );
                                        $editor = JFactory::getEditor();
                                        echo $editor->display($hiddenField, $content, $width, $height, $col, $row);



and replace to
Code:

                                function editorArea($name, $content, $hiddenField, $width, $height, $col, $row,$option=true) {
                                        jimport( 'joomla.html.editor' );
                                        $editor = JFactory::getEditor();
                                        echo $editor->display($hiddenField, $content, $width, $height, $col, $row,$option);



Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#6976
Akela (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:add new ads does not work properly 3 Years, 10 Months ago Karma: 0  
Thank you very much
 
Logged Logged  
  The administrator has disabled public write access.
#6981
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:add new ads does not work properly 3 Years, 10 Months ago Karma: 61  
Hello,

You may vote for us on joomla.org and write excellent review

If you will have some other errors or questions please write.

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?