ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

path problem still remains

October 13, 2008 6:40am

Subscribe [2]
  • #1 / Oct 13, 2008 6:40am

    Carelse

    16 posts

    Don’t know how to put it in better words but what happens is the following and likely related to the problems I had before with the URL and path setting. And this post has actually 2 what I think related questions.

    1
    I have a static html+CSS working at my homepage (hp) http://www.carelse.com
    I have inside that page links pointing to other pages which I made by using a new template group and their corresponding index.php file (which EE generates automatically). Links do not work. I have tried with and without the

    {site_url}

    tag.

    2
    when I go to http://www.carelse.com with the browser the page loads. When I edit that same page through the control panel and press “view…” I am directed to http://carelse.pmhclients.com/site/index/ and get an error…
    Not Found
    The requested URL /site/index/ was not found on this server.

    3
    Then I followed Ryan Irelan’s (excellent) screencast to get a news entry load on my hp. All tags triple checked but the result is I see these tags come back on my page but no parsed content. Weird thing is, the opening tag

    {exp:weblog:entries weblog="news" limit="1"}

    is not included…

    So my thinking says EE begins to read the code correctly but then can’t find the weblog “news”...

    Any help on this?

  • #2 / Oct 13, 2008 10:12am

    Robin Sowell

    13255 posts

    For #1- I think your paths need to look like:
    http://www.carelse.com/index.php/jeroen/photography/  That pulls something up, and I think it’s correct.  You have a template grouop called jeroen and a template in that called photography- and that’s where the orange type style is?  That would be my take on it.

    To link it from the main page- what happens if you use {path=jeroen/photography}?  And if you JUST put {site_url} all by itself on the main page- what’s it render as?

    Triple check in ‘Admin- System Prefs- General Prefs’- are all urls specified using http://www.carelse.com/ in them?

  • #3 / Oct 13, 2008 10:29am

    Carelse

    16 posts

    For #1- I think your paths need to look like:
    http://www.carelse.com/index.php/jeroen/photography/  That pulls something up, and I think it’s correct.  You have a template grouop called jeroen and a template in that called photography- and that’s where the orange type style is?  That would be my take on it.

    I made those links now as you suggested

    To link it from the main page- what happens if you use {path=jeroen/photography}?  And if you JUST put {site_url} all by itself on the main page- what’s it render as?

    This I do not quiet understand (yet)
    You mean instead of a hard-link like above I use a? tag {path=jeroen/photography}
    I will try that if the below is resolved 😊

    Triple check in ‘Admin- System Prefs- General Prefs’- are all urls specified using http://www.carelse.com/ in them?

    Thanks I did and now I am back with the
    To proceed to the URL you have requested, click the link below:
    http://www.carelse.com/index.php/site/index

    Before I made the change it worked but I had to use http://carelse.pmhclients.com/

  • #4 / Oct 13, 2008 10:35am

    Robin Sowell

    13255 posts

    Let’s get all the links working- then worry with the ‘click to proceed’ bit.  It’s on EngineHosting, so we don’t have to worry about the server being goofy.  So- let’s hold the ‘click’ bit for last.  Get everything else working- then hit it.

  • #5 / Oct 13, 2008 10:42am

    Carelse

    16 posts

    Done
    home page has the links (full url) like you suggested and the following 3 as well

    jeroen
    jeroen/photography
    jeroen/garden/

    This works now all directions. So I can make that work for all the other pages as well

    Next step?

  • #6 / Oct 13, 2008 11:42am

    Robin Sowell

    13255 posts

    Yep- get them all set using ‘path’- it’s a global and will use your system preferences to construct a url based on the template group and template you specify.  Use it (typically) outside of other tags.  Once we can navigate everywhere ok and all that looks good- we’ll revisit the link redirects.

  • #7 / Oct 13, 2008 11:54am

    Carelse

    16 posts

    works like a dream!

    1 more small detail so you know. I edit the pages with Textmate + Expanddrive and not with the CP-> Edit Template. Only the initial creation of the e.g. jeroen/photography/index.php page is done through CP->Edit Template

    all links with {path…} are working

    What’s the next step?
    If we reach the point where the URL problem is resolved I will try to continue to build the site further with the aid of the various books/screencasts I have (bought).

  • #8 / Oct 14, 2008 11:38am

    Robin Sowell

    13255 posts

    Woot!  OK- glad this bit is looking good.  We’ve still got the ‘click thru’ issue going in another thread, so we’ll leave that along.

    I think you’re ok to go ahead- nothing odd about saving templates as text files- a lot of the design folks prefer that method.  And running through tutorials is a very good idea.  If you haven’t blazed through the Quickstart tutorial in the docs, it’s worth doing.  Very simple, but will give you a good grasp of the basics.  And the overview of EE urls is one I always recommend when you’re starting out.  Getting how the urls/templates/tags tie together is at the core of mastering EE.

    But- we all good on this bit for now?

  • #9 / Oct 14, 2008 6:38pm

    Carelse

    16 posts

    yes we’re good. This thread can be closed. I continue with the other thread

  • #10 / Oct 14, 2008 6:40pm

    Ingmar

    29245 posts

    Very good, and thanks for letting us know. If you need us again, you know where to find us 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases