Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit views #16

Closed
jrlenz opened this issue Sep 14, 2013 · 3 comments
Closed

edit views #16

jrlenz opened this issue Sep 14, 2013 · 3 comments
Assignees
Milestone

Comments

@jrlenz
Copy link

@jrlenz jrlenz commented Sep 14, 2013

how can we actually edit views to apply match-clients {} ? purpose being GeoIP; facileManager seems to be well-suited to it otherwise. Quick and easy setup.

@ghost ghost assigned WillyXJ Sep 14, 2013
@WillyXJ
Copy link
Owner

@WillyXJ WillyXJ commented Sep 14, 2013

Wow, what an oversight! This will be fixed in 1.0-rc2, but to get you going, run the following on your MySQL database:

INSERT IGNORE INTO fm_dns_functions (
def_function ,
def_option ,
def_type ,
def_multiple_values ,
def_view_support
)
VALUES
('options', 'match-clients', '( address_match_element )', 'yes', 'yes'),
('options', 'match-destinations', '( address_match_element )', 'yes', 'yes'),
('options', 'match-recursive-only', '( yes | no )', 'no', 'yes');

Once done, you can click on your view which will bring up the options page. Click the + and select 'match-clients' from the drop-down list and fill in your address_match_element.

I'll leave this issue open until rc2 is released and resolves this issue.

@jrlenz
Copy link
Author

@jrlenz jrlenz commented Sep 14, 2013

Yeah I looked into the code and hacked it already, but thanks for the reply :)

----- Original Message -----
From: "WillyXJ" notifications@github.com
To: "WillyXJ/facileManager" facileManager@noreply.github.com
Cc: "jrlenz" jrlenz@jrlenz.com
Sent: Saturday, September 14, 2013 10:28:30 PM
Subject: Re: [facileManager] edit views (#16)

Wow, what an oversight! This will be fixed in 1.0-rc2, but to get you going, run the following on your MySQL database:

INSERT IGNORE INTO fm_dns_functions (
def_function ,
def_option ,
def_type ,
def_multiple_values ,
def_view_support
)
VALUES
('options', 'match-clients', '( address_match_element )', 'yes', 'yes'),
('options', 'match-destinations', '( address_match_element )', 'yes', 'yes'),
('options', 'match-recursive-only', '( yes | no )', 'no', 'yes');

Once done, you can click on your view which will bring up the options page. Click the + and select 'match-clients' from the drop-down list and fill in your address_match_element.

I'll leave this issue open until rc2 is released and resolves this issue.


Reply to this email directly or view it on GitHub .

@WillyXJ
Copy link
Owner

@WillyXJ WillyXJ commented Sep 18, 2013

This has been fixed in 1.0-rc2.

@WillyXJ WillyXJ closed this Sep 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants