Multi-level Category Functions

63 posts by 17 authors in: Forums > CMS Builder
Last Post: December 19, 2011   (RSS)

By Jason - January 3, 2011

Hi Maurice,

I'm not sure I understand the problem. Can you provide a url so I can see what you're working with?

thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Multi-level Category Functions

By Maurice - January 3, 2011

yep this is it:

http://is.sandbox.intraserve.biz/includes/categoryList.php the output is oke but links to the right location not working.
-------------------------------------------

Dropmonkey.nl

By Jason - January 3, 2011

Hi Maurice,

Which page do you want it to be linking to? If you're just using the ['_link'] field, you can change where this goes by editing your section and clicking on Viewer Urls.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Multi-level Category Functions

By Maurice - January 3, 2011

aha so i can ad a field lets say links?? and than link to any viewer?

Thats coo [;)]
-------------------------------------------

Dropmonkey.nl

By Maurice - January 3, 2011

mmm wait ['_link'] i don't get that. is see it in the code but cant find the relation to the sections.
-------------------------------------------

Dropmonkey.nl

By Jason - January 3, 2011

Hi Maurice,

You could create a textfield in your section called link where you can put a different url for any record that you want to link to:

EXAMPLE:
<a href="<?php echo $category['link'];?>"><?php echo $category['name'];?></a>

['_link'] is used when you want every record in the section to link to the same detail page.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Dave] Multi-level Category Functions

By jacgo - December 16, 2011

HI Dave

About "Category Function"
I tried to figuare it out. and created the page categoryList.php on our site.

Nothing happen.

http://www.ctrbs.org/categoryList.php

My cmsBuilder version is 2.07

I created a "Category" Section and give it some record.

My "Viewer URL"
List Page Url - categoryList.php
Detail Page Url - categoryList.php

and use the file which you propose : categoryList.php.

http://www.ctrbs.org/categoryList.php

Can you tell me where error code?

thanks!

I have 3 cmsAdmin account. but still dont' understand what it is and how to do "Category Menu" for my site.
Hope there have detail intro for the function.

It would be very appreciate!!
Thanks!

Jacgo

Re: [jacgo] Multi-level Category Functions

By Dave - December 16, 2011

Hi Jacgo,

Can you attach your categoryList.php file to this post so I can see your code? Thanks!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Multi-level Category Functions

By jacgo - December 16, 2011 - edited: December 16, 2011

Hi Dave

Please kindly see attachment.

Jacgo
Attachments:

categorylist_007.php 3K