Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Content pages  (Read 2043 times)

Offline alchimica

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Content pages
« on: January 20, 2017, 08:01:32 AM »
I'm having problems with any new content pages I create. I've created a new page but I can't figure out...

1. how to create a link in the menu that goes to that page. At the moment it just sends it straight to the home page, even though I selected the page from the "link to content" option when creating it in the menu

2. how to navigate to a page without it appearing in any menu. I want a page with some special offer text that I can email to a portion of my contacts. I don't want just anybody who visits the site to see it

Thanks for the help

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4408
  • Karma: +205/-0
    • View Profile
Re: Content pages
« Reply #1 on: January 20, 2017, 08:25:45 AM »
Hello

When you create new menu what is value of Link field. Should be something like this content/content&content_id=2

To navigate any content page without menu just use this example  http://site.com/index.php?rt=content/content&content_id=2 where 2 is your unique page id
“Chuck Norris is so amazing.”
― Mother Teresa

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages
« Reply #2 on: March 15, 2017, 05:57:27 PM »
I am having same trouble, but also read in the documentation here:
 docs.abantecart.com/pages/design/menu.html
that Link to Page at bottom of menu entry is supposed to work. It does not stick after saving.

Also my the Content pages should have an ID field on them (read-only of course) so that we can see what ID number they are instead of interpreting the URI
eg /index.php?rt=design/content/update&content_id=0_1&s=admin&token=blahblah

Unfortunately, the ID of 0_1 doesn't work for me either, nor 0 nor 1....

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4408
  • Karma: +205/-0
    • View Profile
Re: Content pages
« Reply #3 on: March 16, 2017, 01:33:45 AM »
 Hello.

what is the status of your content pages? Make sure they are enabled in Design > Content
Also do you have any errors in the AbanteCart error log after failed save?
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4408
  • Karma: +205/-0
    • View Profile
Re: Content pages
« Reply #4 on: March 16, 2017, 01:36:46 AM »
that Link to Page at bottom of menu entry is supposed to work. It does not stick after saving.


Click LINK button it will fill automaticly url
“Chuck Norris is so amazing.”
― Mother Teresa

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages
« Reply #5 on: March 16, 2017, 03:38:44 AM »
All content is set to ON.
The url doesn't automatically fill.
No error messages in AC error logs, other than that at Javascript console which is on every admin page;
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help <external link to whatwg> jquery.min.js:4:25645
Using FF52 on linuxmint 18.1

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4408
  • Karma: +205/-0
    • View Profile
Re: Content pages
« Reply #6 on: March 16, 2017, 03:58:15 AM »
Thanks for the reply.
So when you click LINK button url not fill?
Note: save button only save what is entered and did not fill link automaticly

By the way what is your AbanteCart version?
“Chuck Norris is so amazing.”
― Mother Teresa

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages
« Reply #7 on: March 16, 2017, 04:05:33 AM »
Yes, URL not filling after Link button chooses content page.
Watching the Network inspector in FF shows no XHR requests when changing the Link drop down, for either Content or Categories.
Version 1.2.9

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages
« Reply #8 on: March 16, 2017, 04:14:19 AM »
And in case it makes any difference, I am running PHP7-FPM with NGINX and MariaDB.
Everything else seems to work fine, I am having  fun with this engine - it seems to be very comprehensive and well built!

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages
« Reply #9 on: March 16, 2017, 04:19:58 AM »
Oddly, CATEGORIES just started working!
Content still isn't.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4408
  • Karma: +205/-0
    • View Profile
Re: Content pages
« Reply #10 on: March 16, 2017, 04:21:09 AM »
Thank you, onyxnz
We will try to replicate and fix  ;)
“Chuck Norris is so amazing.”
― Mother Teresa

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages [SOLVED]
« Reply #11 on: March 16, 2017, 05:31:17 PM »
@Basara:
Please disregard everything I said above; I am an idiot who cannot read and understand the fact that LINK is a button, not a label. :-[
Sorry for the waste of time!
The code works, but some people need to read it before they understand it...ie me. :-X
« Last Edit: March 16, 2017, 05:40:48 PM by onyxnz »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4408
  • Karma: +205/-0
    • View Profile
Re: Content pages
« Reply #12 on: March 17, 2017, 01:03:06 AM »
Hi
I think we need improve button's text to be more clear what is for  ;)
https://github.com/abantecart/abantecart-src/issues/802
« Last Edit: March 17, 2017, 01:04:58 AM by Basara »
“Chuck Norris is so amazing.”
― Mother Teresa

Offline onyxnz

  • Newbie
  • *
  • Posts: 23
  • Karma: +7/-0
    • View Profile
Re: Content pages
« Reply #13 on: March 17, 2017, 03:27:29 AM »

Good to see even my idiocy is not wasted!

 

Powered by SMFPacks Social Login Mod