Intechnic
Users Developers
Home / Forums / In-Portal CMS / General In-Portal Discussions / List of Subcatagories under Catagory Title / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

List of Subcatagories under Catagory Title (14)


Posted: 04/07/2005 11:10:28 AM

Reply Quoted  


Hiya

I would like to have the list of sub catagories (first 3 or 4) underneath the Catagory title like was available on one of the Inlink 2 templates - but cant find the code to do it for In-portal.

Can anyone help me?

Cheers
Brinley



Posted: 04/07/2005 1:04:17 PM

Reply Quoted  


miura wrote:04/07/2005 11:10:28 AM
Hiya

I would like to have the list of sub catagories (first 3 or 4) underneath the Catagory title like was available on one of the Inlink 2 templates - but cant find the code to do it for In-portal.

Can anyone help me?

Cheers
Brinley



Hello,

Use the following Tag in default/catlist/cat_element.tpl template:

<inp:cat _Field="catsubcats&quot_Limit="3&quotSeparator=",&quot_Anchor="1&quot/>



You can find more information about this tag (as well as any other) in In-tag library (Admin->Modules section) and example of use in Inlink2 theme for In-portal (list_cats.tpl template)

Thanks.

Posted: 04/08/2005 3:14:38 AM

Reply Quoted  


Hi Dmitry

Thanks for the quick response

I amended the relevant files with your code and the subcat appear - which is fab.

I also added the code to my catlist_element_main_dir.tpl as i display the links on the homepage - the problem is that the actual sub cat links on the home page don't work. (they are fine on the lower pages.)

Any ideas?

Also you mentioned that the Inlink tag library is in Modules in Admin - sorry but i couldnt find it. ;(

One final question - whenever i select suggest a catagory the nxt page says you need to login to perform this task - and when i log in it still wont let me do anything. Is there something in admin i need to set to allow people to suggest a catagory?

Thanks once again
Brinley

Posted: 04/08/2005 2:51:40 PM

Reply Quoted  


miura wrote:04/08/2005 3:14:38 AM
Hi Dmitry

Thanks for the quick response

I amended the relevant files with your code and the subcat appear - which is fab.

I also added the code to my catlist_element_main_dir.tpl as i display the links on the homepage - the problem is that the actual sub cat links on the home page don't work. (they are fine on the lower pages.)

Any ideas?

Also you mentioned that the Inlink tag library is in Modules in Admin - sorry but i couldnt find it. ;(

One final question - whenever i select suggest a catagory the nxt page says you need to login to perform this task - and when i log in it still wont let me do anything. Is there something in admin i need to set to allow people to suggest a catagory?

Thanks once again
Brinley


Hello,

I checked your site and it seem you already figured that out by yourself.

In regards to In-tag libary - Link to it is in right bottom corner once you in Admin->Modules section.

Thanks.

Posted: 04/09/2005 4:35:05 AM

Reply Quoted  


Hi Dmitry

Actuallyi havent figured it out - so the sub catagory links on the homepage still dont work.

I have tried lots of things back this one is just eluding me so any help you can give would be appreciated.

Alss - any ideas on my other question? - "whenever i select suggest a catagory the next page says you need to login to perform this task - and when i log in it still wont let me do anything. Is there something in admin i need to set to allow people to suggest a catagory?"

Cheers
Brinley


Posted: 04/09/2005 1:28:57 PM

Reply Quoted  


miura wrote:04/09/2005 4:35:05 AM
Hi Dmitry

Actuallyi havent figured it out - so the sub catagory links on the homepage still dont work.

I have tried lots of things back this one is just eluding me so any help you can give would be appreciated.

Alss - any ideas on my other question? - "whenever i select suggest a catagory the next page says you need to login to perform this task - and when i log in it still wont let me do anything. Is there something in admin i need to set to allow people to suggest a catagory?"

Cheers
Brinley


Hello,

1. In categories/catlist_element_main_dir.tpl template you need to specify destiional template for <inp:cat _Field="catsubcats" _Limit="3" Separator="," _Anchor="1" /> tag, so it should look like this:

<inp:cat _Field="catsubcats" _Limit="3" Separator="," _Anchor="1" _TargetTemplate="inlink/index.tpl" />

2. Check on Edit on Directory cat and go to Permissions screen, select your user group (i.e. Members) and check permissions in In-portal section for Adding the category.

Thank you.




Posted: 04/10/2005 7:43:33 AM

Reply Quoted  


Hi Dmitry

When i first upgraded to In-portal from Inlink2 i was a bit skeptical - but i have to say that although it has taken some serious work to get it configured to the way i want it, it is a pretty spunky bit of kit.

I spend 3 full days trying to redesign and reconfigure it and i still have a ways to go however i can now see the benefits of it - so well done! ( i would suggest that you add more template options to the standard package - not only because it will simplify the redesign process - bit moreso from a your business perspective as different template will allow people to see how in-portal can be used in different ways - which i believe will generate more sales for you. Something for the future maybe eh!)

Anyway back to my problems - add catagory - sorted! So thanks for that.

Subcats on main page still dont work even with adding the _TargetTemplate="inlink/index.tpl
It's probrably sonmething i did wrong but i cant see it. :grin:

I have a few other questions but i think i need to get this one out of the way first.

Once again thanks for your support

Brinley

Posted: 04/10/2005 11:56:26 AM

Reply Quoted  


miura wrote:04/10/2005 7:43:33 AM
Hi Dmitry

When i first upgraded to In-portal from Inlink2 i was a bit skeptical - but i have to say that although it has taken some serious work to get it configured to the way i want it, it is a pretty spunky bit of kit.

I spend 3 full days trying to redesign and reconfigure it and i still have a ways to go however i can now see the benefits of it - so well done! ( i would suggest that you add more template options to the standard package - not only because it will simplify the redesign process - bit moreso from a your business perspective as different template will allow people to see how in-portal can be used in different ways - which i believe will generate more sales for you. Something for the future maybe eh!)

Anyway back to my problems - add catagory - sorted! So thanks for that.

Subcats on main page still dont work even with adding the _TargetTemplate="inlink/index.tpl
It's probrably sonmething i did wrong but i cant see it. :grin:

I have a few other questions but i think i need to get this one out of the way first.

Once again thanks for your support

Brinley


Hello,

You can zip down your entire <b>default</b> theme and email it to me (support@intechnic.com). I'll have a closer look and get back to you on this.

Thanks.


Posted: 04/11/2005 9:47:03 AM

Reply Quoted  


Hi Dmitry

This is the code for the catlist_element_main_dir.tpl

i have tried everything and it still doesnt seem to be able to pick up the inlink/index.tpl

<!-- Template: categories/catlist_element.tpl -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<a href="<inp:cat _field="link" _Template="inlink/index.tpl" />"><img src="img/ic_category.gif" border=0 width="17" height="17" alt="" /></a></td>
<td><img src="img/s.gif" width="5" height="1" alt="" /></td>
<td class="item"><A href="<inp:cat _field="link" _Template="inlink/index.tpl" />&reset=1"><inp:cat _Field="Name" /></a> <span class="comments">(<inp:m_language _Phrase="lu_subcats" /> <inp:cat _Field="subcatcount" _GroupOnly="1" />)</span>
<inp:cat _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
<inp:cat _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><img src="img/s.gif" width="1" height="3" alt="" /><inp:cat _Field="catsubcats" _Limit="3" Separator="," _Anchor="1" _targettemplate="inlink/index.tpl"/></td>

</tr>
</table>



Also I dunno if anyone else has got this happening

I was testing to see if lost password works and it generates the mail OK but there is no password just ""

Below is a copy of an actual mail

Your lost password has been reset. Your new password is: "".

Any ideas?



[Edited By miura on 04/11/05 1:10:32 PM]

Posted: 04/11/2005 2:03:29 PM

Reply Quoted  


miura wrote:04/11/2005 9:47:03 AM
Hi Dmitry

This is the code for the catlist_element_main_dir.tpl

i have tried everything and it still doesnt seem to be able to pick up the inlink/index.tpl

<!-- Template: categories/catlist_element.tpl -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<a href="<inp:cat _field="link" _Template="inlink/index.tpl" />"><img src="img/ic_category.gif" border=0 width="17" height="17" alt="" /></a></td>
<td><img src="img/s.gif" width="5" height="1" alt="" /></td>
<td class="item"><A href="<inp:cat _field="link" _Template="inlink/index.tpl" />&reset=1"><inp:cat _Field="Name" /></a> <span class="comments">(<inp:m_language _Phrase="lu_subcats" /> <inp:cat _Field="subcatcount" _GroupOnly="1" />)</span>
<inp:cat _field="new"><img src="img/ic_new.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_new" />" /></inp>
<inp:cat _field="pick"><img src="img/ic_pick.gif" width="11" height="11" alt="<inp:m_language _Phrase="lu_editors_pick" />" /></inp>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><img src="img/s.gif" width="1" height="3" alt="" /><inp:cat _Field="catsubcats" _Limit="3" Separator="," _Anchor="1" _targettemplate="inlink/index.tpl"/></td>

</tr>
</table>



Also I dunno if anyone else has got this happening

I was testing to see if lost password works and it generates the mail OK but there is no password just ""

Below is a copy of an actual mail

Your lost password has been reset. Your new password is: "".

Any ideas?



[Edited By miura on 04/11/05 1:10:32 PM]


That bug has been fixed in a new release. Release will be available shortly.

Thanks.


Page:  1 2