AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: helperbee on July 22, 2015, 06:23:27 PM

Title: Link to content page
Post by: helperbee on July 22, 2015, 06:23:27 PM
I've created content pages. I want to link to those content pages from HTML block, but can't determine the URL.
Title: Re: Link to content page
Post by: abolabo on July 22, 2015, 06:56:30 PM
please do now duplicate topics
Title: Re: Link to content page
Post by: helperbee on July 22, 2015, 07:48:42 PM
I'm not duplicating topics.

I'm now working in an HTML Block and want to link text to a Content page, but can't determine the URL for the Content page.
Title: Re: Link to content page
Post by: abolabo on July 23, 2015, 05:41:36 AM
on admin side you can check content_id. It consist of 2 part: {parent_content_id}_{content_id} For ex. content_id = 0_5. So on storefront you should to find this content by url
Code: [Select]
http://your_domain.com/index.php?rt=content/content&content_id=5
best regards
Title: Re: Link to content page
Post by: helperbee on July 23, 2015, 12:52:43 PM
Maybe I'm looking in the wrong place in admin to find the content_id. I've checked the Content Manager and the Categories.

When in Content Manager, I clicked on the content (Getting Started) which I want to determine it's URL.  The address bar displays //your_domain.com/a/index.php?rt=design/content&s=admin123&token=5ccd7c88d98ad2b1a44c8fae2d27cfef#rowNum=10000

It doesn't contain the term content_id.

Again, I'm trying to determine URL so I can build menu based on Category menu which link to external and internal pages. Plus, I need to link from an HTML Block to a Content page.

Title: Re: Link to content page
Post by: abolabo on July 23, 2015, 01:29:27 PM
what about edit new created content?
Title: Re: Link to content page
Post by: helperbee on July 23, 2015, 05:02:09 PM
Thanks for your efforts. I'm still stuck.

Can you provide more details about how to locate the content _id? I'm using AbanteCart 1.2.2 with FoxY template, if that makes a difference.
Title: Re: Link to content page
Post by: abolabo on July 24, 2015, 04:17:07 AM
go to admin menu design->content, choose some content to edit.
i will get URL like this http://your_host/index.php?rt=design/content/update&content_id=0_1....
where 0 - is id of parent content page, 1 - needle.