Replacement Tags Helper
OK I 'v modify the part for users without definied stiles
Can anybody test with AND without definied stiles to?
I test it only with Release 1.1-RC4 27-08-2004
Can anybody test with AND without definied stiles to?
I test it only with Release 1.1-RC4 27-08-2004
Last edited by Neelix on Thu 18. Nov 2004, 09:33, edited 1 time in total.
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Email for tags helper
here is some email form tags which you can add them to your taghs.php
<div class="dhtml_menutitle" onclick="SwitchMenu('sub7')">Email form » </div>
<span class="dhtml_submenu" id="sub7">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IT|textfield|1|Textfield: |40,100|your text here|300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IP|password|0|Password: |12,100||100">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="TA|textarea|0|Textarea: |20,3||300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="SM|selectmenu|0|Selectmenu: |20,100|Test#Test2#Test3|300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="SL|selectlist|0|Selectlist: |3,0|1%Test#2%Test2#3%Test3#4%Test4|200">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IC|checkbox|1|Checkbox: |50,3|mark1%1%DU#mark2#mark3#List1#List2#List3|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IR|radio|1|Radio: |50,0|mark1%1%DU#mark2#mark3|0 ">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="SC|country|0|Country: |10,100|FR|300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IN|inputname|1|Inputname: |40,100||300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|language|0||10,100|EN|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|redirect|0||10,100|http://www.domain-name.com|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|redirect_error|0||10,100|http://www.domain-name.com|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|send_copy|0||10,100|1|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|email|0||10,100|adress@name-domain.com|0">
</span>
<div class="dhtml_menutitle" onclick="SwitchMenu('sub7')">Email form » </div>
<span class="dhtml_submenu" id="sub7">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IT|textfield|1|Textfield: |40,100|your text here|300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IP|password|0|Password: |12,100||100">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="TA|textarea|0|Textarea: |20,3||300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="SM|selectmenu|0|Selectmenu: |20,100|Test#Test2#Test3|300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="SL|selectlist|0|Selectlist: |3,0|1%Test#2%Test2#3%Test3#4%Test4|200">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IC|checkbox|1|Checkbox: |50,3|mark1%1%DU#mark2#mark3#List1#List2#List3|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IR|radio|1|Radio: |50,0|mark1%1%DU#mark2#mark3|0 ">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="SC|country|0|Country: |10,100|FR|300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IN|inputname|1|Inputname: |40,100||300">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|language|0||10,100|EN|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|redirect|0||10,100|http://www.domain-name.com|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|redirect_error|0||10,100|http://www.domain-name.com|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|send_copy|0||10,100|1|0">
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
onclick="if(window.fExample) window.fExample(this);" value="IH|email|0||10,100|adress@name-domain.com|0">
</span>
I'm not sure about anyone else, but I installed this and then hated how it gets shown EVERYWHERE in the CMS management tool, even places where it makes no sense. I had users all confused over what they could do, where they could do it, etc.
So, I modified the entry in PHPwcms so that it would only show this helper in the admin section (where I or other tech users work on the site) or in the article sections themselves.
Basically just replace this:
With this:
Basically it just tests area values to see where you are, and only writes in certain areas and area/page combinations. You could further tailor it so it doesn't appear on the "article" page but only on content part or article management pages where you can actually use the tags, but I didn't feel like taking it to that level of ganularity.
Best,
Rick
So, I modified the entry in PHPwcms so that it would only show this helper in the admin section (where I or other tech users work on the site) or in the article sections themselves.
Basically just replace this:
Code: Select all
<?php include_once ("./include/inc_ext/tags_helper/tags.php"); ?>
Code: Select all
<?php
if(($do == "articles" && (($p == 1) || ($p == 2))) || ($do == "admin")){
include_once ("./include/inc_ext/tags_helper/tags.php");
}
?>
Best,
Rick
Hi TagHelper,
my2cents4today:
maybe it's an good idea to set the accesskeys not all to the same [ALT+x]
and show the keys =>
as example:
for the GT-Part, show an tooltip with the key for the current RT.
Set all accesskeys from a..z (or what ever you / or your browser) like...
#---[open]---
tags.php
#---[find]---
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
#---[replace with]---
# for all submenus in the same manner!
<input class="input_tags" accesskey="a" onfocus="if(window.fExample) window.fExample(this)"
<input class="input_tags" accesskey="b" onfocus="if(window.fExample) window.fExample(this)"
...
looks (an little bit) better now?
regards / Grüße Neelix
my2cents4today:
maybe it's an good idea to set the accesskeys not all to the same [ALT+x]
and show the keys =>
as example:
Code: Select all
echo '<input title="[ALT+'.chr(65+$i).']" class="input_tags" accesskey="'.chr(65+$i).'" onfocus="if(window.fExample) window.fExample(this)"';
for the GT-Part, show an tooltip with the key for the current RT.
Set all accesskeys from a..z (or what ever you / or your browser) like...
#---[open]---
tags.php
#---[find]---
<input class="input_tags" accesskey="x" onfocus="if(window.fExample) window.fExample(this)"
#---[replace with]---
# for all submenus in the same manner!
<input class="input_tags" accesskey="a" onfocus="if(window.fExample) window.fExample(this)"
<input class="input_tags" accesskey="b" onfocus="if(window.fExample) window.fExample(this)"
...
looks (an little bit) better now?
regards / Grüße Neelix
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Script is upgraded again, I added the call to the tooltips with short instruction for each tag. Just move your mouse over over tag name and tooltip appears. Also, reduced script size 11kb.
p.s. Neelix, is there a real benefit to set the accesskeys for every input field, can you explaine me more in details how this work?
p.s. Neelix, is there a real benefit to set the accesskeys for every input field, can you explaine me more in details how this work?
modules: no modules enabled
hi,
this is great. Just one query:
I have ionrock's calender mod installed but it doesn't appear in the modules submenu. Any idea how i can get it to appear?
thanks
anton
this is great. Just one query:
I have ionrock's calender mod installed but it doesn't appear in the modules submenu. Any idea how i can get it to appear?
thanks
anton
@Goran,
there we have two new tags since version v1.2.8. http://www.phpwcms.de/forum/viewtopic.php?t=11933
{NAV_LIST_UL:......} http://www.phpwcms.de/forum/viewtopic.php?t=12165
and
{SHOW_CONTENT:MODE,id,id,id,.....} http://www.phpwcms.de/forum/viewtopic.php?p=72571#72571
I have ubdated your snippet.
But I think the better way is, you would do this by yourself.
[EDIT]See the download link in the first post. http://www.phpwcms.de/forum/viewtopic.php?t=3824[/EDIT]
Regards Knut
there we have two new tags since version v1.2.8. http://www.phpwcms.de/forum/viewtopic.php?t=11933
{NAV_LIST_UL:......} http://www.phpwcms.de/forum/viewtopic.php?t=12165
and
{SHOW_CONTENT:MODE,id,id,id,.....} http://www.phpwcms.de/forum/viewtopic.php?p=72571#72571
I have ubdated your snippet.
But I think the better way is, you would do this by yourself.
[EDIT]See the download link in the first post. http://www.phpwcms.de/forum/viewtopic.php?t=3824[/EDIT]
Regards Knut
Last edited by flip-flop on Fri 29. Dec 2006, 13:50, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi,
it works for me like a charme.
Around Line: 289 phpwcms.php (V1.2.9)
Knut
it works for me like a charme.
Around Line: 289 phpwcms.php (V1.2.9)
Code: Select all
echo online_users($db, "<br />", "<span class=\"subnavinactive\">|</span>");
?>
<?php
// REPLACEMENT TAGS HELPER
if(($do == "articles" && (($p == 1) || ($p == 2))) || ($do == "admin" && (($p == 11)))){
include_once ("./include/inc_ext/tags_helper/tags.php"); }
?>
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )