Closed (fixed)
Project:
Sites
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Mar 2010 at 11:24 UTC
Updated:
21 Apr 2010 at 04:10 UTC
Jump to comment: Most recent file
On line 17 of sites.admin.inc , you hardcoded the link:
$output .= '<a href="/admin/build/sites/add">Add a new site</a>';
It should be
$output .= l(t('Add a new site'),'admin/build/sites/add');
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | cleanup.patch | 13.92 KB | nquocbao |
| #3 | clean.patch | 8.24 KB | nquocbao |
| #2 | clean.patch | 8.06 KB | nquocbao |
Comments
Comment #1
nquocbao commentedMan, there are huge of invalid links everywhere
Comment #2
nquocbao commentedBeside the invalid admin link, bad implementation, other things work fine. So I spend sometime to clean up and add some more feature, such as allow user to delete the sites. The application is also lack of permission definition, I will add to the site later.
Check the patch.
Comment #3
nquocbao commentedIgnore the above patch, there's a problem with PURL hooks.
Comment #4
nquocbao commentedHere is more improvement:
If you enable this module, all created nodes can not be accessed until you select published sites, it's not very convenient when you want all node to be displayed on all sites by default. I also improve the views handle to give the option for you to choose to included unattached nodes or not.
Check the patch.
Comment #5
brynbellomy commentedCommitted! http://drupal.org/cvs?commit=348764 Thanks so much for your help. The code looks a lot better now. I've been absurdly busy at work and have not had a chance to mess with this module very frequently. If you're interested in doing more work on it, I'm happy to have you as a co-maintainer! Just message me in my contact form / email.
Comment #6
brynbellomy commentedComment #7
nquocbao commentedThere is a problem with site access hook. I will up another patch later in this week.
Comment #8
nquocbao commentedComment #9
nquocbao commentedAh ha, I think you fix it already. Let close it for now
Comment #10
nquocbao commented