×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Questions about new "docman" plugin...

Questions about new "docman" plugin... 15 years 2 months ago #2656

  • Silvena Ralinova
  • Silvena Ralinova's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi,
I'm using !Joomlacomments 3.26 for some articles on my web page and I'm really glad of using this component.
I want to use it also in my gallery (JoomGallery by JoomGallery, ProjectTeam). So I find the com_REPLACEnewplugin.zip and I took a look at the folder ...\administrator\components\com_comment\plugin.

1. I made a copy of com_docman, renamed it to com_joomgallery. In the admin panel I have com_joomgallery as option for new content, so I think this item is correct?!
2. I replaced "docman" in the filenames with "joomgallery". But I didn't replaced anything in the code yet .

My question now is about the new created josc_com_joomgallery_item(doc).php file.
There is written:
/*
* include the following instructions :


..... OK I'll include them, but where should be this file:

* at the end of the following file :
* components/com_docman/themes/.../templates/documents/list_item(document).tpl.php
*
* HTML part of the code can be changed ! according to the theme...
*/


Somewhere in my default template? I'm using ja_purity (lighter).
I'll appreciate any help, thanks. :unsure:

Questions about new "docman" plugin... 15 years 2 months ago #2657

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
This should be somewhere in the html output of joomGallery. Look in the com_joomgallery folder for something ending with html.php or something like this.

Questions about new "docman" plugin... 15 years 2 months ago #2660

  • Silvena Ralinova
  • Silvena Ralinova's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Yeeeeee,
that worked :lol: :laugh:
I'm so happy, I have the link loading to write comments!!!!
:side: Lov ya!
Now, I'll work out on the queries and will keep u informed. THANKS!!!

Questions about new "docman" plugin... 15 years 2 months ago #2664

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Great, when you are ready, perhaps you will be so kind to give us the plugin :)

Questions about new "docman" plugin... 15 years 2 months ago #2686

  • Silvena Ralinova
  • Silvena Ralinova's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Of course I will be so kind to give u the plugin, when it is ready... if it is ready...
but, let's see...
I was just about to ask some questions about the queries, when i saw one warning.
I restored the code to the point from yesterday, but it is still there. It says:
Warning: Invalid argument supplied for foreach() in .../htdocs/.../libraries/joomla/html/html/select.php on line 68
and is showing up here:

Any ideas? :blink:

Questions about new "docman" plugin... 15 years 2 months ago #2725

  • Silvena Ralinova
  • Silvena Ralinova's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi,
I worked on my queries and I have something like that:

And that warning disappeared.
But I have some other problems... :(
My readon is visible in all the Itemid content, on the top of the page. Not after the images.
:unsure:

Questions about new "docman" plugin... 15 years 2 months ago #2781

  • Silvena Ralinova
  • Silvena Ralinova's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
ooou yeah,
I find it....B)
wrong was my document id:
document id by default:
$id = isset($row->id) ? $row->id : 0; /* document id */
new id
$id = mosGetParam( $_REQUEST, "id");

Yeah, that was the best part of my day!!! :silly: :laugh: :silly:
I'm going home to make some other changes.

:kiss:
  • Page:
  • 1
Time to create page: 0.155 seconds