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.

Create a link to a specific weblog entry

September 13, 2008 8:01am

Subscribe [2]
  • #1 / Sep 13, 2008 8:01am

    Ogar

    34 posts

    I have created a weblog where different users can enter their own details in Publish.  Each weblog is paginated so each member has their own page.

    So the weblog is the same but the “#” on the left hand column in the edit page is different.  eg #68. 

    I have created a list using one of the variables, “{studio_name}” on another template which calls each member’s name field for each user. 

    How do I create a link to call up the specific paginated weblog entry only for that name clicked on the list?  For example a link to Mary’s, John’s and June’s specific weblogs?

    In effect a contents page

  • #2 / Sep 13, 2008 7:56pm

    Tyssen

    756 posts

    Can’t you just use your normal weblog:entries tag to output a list of all the entries in that weblog with their relevant links?

  • #3 / Sep 13, 2008 10:27pm

    Ryan Irelan

    444 posts

    I wouldn’t link to the pagination page, but instead you want to set up a template to display individual users and link to it like this:

    <a href="http://{title_permalink=template_group_name/template_name}">{title}</a>

    ExpressionEngine will use the URI to know which of your members to show.

  • #4 / Sep 14, 2008 4:43am

    Ogar

    34 posts

    Thanks Tyssen and Ryan

    These are two different solutions I shall answer each one in turn.

    Tyssen - I have already output a list of the entries as a database.  But the name filed does not have a link as it is just text and I don’t want to confuse things too much for user as not all of them are terribly computer savvy.  I think I shall go with Ryan’s solution.  However, thanks because your suggestion gives me a better insight into how I can use EE and its flexibility.

    Ryan - Thanks, this appears to be the solution that I understand best and it uses “{title}” which also corresponds to the name of the member.  I shall I apply it as soon as I can, hopefully today.

    Thank you both

    Alexis

  • #5 / Sep 14, 2008 5:59am

    Ogar

    34 posts

    Hi Again

    Ryan - I have done what you suggested.  The link on the list only takes me as far as the first page of the template.  I cannot find a way of linking a name on the list to the weblog entry.  I don’t know what to link to beyond the weblog.  When I put in “{title}” or “{studio_name}” or anything else, it always takes me to the same first page of the paginated entries.

    Alex

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

ExpressionEngine News!

#eecms, #events, #releases