<html><head></head><body><div class="ydp78ae3653yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false">Thank you Petko.<br></div><div><br></div>
</div><div id="yahoo_quoted_2537770869" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, February 3, 2021, 2:27:41 AM EST, Petko Yotov <5ko@5ko.fr> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On 02/02/2021 23:17, Michael Elliott wrote:<div class="yqt7999289074" id="yqtfd17734"><br clear="none">> In PMWiki where is the appropriate place to change\set the Edit<br clear="none">> TextArea Width (AKA cols) and height (AKA rows)?<br clear="none">> I saw some obsolete Cookbooks and also tried editing Site.EditForm<br clear="none">> page adding properties to (:input e_textarea :) without success.</div><br clear="none"><br clear="none">Some skins use a separate edit form page, not Site.EditForm -- check the <br clear="none">skin documentation.<br clear="none"><br clear="none">To set it by default for all users, add to config.php:<br clear="none"><br clear="none"> $XL['en']['e_cols'] = 90;<br clear="none"> $XL['en']['e_rows'] = 12;<br clear="none"><br clear="none">If you're loading a different language via XLPage(), change the key 'en' <br clear="none">with the key for your language e.g. 'fr' for French. If you're using <br clear="none">multiple languages, add them as new lines.<br clear="none"><br clear="none">Independently of the above, you and other users can set their own <br clear="none">preferences for this, see the pages:<br clear="none"><br clear="none"> <a shape="rect" href="https://www.pmwiki.org/wiki/PmWiki/SitePreferences" target="_blank">https://www.pmwiki.org/wiki/PmWiki/SitePreferences</a><br clear="none"> <a shape="rect" href="https://www.pmwiki.org/wiki/Site/Preferences" target="_blank">https://www.pmwiki.org/wiki/Site/Preferences</a><br clear="none"><br clear="none">They need to create on your own wiki a page Group.MyPrefs with the <br clear="none">settings and follow a link like ?setprefs=Group.MyPrefs. Then their <br clear="none">preferences page is remembered in a cookie and will be parsed to get the <br clear="none">numbers when they edit a page.<br clear="none"><br clear="none">Also note that some skins may use a different edit form, and/or set the <br clear="none">textarea width and height via CSS (which overrides the cols and rows <br clear="none">attributes). The PmWiki-responsive skin for example sets the textarea <br clear="none">width. In that case, you can set the width and height in the file <br clear="none">pub/css/local.css (which normally overrides the skin's CSS file):<br clear="none"><br clear="none"> #wikiedit textarea {<br clear="none"> width: 99.5%;<br clear="none"> max-width: 99.5%;<br clear="none"> max-height: 60vh;<br clear="none"> }<br clear="none"><br clear="none">If it is a core skin, or one from the cookbook, this allows you to keep <br clear="none">the original skin and is easier to update the skin to a new version <br clear="none">without losing your customization.<br clear="none"><br clear="none">(The selector "#wikiedit textarea" should be standard for most skins but <br clear="none">some skins may use their own CSS classes and identifiers. If you have <br clear="none">difficulties, ask the maintainer of the skin -- or here on the mailing <br clear="none">list.)<br clear="none"><br clear="none">Petko<div class="yqt7999289074" id="yqtfd20659"><br clear="none"></div></div></div>
</div>
</div></body></html>