Twitter
F.A.Q. - Resources

Category index

Commerce (3) Resources (21) Membership (8) Touch (3)
Registration (10) Invoice (5) Message (0) Defender (4)
Permission (7) Mass Mail (2) Analytics (1) File Manager (0)
Instructions (6) Miscellaneous (0)    


How to use youtube field plugin

Here is video tutorial: http://www.youtube.com/watch?v=sP7UrU92tZk

Thanks jpbuos for this video tutorial.


How to fix Rocket Theme template height bug when using tabbed content

Add the following line to the RocketTheme template template_css.css file

#maincol .main-height {height: auto !important;}

How to set filters in URL

Filters is a complex mechanism.

  1. You need open list of the articles and open source code of the page.
  2. Find filter you are going to set in URL and copy name. FOr example filter75[]
  3. Important to know that all filter values are base64 encoded for better compatibility. YOu chould copy value or values
  4. No add to existing URL &filter75[]=HGf45D
  5. If you want few values use it few times &filter75[]=HGf45D&&filter75[]=md6gF9H54W

Applicable from version 1.4 RC3


How to make FCK editor workable with Resources

It requires to make a little hack at file /plugins/edotirs/fckeditor.class.php

Lines 289 and 290

$html = '
<textarea name="'.$name.'" id="'.$name.'" cols="75" 
    rows="20" style="width:100%; height:350px;">'
    .$content.'</textarea>';
 

Replace this lines with next

$id = str_replace(array('[', ']'), '', $name);
$html = '
<textarea name="'.$name.'" id="'.$id.'" cols="75" 
    rows="20" style="width:100%; height:350px;">' 
    .$content.'</textarea>';
$name = $id;

That's all.


How to create templates for relate_parent2 and relate_child2

The relate_parent2 and relate_child2 plugins version 2.2 support templates.

You can find them in [YOUR_JOOMLA_INSTALLATION]/plugins/joomsuite_content_fields/related_fields_templates/ directory.
By default, there are 2 templates there: default.php and compact.php

You can use them as example to build your own templates. Just save your template in the directory mentioned above, and the it will appear in field parameters.

How to create subcategory?

To create subcategory you need just click on yellow folder icon near the category name and then click on add new category button. New created category will be child of section where you click on folder icon.


Category Index settings hints

Static, always showed category index as it is. Without difference if you located on root or into some subcategory, this is what we has here on support desk, whatever category you was located you always see above category index to another categories.

Dynamic, supposed show category with subcategories only where you located, so in root you see all categories and subcategories, but if you click on some category you will see in index only subcategories of this cateogry, this is what we have on JoomSuite into download components section.

The other parameters which could be helpful is:
Show subcategories: allow/disallow showing subcategories into the category index
Depth level: will allow showing of level subcategories which is showed here
Subcategories limit: will show limited counts for subcategories, ie if you set here 1 and your have 3 Subcategories, only one will be shown in index
Show empty - hide or show empty subcategoreis
Show items num - show or hide numbers of content placed into category/subcategory in brakets
Format subcategories - way of listing subcategories

If nothing of listed settings are not good for you probably you need make customi template file of category index. See "Templates" area at admin.


How to Mark New Articles

For mark new articles you need set number of days for period from current date. You can do it at Content Type settings. Then parameter $item->isNew passes to template. You can use it for marking article with any way.

This example explains how to add an image

<?php echo $item->ntitle?>
<?php if($item->isNew): ?>
    <img src="/images/hilite_new.gif" />
<?php endif;?>

This example explains how to make bold title of article

<?php if($item->isNew): ?>
    <b><?php echo $item->ntitle?></b>
<?php else: ?>
    <?php echo $item->ntitle?>
<?php endif;?>

You can use any variants of HTML formats.


How to JomComment integration

Basically this required customization template code, you need replace JoomSuite comment to JomComment code, this was discussed already. See for details here:
Integrate Content with JomComment -
http://mightyextensions.com/index.php?option=com_resource&controller=article&article=1746&category_id=32&Itemid=37
and here:
Integration of Jcomments -
http://mightyextensions.com/index.php?option=com_resource&controller=article&article=3169&Itemid=0

Code for JomComment is:

<?php include_once(JPATH_BASE.DS. "/plugins/content/jom_comment_bot.php");
echo jomcomment($this->article->id, "com_resource"); ?>

For example to have replace core JoomSuite comment to JoomSuite everywhere you need:
open the file:components/com_resource/views/article/tmpl/default.php
line:11

<?php echo $this->loadTemplate('comments');?>
 


Change it to integration code above

this is simple example for integraion to have more comprehansive integraion like to show how many comments are placed in this item requirted more close customization.


Short taber instruction

1. Install plugin taber and publish it.

2. Content>Types>Fields, edit fields for the type where tabs/sliders supposed to aply.

3. Make slice with taber plugin and fields we would like include in tabs/sliders

Example: First field is taber. In configuration Params set type. This is what will be showed tabs or sliders, accordingly what you choose for the first should be the same for all tabers.
Important! Part for the first tab should be Open, for the rests New Page and at the end Close.

You create first field as taber with 'open', than follow next field(s) for content this tab will include, that another taber field with 'new page' and again field(s) for content of this tab... etc. At the end after content field(s) create last taber fied with the 'close'.

That's almost all. There is important note yet:
for all tabers in the Layout set:
Align Table Row: No
Break Before: No
Break After: No

into the Label set:
Show Lablel: NO
Wrap Lable: NO


How to use child-relate plugins

1. Install plugins parent and child, make sure to publish them

2. On the type where you would like to show childs add field related parents, save and leave it for a while. This is parent item.

3. On the type from where childs should be taken add field related childs and in the setting choose field of the parent created on step 2. 

4. Back to the parent field and choose child field

Settings show value is optional and everything will work whenever you choose there.
As well at least one parameter in show intro/full should be selected.

Now how it supposed to work:
When you create item type where parent field placed there appears  option relate parent, you need choose YES

When you create item type where child filed placed there appears select list 'relate child' where all parent items will be listed, just choose one and now in parent item will be showed link to the child, if there is several child items there will be show several links automatically.


How to make JoomFish publish translatoions automatically?

If you want user translate articles from frontend, or even submit articles in not default languages, then you need to change some JoomFish files.

administrator/components/com_joomfish/models/jfContent.php   row:68
administrator/components/com_joomfish/tables/jfContent.php   row:70

var $published=false;

to

var $published=true;



 


How to create relational select

You can use select_relate field to create relational field. For example visitor chose first select Lexus and in other select appear LX, RX, ...

Create select_relate field. This field has sample data:

Mercedes
>E-Class
>>230 CDI
>>350 4matic
>C-Class
BMW
>5
>7

It might be improved for deeper level:

Mercedes
>E-Class
>>230
>>>CDI
>>>4matic
>>350
>>>CDI
>>>4matic
BMW
>5xx
>>520
>>530
>7xx
>>730
>>740

Field has built-in constructor. You can skip manual filling and create structure at constructor at once. It creates correct syntax.

You can change value for article view. For example:

Mercedes
>{ E}E-Class
>>230
BMW
>{}5-series
>>520

At article you'll see "Mersedes E 230" and "BMW 520". If you don't use {} then one space divides values by default. If you use { somevalue} spaces won't be therefore keep one space before value for avoid "MersedesE 230". But, during submit if article will have been selected value BMW -> 5-series, at article will be showed "BMW 5-series" at any case.

About filter plugin for select_relate field. It use values for select filter value as well as at form. But filter alert shows value as at article.


How to use custom comment system

In version 1.3 you may use custom comment system and integrate any social comment line Intense Debate, DisqUs and other.

Get JS script on the social comment site and insert it in Custom Comment parameter on Type creation. YOu may use 2 placeholders [post_url] and [record_id] that will be replaced before posting.

Example of Intense Debate.

<script> 
    var idcomments_acct = 'f3c84389b831e21b68840d2244fa513a'; 
    var idcomments_post_id=[record_id]; 
    var idcomments_post_url=[post_url]; 
</script> 
<span id="IDCommentsPostTitle" style="display:none"></span> 
<script type='text/javascript' src='http://www.intensedebate.com
/js/genericCommentWrapperV2.js'>
</script>  
 

Does Content supports Joomla Core Content plugins

JoomSuite Content do not support plugins for Joomla core content.

That is because it have very different structure to store information and it is almost impossible to create event that whould work like core Joomla. But JoomSuite Content has own events and it is not hard to change core plugins and make it awailable for JoomSuite Content. See Developer Center for more information.


Pictures display problems

Most problems to display picture is due to folder write permissions.

  1. FTP t folder "File Secure Directory/picture/62/" where File Secure Directory is a folder you set in configuration and 62 is a user ID. 62 is an ID of Super Administrator.
  2. Check if there are folders thumbnail_blog and thumbnail_table.
  3. If not create it
  4. Set permission 777 for both folders.

Integration of Content and Bill

If you want to sell from Content component it is very possible. For example you are a hosting company and every content item is a hosting plan. And you want to have a Buy Now button for every plan. Or you are a tour operator and every content article is a tour description and you want to have an Order Now button there.

For that you need to create a URL type field. Then, when you create an article insert bill URL into it.

Note that you can append amount and description parameters to the URL. For example if you want one bill title but different amount.


File Secure Directory either not set or not writtable

Resource cannot start working before it knows where to store files. It is very important so right after installation you are redirected to config section where you should set File Secure Directory parameter and save configuration.

You can find this parameter on General folder last in Global group. We recommend you to create 'uploads' folder in your Joomla root before and chose that folder in dropdown directory list. Then save configuration.

Also be sure that FTP is enabled in global Joomla configuration that makes file operations easier for Component and you later.

Possible Problems

You cannot see list of files in dropdown list for File Secure Directory parameter.
This is very rare problem. You need to edit administrator/componetns/com_resource/params.xml and change there attribute directory="" to directory="." forFile Secure Directory parameter.

You cannot save - FTP should be enabled in global Joomla configuration. Or set chmod 777 to administrator/componetns/com_resource/config.ini

Main project directory should has chmod 755 so other group has read permission. Main project directry is directory where your joomla project is located at.


After that 'File Secure Directory' dropdown list should appear.

If all above do not help, please, contact support, and we will try to help you.


How to highlight code with Geshi?

Joomla has a plugin that highlights php, html, xml or any other 30 different types of code with different colors. But I've never liked how that was working. I needed to create in raw HTML

<pre lang="php"><?php echo "some code"; ?></pre>

But HTML editors like JCE, TinyMCE trims that attribute lang="whatever". And I needed to turn HTML editor off to edit my articled with code example, and you know what? Articles with code example most terrible for editing without HTML editor. That is why in JoomSuite Content I created code highlight easy with any editor. You have to place your code in <pre> (preformatted) tag, and you can do it either selecting style in dropdown on your editor's toolbox or switching to HTML mode. Then just at the beginning place language in curly braces.

{php}<?php
echo "123";
?>

That i it. If you want line numbers add "true" word after |

  1. {php|true}<?php
  2. echo "123";
  3. ?>
  4.  

Here is the list of available languages

actionscript, ada, apache, asm, asp, bash, c, c_mac, caddcl, cadlisp, cdfg, cpp, csharp, css, delphi, html4strict, java, javascript, lisp, lua, mpasm, nsis, objc, oobas, oracle8, pascal, perl, php, python, qbasic, sas, smarty, vb, vbnet, visualfoxpro, xml


How to highlight Select/Radiobutton Or Checkbox/Multiselect elements with diferent collor?

When you create list of elements in field parameters you can append symbol ^ and color followed. For examples, lets imagine we have status filed with 3 parameters: Open, Revised, Closed and we wand Open be red, revised black and closed green.

Open^red
Revised^#000000
Closed^green

You can enter color in 2 formats like name or hexadecimal. Then on the article it will look like this: Open, Revised, Closed.

 


What is best way for Download/Installation MightyExtensions?
 


Member Area



Member Activity

We have 1138 guests and 8 members online


MightyTemplate - Professional Joomla Templates