News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Link to content page

Started by helperbee, July 22, 2015, 06:23:27 PM

Previous topic - Next topic

helperbee

I've created content pages. I want to link to those content pages from HTML block, but can't determine the URL.

abolabo

please do now duplicate topics
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

helperbee

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.

abolabo

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
http://your_domain.com/index.php?rt=content/content&content_id=5

best regards
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

helperbee

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.


abolabo

what about edit new created content?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

helperbee

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.

abolabo

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.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -