Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18

Thread: Content Management Question

  1. #1
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Question Content Management Question

    Jamie:
    I anticipate having to cross-link content pages as I build the new version 3.0 website.
    That is, for example, the use of a page of definitions of terms used that can be referenced from any other SC page.

    Is this still going to work? I'm unclear about how the content pages will be served.

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    I'm not sure I understand your question. With v3.0.0, you'll be able to create links to content, which in essence creates a standalone "page" that you can modify in Squirrelcart's control panel. This forum thread explains that a bit:
    http://www.ldev.com/forums/showthread.php?t=5746

    This page in our docs for v3 explains how you setup a page:
    http://squirrelcart.com/help/3.0.0/?...o_Content.html

  3. #3
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Content Management

    Jamie:
    The particular case I'm thinking through is creation of a page of definitions "glossary" which will be refered to by links in other content pages.

    So, I have a page discussing 'Sciuridae'. Real term
    Sciuridae has a link to a definition on the glossary page, a Page Back returns to the original page.

    I've been OK with this in ver 2.x.x with external page loads from public_html using the page header you suggested years ago.

    Just want to be sure the content management system will support the concept. Sciuridae are important to some folks of the squirrel persuasion.

  4. #4
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    I'm still not following. Links are links, and will work as they normally would wherever you put them. I think I'm missing something.

  5. #5
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Probably a Non-Problem

    Jamie:

    I think I may be concerned about something that won't be a problem.

    If you don't see what I'm talking about, it's likely because it doesn't exist.

    I'm just wondering about linking out of a product page to a "content" page item and then jumping back to the product page with the "Page Back" button.

    Will be adding a lot of useful content to the ver. 3.0 site and that will require extensive use of internal page links.

  6. #6
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    OK Here We Are With Links

    I am at the point I was concerned about earlier in this thread.

    I have a Content page with technical information. One of the techy terms is defined in another Content page named oddly enough "glossary" that contains a standard html definition table with bookmark links.

    How do I call the glossary page with the definition from the other Content page? Will this work at all with Content Management?

    In 2.6.3 I was able to use the standard <a href="glossary.php#good_def"> syntax to get the definition and then a "page back" returned me to the info page.

  7. #7
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    How do I call the glossary page with the definition from the other Content page? Will this work at all with Content Management?

    In 2.6.3 I was able to use the standard <a href="glossary.php#good_def"> syntax to get the definition and then a "page back" returned me to the info page.
    You would do it exactly the same way. This is really more of an HTML issue than a Squirrelcart one as far as I can see.

  8. #8
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Still Stuck

    Thanks Jamie:
    I understand what you are saying.

    I just have not been able to get a valid reference to the glossary page which is a Content page.

    I think this may be related to other Content page problems I have noted elsewhere. But I have been having a series of "senior moments" recently as the grey matter is getting worn out with 16 hour days so I'm prepared to admit to a "typo" or two, well, maybe three.

    Just for grins, please post the correct code to get the url of a Content page.
    One, that is, which can be used in a link to a page bookmark.

  9. #9
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    Just for grins, please post the correct code to get the url of a Content page.
    One, that is, which can be used in a link to a page bookmark.
    If you want to link to Squirrelcart Content on its own page, it is only possible when you follow these instructions:
    http://squirrelcart.com/help/?Creati...o_Content.html

    That will give you a URL linking to a page containing your content. With query string URLs, that URL will look like this:
    http://www.ldev.ws:5026/v300/index.php?sc_page=43#blah

    With SEO URLs, that URL will look similar to:
    http://www.example.com/content/glossary

    If you want to link to a certain area within that content, you would need to add a named anchor to the content:

    Code:
    <a name="widget"></a>
    <strong>Widget:</strong> made up product
    That named anchor can be referenced via query string URLs as follows:
    http://www.ldev.ws:5026/v300/index.p...page=43#widget

    and via SEO URLs like this:
    http://www.example.com/content/glossary#widget

  10. #10
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Thank you very much

    That did the trick. I actually was very close but not quite there.

    I am currently not using SEO on the testbed.
    That is a later item on the "TODO" list.

    Is there a dynamic way to code the links so they will be correct with-or without-SEO?

  11. #11
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    Quote Originally Posted by pdunton View Post
    Is there a dynamic way to code the links so they will be correct with-or without-SEO?
    You could try:
    PHP Code:
    <?php $glossary_link sc_link('glossary','array');?>
    Check out our vast selection of <a href="<?php print $glossary_link['URL'?>#widget">widgets</a>.

  12. #12
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Not Functioning

    The Php code is not running on my custom Content pages.

    Until that is corrected I'm wasting my time.

    I'll give ScottW's suggestion a try.

  13. #13
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    ScottW's fix works

    ScottW's fix to sc_page_content.func.php works.

    A lot of what I have been attempting is coming to life.

    Thanks Scott!

    Jamie: Remember for your "TODO" list please that a new Link cannot be added from IE7 or 8.
    Every time I have to add a link I need to be in Firefox which is not my "regular" browser. Yet.

  14. #14
    Client pdunton's Avatar
    Join Date
    Apr 2006
    Location
    Tucson, Arizona
    Posts
    524
    Squirrelcart version
    v3.4.1

    Works Perfectly

    The system outlined by Jamie to provide a dynamic way to code links for SEO or query string urls works perfectly.

    I can switch back and forth between query string and SEO optimized urls seamlessly.

    Jamie: I hope you get an extra cookie today! Thanks!

  15. #15
    Client
    Join Date
    Dec 2006
    Location
    Otway NC
    Posts
    55
    Squirrelcart version
    v2.6.3

    Cms

    I am Using SQ V3 with Main Street Themes
    www.pondplants.biz

    I have added a Nav Block with a sub listing link.

    High School Water Plant Projects (Nav Block)
    Roseville High School Project (sub listing)

    I want for visitors to be able to click on the sublisting and the project content show

    When I try and and follow the "Creating a Page (Linking to Content) documentation) everything seems to work until I click...."Add New";
    all I get is a blank page in the control pannel.

    What am I doing wrong ??
    gunner76

    Never underestimate the power of human stupidity !

    Is it ok for vegetarians to eat animal crackers ?

    Do clowns taste funny when you eat them ?

Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts