Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Profile for jryan

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 12:32
  • Posts: 3
  • Profile Views: 2597
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
Follow Up:

Sort By Hack
In addition to adding the description value to the arrays above the order by looks to make sure the text matches a pre defined list or it defaults to the dmname field.

In the File [/var/www/sitename]/administrator/components/com_joomdoc/classes/DOCMAN_utils.class.php

Line 1763:
Add the switch statement for the line:

case 'description' : $ordering = 'd.dmdescription';
break;



Remove Buttons Hack
www.artio.net/support-forums/support-for...an-2/download-button

Keep simple buttons plug-in enabled.

You can enable the button you want the title to use or delete/comment out the switch towards the top of the page list_item.tpl.php around line 179 for dm_name and possibly dm_icon/dm_thumb.


Open /components/com_joomla/views/themes/default/templates/documents/list_item.tpl.php

Around line 309 there is a <div class="dm_taskbar">......</div>

Either delete the entire div open to close or comment out the include line that calls the buttons.
tabular llook for Do ...
Category: JoomDOC
emo
Keep simple buttons plug-in enabled.

You can enable the button you want the title to use or delete/comment out the switch towards the top of the page list_item.tpl.php around line 179 for dm_name and possibly dm_icon/dm_thumb.


Open /components/com_joomla/views/themes/default/templates/documents/list_item.tpl.php

Around line 309 there is a <div class="dm_taskbar">......</div>

Either delete the entire div open to close or comment out the include line that calls the buttons.
Download button
Category: JoomDOC
emo
I am in the process of creating the tabular style. I am interested in these items appearing in the list:
1) Icon
2) Name with "new!" and "Hot" spans.
3) Description
4) Update Date

I edited JoomDocs GUI config until these appeared.

Create The Row Structure
To accomplish the row structure, use CSS and the float:left in the class for each item. This will create the row structure for each item. I also changed the text appearance.

The CSS File is stored in [var/www/sitename]/components/com_joomdoc/views/themes/default/css/theme.css

Add the following code:

.dm_icon{
clear:both;
float:left;
}
.dm_name{
float:left;
width:325px;
}
.dm_description{
float:left;
background-color:transparent;
 
color: #000000;
display: block;
font-family: "Times New Roman",Georgia,serif;
font-weight: normal;
text-align: left;
text-decoration: none;
margin-left:250px;
}
.dm_taskbar{
float:left;
}
 
 

I did not add cells, but simply wanted the list to show each item. (I may change this later).

Add Numbering
Next you will have to add the numbering php to the output page. The file output for each item in the display page is [var/www/sitename]/components/com_joomdoc/views/themes/default/templates/documents/document.tpl.php

In here you can add a counter that will display each item, or you could display the row id of the jos_joomdoc table.

In the CSS you would simply create a class and then assign it to the DIV element created for the number.

.dm_number{
float:left;
}


At the bottom of document.tpl.php there is a clear div. You could also a line here for a more table like effect.

Button Hack
If you disable the download button or the buttons altogether, then the name doesn't link to the document. I have read in the past week a way to fix this and I am currently investigating.

Sort By Hack
To Sort by additional fields (Description) you will need to create the link. This is what I am currently working on and will post when I have an answer.

So far I have made chagnes in the following files:

/components/com_joomdoc/helpers/documents.php
/components/com_joomdoc/views/themes/default/language/english.php
/components/views/themes/default/documents/list_order.tpl.php

If you add to the other order by items it should work. There is also a missing | separator on the Hits sort link.

For the Sort By Hack, I am looking for the call to the database to change the sortby to the field dmdescription
tabular llook for Do ...
Category: JoomDOC
More
User Login Empty