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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Owner

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

This comment has been minimized.

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

This comment has been minimized.

Owner

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