Webmastersite.net
Register Log In

Subcategories in homepage.

Comments on Subcategories in homepage.

ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
Posted May 26, 2008 - 11:43 PM:

1.How to display all subcategories under categories in homepage?

I have changed below settings.

In switches "Show subcategories on main page" On.
In admin->settings->categories
Max subcategories to show on main page:25

It shows only 8 subcategories under main category.The first seven categories are subcategories,8th subcategory is category.Can you please check it in http://www.finewineandflowers.com/

Wine (2,222)-------Main Category
* Accessories
* Auctions
* Business
* Buy Wine
* Consumer Information
* Education
* Events
* Wine-------Main Category
In the middle all are subcategories.

We need to display all subcategories under "wine" Category.

2.We need the "Flowers by region" not to show the sub categories.

Can you please check it in http://www.finewineandflowers.com/

How to hide the sub categories.Where can i change the code.Can you please specify the filenames.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 27, 2008 - 12:24 AM:

After changing the max subcategories total you need to regenerate categories at Admin -> Maintenance -> Regenerate
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
Posted May 27, 2008 - 1:28 AM:

Thanks for your reply.

We need the "Flowers by region" not to show the sub categories.

Can you please check it in http://www.finewineandflowers.com/

How to hide the sub categories.Where can i change the code.Can you please specify the filenames.
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
Posted May 27, 2008 - 10:25 AM:

I have fixed above issue.

Used this code in <IF {CATNAME} is Flowers> main.tpl file.
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
Posted May 28, 2008 - 6:14 AM:

How to limit subcategories on innerpage.

In this page www.finewineandflowers.com/...ion=displaycat&catid=148,i need to display only 5 subcategories under each category.

Where can i limit subcategories on innerpage.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 29, 2008 - 5:01 AM:

It has to be the same for the front page and category pages. I'll add an optional parameter to allow specifying the number to show with {CATSUBCATS[ <,> 5]}.
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
Posted May 29, 2008 - 6:54 AM:

Hi Paul,

Thanks for your reply.

Where can i add this line {CATSUBCATS[ <,> 5]}.

Thanks,
Prasad.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 30, 2008 - 3:08 PM:

Where you want to display subcategories, in place of the existing subcategories template code. You seem to have specified the display links in category template.
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
Posted Jun 01, 2008 - 12:34 PM:

Hi Paul,

Thanks for your reply.

I have tried below one in displaylinks.tpl.But, it is not working.Can you please help me to fix it.

<table {STANDARDTABLE}>
<!-- BEGIN SUBCATEGORIES -->
<!-- BEGIN REGULAR -->
<td {SUBCATWIDTH} valign="top" class="category">
<img src="{IMAGESURL}/folder.gif" alt="" /> <a href="{CATURL}" class="categoryname">{CATNAME}</a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}<br />
<!-- BEGIN SUBSUB -->
<IF {CATSUBCATS[ <,> 5]}>
<a href="{CATURL}">{CATNAME}</a>,
</IF>
<!-- END SUBSUB -->
<IF {CATDESCRIPTIONBOOL}><br />{CATDESCRIPTION}</IF>
<IF {SWITCH_FORUMVIEWS} or {SWITCH_ONLINEFORUM}><br /></IF>
<IF {SWITCH_FORUMVIEWS}>{CATVIEWS} views</IF><IF {SWITCH_FORUMVIEWS} and {SWITCH_ONLINEFORUM}>, </IF>
<IF {SWITCH_ONLINEFORUM}>{CATNUMONLINE} viewing</IF>
</td>
<!-- END REGULAR -->
<!-- END SUBCATEGORIES -->
</table>

Thanks,
Prasad
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#10 - Quote - Permalink
Posted Jun 02, 2008 - 1:30 PM:

Delete
<!-- BEGIN SUBSUB -->
<IF {CATSUBCATS[ <,> 5]}>
<a href="{CATURL}">{CATNAME}< /a>,
</IF>
<!-- END SUBSUB -->

Use {CATSUBCATS[ <,> 5]}
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
#11 - Quote - Permalink
Posted Jun 02, 2008 - 11:55 PM:

Hi Paul,

Thanks for your reply.

I have used below code in displaylinks.tpl.

<table {STANDARDTABLE}>
<!-- BEGIN SUBCATEGORIES -->
<!-- BEGIN REGULAR -->
<td {SUBCATWIDTH} valign="top" class="category">
<img src="{IMAGESURL}/folder.gif" alt="" /> <a href="{CATURL}" class="categoryname">{CATNAME}</a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}<br />
{CATSUBCATS[ <,> 5]}
<IF {CATDESCRIPTIONBOOL}><br />{CATDESCRIPTION}</IF>
<IF {SWITCH_FORUMVIEWS} or {SWITCH_ONLINEFORUM}><br /></IF>
<IF {SWITCH_FORUMVIEWS}>{CATVIEWS} views</IF><IF {SWITCH_FORUMVIEWS} and {SWITCH_ONLINEFORUM}>, </IF>
<IF {SWITCH_ONLINEFORUM}>{CATNUMONLINE} viewing</IF>
</td>
<!-- END REGULAR -->
<!-- END SUBCATEGORIES -->
</table>

I need to display all subcategories under each category in homepage.

In inner pages,need to display 5 subcategories and more.. link under each category.

By using above code it displays all subcategories in homepage and innerpage.If i change Settings->Categories
Max subcategories to show on main page:5.
It displays 5 sub categories in homepage and inner pages.But i need all subcategories in homepage.And also in inner pages subcategories are displaying in order list.I need to display in side by side.Where can i change it.

Thanks,
Prasad.

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Jun 04, 2008 - 7:19 PM:

You never upgraded. Until you do things will remain the same... plus you remain vulnerable to critical security flaw I emailed you about.
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
#13 - Quote - Permalink
Posted Jun 11, 2008 - 5:27 AM:

Hi Paul,

I have regenerated category counter.Still same problem.

Can you please explain clearly.

What do you mean by "You never upgraded. Until you do things will remain the same... ".Please explain.

I haven't received any mail.Please send to this mail id ngprasad16@gmail.com.

Thanks,
Prasad.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#14 - Quote - Permalink
Posted Jun 13, 2008 - 2:05 AM:

You're running WSN Links 4.1.39. The current version is 4.1.47. As long as you continue using the old version, nothing will ever change from how it worked (or didn't work, in this case) in that version.

It's your responsibility to keep a valid email account in your custom account. http://scripts.webmastersite.net/wsnlinks/members/
If you can't recieve email at the account you've provided, or you've selected to prevent emails from administrators, then you won't get security udpates.

If you're one of those people with the systems that try to force the sender to reply to verify, I just delete those since an email to all customers generates a hundred of those.
ngprasad
Member

Usergroup: Customer
Joined: Apr 28, 2008

Total Topics: 5
Total Comments: 21
#15 - Quote - Permalink
Posted Jun 13, 2008 - 4:03 AM:

I have tried to upgrade new version.But it shows below errors

Warning: ftp_site() [function.ftp-site]: No file name in /home2/finewine/public_html/includes/filefunctions.php on line 172

Warning: copy(../quotelist.php) [function.copy]: failed to open stream: Permission denied in /home2/finewine/public_html/includes/filefunctions.php on line 32

Warning: ftp_delete() [function.ftp-delete]: Could not delete upgradesavedtopics.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete email.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete contactreply.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete chat.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete invites.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete report.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete bulkedit.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete 2checkout.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete postreply.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete privatemessaging.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete index.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete download.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete search.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete end.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete adminlogin.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete showvotes.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_delete() [function.ftp-delete]: Could not delete setup.php: No such file or directory in /home2/finewine/public_html/includes/filefunctions.php on line 141

Warning: ftp_site() [function.ftp-site]: No file name in /home2/finewine/public_html/includes/filefunctions.php on line 172

Please help me to upgrade it.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.