From the user "Affiliate Center" tab for user-1
The campaign name is described as an active link but it isn't. The edit and delete items are OK but no link to display of URLs and banners to copy from

I am including screenshot of page and related segment of HTML

Campaigns allow you to differentiate traffic sources through different urls.
Click on a campaign name to see campaign banners and urls.

HTML for one of the campaigns

          <tr class="even views-row-last">
                  <td class="views-field views-field-name" >
            test11          </td>
                  <td class="views-field views-field-created" >
            <em class="placeholder">27 min</em> ago          </td>
                  <td class="views-field views-field-operations" >
            <ul class="links inline operations"><li class="affiliate-ng-delete first"><a href="/user/1/affiliate/campaigns/2/delete">Delete</a></li>
<li class="affiliate-ng-edit last"><a href="/user/1/affiliate/campaigns/2/edit">Edit</a></li>
</ul>          </td>
              </tr>
CommentFileSizeAuthor
Affiliate NG user inactive link.jpg50.02 KBMacRonin

Comments

MacRonin’s picture

Title: Campaign name is supposed to be active kink but is just plain test » Affiliate NG - Campaign name is supposed to be active link but is just plain test

Updating title to fix typo kink > link and add project name so it is more obvious when looking at activity on dashboard

MacRonin’s picture

Title: Affiliate NG - Campaign name is supposed to be active link but is just plain test » Affiliate NG - Campaign name is supposed to be active link but is just plain text

Fixing a second typo test > text
why can't I see these before hitting save?

RKS’s picture

My campaigns are also in plain text. Did you ever solve this? It's been a few months...

fehin’s picture

Modify the Affiliate campaign view and add Campaign ID and Affiliate UID to the field. Don't display them and rearrange and move them to the top.

Edit Name field and click on "Rewrite results", check "Output this field as a link" and paste this user/[affiliate_uid]/affiliate/campaigns/[campaign_id] in the link path.

The only issue here is [affiliate_uid] is always '0' but if I replace it with a user id manually, it works. Still looking for the solution for this.

fehin’s picture

I added "Affiliate campaign: Affiliate UID" as an argument (Contextual filters) and the user/%/affiliate/campaigns path now works properly.