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.

Update weblog through links

March 28, 2008 1:25am

Subscribe [2]
  • #1 / Mar 28, 2008 1:25am

    cuomo24

    18 posts

    Hello,

    If you go here , and take a look at the items on the right side, you’ll see they are all links. I’m trying to make it so that if you click on one, it will put that weblog in the field to the left, but still leave all of the links on the right the same…

    Right now, if you click on one (the url being {url_title}) it will make the weblog appear in the field to the left, but then take away all the other menu options….

    Any ideas?

    - Scott

  • #2 / Mar 28, 2008 2:35am

    Arun S.

    792 posts

    I assume that’s a seperate weblog:entries tag that pulls the recent posts in that weblog.  If so, you’ll want to add dynamic=“off” to the tag.

    Basically, on a single entry page, EE essentially adds limit=“1” as a parameter by default.  To offset that, you need to set that dynamic behavior off.

  • #3 / Mar 28, 2008 3:07am

    cuomo24

    18 posts

    wow, I really don’t understand why that worked, but that’s cool that it did.

    It isn’t two seperate weblogs, they are the same, just one is pulling the title and date, and the other is pulling title, date, and content. I put dynamic=off on the sidebar and that worked… although I don’t understand, since I had already put in limit=7.

    I’ve had the dynamic function explained to me before, it just seems to go over my head each time….

    Either way, thanks,
    Scott

  • #4 / Mar 28, 2008 3:17am

    Arun S.

    792 posts

    wow, I really don’t understand why that worked, but that’s cool that it did.

    It isn’t two seperate weblogs, they are the same, just one is pulling the title and date, and the other is pulling title, date, and content. I put dynamic=off on the sidebar and that worked… although I don’t understand, since I had already put in limit=7.

    I’ve had the dynamic function explained to me before, it just seems to go over my head each time….

    Either way, thanks,
    Scott

    It doesn’t matter if you hardcode a limit.  The fact that there is a url_title in the url supersedes the rest.  So, without dynamic=“off” the limit=“7” wasn’t really doing anything.

    By adding dynamic=“off” you’re basically saying to the weblog:entries tag, “stop thinking on your own and do what I tell you”.

    Otherwise, it assumes things based on the URL.

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

ExpressionEngine News!

#eecms, #events, #releases