Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 18
SyntaxHighlighte... 42
Newsletters v4.03 103
Facebook Like Box 115
Newsletters v4.02 55
Metro 143
Facebook Connect 161
Shoutbox Panel 123
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 146
Avatar Studio v2.03 175
Relationship Sta... 93
Sexual Orientati... 111
Fisherman 138
Popular Addons
iTheme2 5789
Arise 5778
User Control v1.23 4608
Event Calendar 4036
Photowidget panel 3879
Radio-Theme red2... 3343
Highslide Gallery 3306
CSS/JavaScript D... 3218
Facebook Connect... 2972
Dynamic Menu 2885
Slideshow Lightb... 2712
L-AMANT 2654
Enigma 2628
2Dark 2601
Black 2565
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Ideas for Modifications and Requests
Who is here? 1 guest(s)
 Print Thread
Contact Us
jikaka
sometimes you want to feedback page (http://www.php-fu...ontact.php) specify some things before the words
Please fill in all fields and we will get back to you as soon as possible.

for example, address, phone, etc.

edit locale is very uncomfortable
I would like to be able to do so via the Admin Panel

I am implementing, through the box of the file viewpage.php
you can edit respectively on id and the page itself

there are other better options?
might be worth it in the engine?
what can you say?
www.rusfusion.ru - russian nss
 
www.rusfusion.ru
Ankur
jikaka wrote:

sometimes you want to feedback page (http://www.php-fu...ontact.php) specify some things before the words
Please fill in all fields and we will get back to you as soon as possible.

for example, address, phone, etc.


Nice idea... Cool

jikaka wrote:

edit locale is very uncomfortable
I would like to be able to do so via the Admin Panel

I am implementing, through the box of the file viewpage.php
you can edit respectively on id and the page itself

there are other better options?
might be worth it in the engine?
what can you say?


I did not get what you said here Sad
ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
jikaka
I did not get what you said here

I create the page Contacts in admin Panel
let's say this page is viewpage.php?page_id=3
i.e., id = 3
next, modify the file contact.php
at the beginning of the file get id page
$_GET['page_id'] = "3";

next, change the line
opentable($locale['400']);
echo $locale['401']."<br /><br />\n";
echo "<form name='userform' method='post' action='".FUSION_SELF."'>\n";

replace them:
opentable($locale['400']);
$cp_result = dbquery("SELECT * FROM ".DB_CUSTOM_PAGES." WHERE page_id='".$_GET['page_id']."'"Wink;
if (dbrows($cp_result)) {
$cp_data = dbarray($cp_result);
if (checkgroup($cp_data['page_access'])) {
ob_start();
eval("?>".stripslashes($cp_data['page_content'])."<?php "Wink;
$custompage = ob_get_contents();
ob_end_clean();
if ($settings['tinymce_enabled']) {
$custompage = explode("<!-- pagebreak -->", $custompage);
$pagecount = count($custompage);
echo $custompage[$_GET['rowstart']];
if ($pagecount > 1) {
echo "<div align='center' style='margin-top:5px;'>\n".makepagenav($_GET['rowstart'], 1, $pagecount, 3, FUSION_SELF."?page_id=".$_GET['page_id']."&amp;"Wink."\n</div>\n";
}
} else {
echo $custompage;
}
} else {
echo "<div class='admin-message' style='text-align:center'><br /><img style='border:0px; vertical-align:middle;' src ='".BASEDIR."images/warn.png' alt=''/><br /> ".$locale['400']."<br /><a href='index.php' onclick='javascript:history.back();return false;'>".$locale['403']."</a>\n<br /><br /></div>\n";
}
}
echo "<br/><form name='userform' method='post' action='".FUSION_SELF."'>\n";


accordingly, this page of contact.php displays the contents viewpage.php?page_id=3

Merged on Jan 27 2012 at 20:19:07:
in general, I'm not wait proposals
made an addon, which added to the database for approval
Smile
Edited by jikaka on 27-01-2012 16:19
www.rusfusion.ru - russian nss
 
www.rusfusion.ru
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Custom Contact Form Panels and Infusions 3 09-04-2013 17:38
Contact Me page Content Administration 7 09-03-2013 21:49
Contact Info Panel Official releases [Infusions] 1 07-02-2013 04:51
Quick Contact Official releases [Panels] 1 03-02-2013 11:34
Update Custom Contact Infusion! Panels and Infusions 6 31-01-2013 05:43
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue