登录 注册

登录

问题 修改模块的代码!

更多
2010年10月08日 16:17 #1 作者: coolhan
coolhan 创建了话题: 修改模块的代码!
<param name="a19" type="radio" default='2' label="Enable position 19" description="">
<option value='1'>Yes</option>
<option value='2'>No</option>
</param>
<param name="priority19" type="text" default="" label="Priority" description="Enter the priority. Lower numbers have highest priority (e.g. -1) and will appear at top of display.. Use this to arbitarily set display order."></param>
<param name="file19" type="text" default="" label="Image file name" description="The name of the file, already uploaded in mod images directory"></param>
<param name="url19" type="text" default="" label="URL http://" description="URL without http://"></param>
<param name="sb19" type="text" default="" label="Self or Blank" description="Enter Self for opening the page in the same window, Blank for opening the page in a new window. (case sensitive. e.g. Self)"></param>
<param name="ttl19" type="text" default="" label="Title" description="Enter a title or leave blank to use the URL as a title."></param>
<param name="frontxt19" type="text" default="Your ad here" label="Short description" description="Short description on mouse over"></param>
<param name="follow19" type="text" default="" label="Bots Follow or NoFollow " description="Enter 1 for Follow, blank for NoFollow"></param>
<param name="caption19" type="text" default="" label="Small caption " description="Enter a small caption"></param>
<param name="validity19" type="text" default="" label="Valid dates " description="Enter either a) an END date or b) an END and a START date separated by a semicolon (;). Date format is same as used by strtotime()."></param>
<param name="@spacer" type="spacer" default="" label="" description=""></param>
<param name="a20" type="radio" default='2' label="Enable position 20" description="">
<option value='1'>Yes</option>
<option value='2'>No</option>
</param>
<param name="priority20" type="text" default="" label="Priority" description="Enter the priority. Lower numbers have highest priority (e.g. -1) and will appear at top of display.. Use this to arbitarily set display order."></param>
<param name="file20" type="text" default="" label="Image file name" description="The name of the file, already uploaded in mod images directory"></param>
<param name="url20" type="text" default="" label="URL http://" description="URL without http://"></param>
<param name="sb20" type="text" default="" label="Self or Blank" description="Enter Self for opening the page in the same window, Blank for opening the page in a new window. (case sensitive. e.g. Self)"></param>
<param name="ttl20" type="text" default="" label="Title" description="Enter a title or leave blank to use the URL as a title."></param>
<param name="frontxt20" type="text" default="Your ad here" label="Short description" description="Short description on mouse over"></param>
<param name="follow20" type="text" default="" label="Bots Follow or NoFollow " description="Enter 1 for Follow, blank for NoFollow"></param>
<param name="caption20" type="text" default="" label="Small caption " description="Enter a small caption"></param>
<param name="validity20" type="text" default="" label="Valid dates " description="Enter either a) an END date or b) an END and a START date separated by a semicolon (;). Date format is same as used by strtotime()."></param>
<param name="@spacer" type="spacer" default="" label="" description=""></param>
<param name="a21" type="radio" default='2' label="Enable position 21" description="">
<option value='1'>Yes</option>
<option value='2'>No</option>
</param>
<param name="priority21" type="text" default="" label="Priority" description="Enter the priority. Lower numbers have highest priority (e.g. -1) and will appear at top of display.. Use this to arbitarily set display order."></param>
<param name="file21" type="text" default="" label="Image file name" description="The name of the file, already uploaded in mod images directory"></param>
<param name="url21" type="text" default="" label="URL http://" description="URL without http://"></param>
<param name="sb21" type="text" default="" label="Self or Blank" description="Enter Self for opening the page in the same window, Blank for opening the page in a new window. (case sensitive. e.g. Self)"></param>
<param name="ttl21" type="text" default="" label="Title" description="Enter a title or leave blank to use the URL as a title."></param>
<param name="frontxt21" type="text" default="Your ad here" label="Short description" description="Short description on mouse over"></param>
<param name="follow21" type="text" default="" label="Bots Follow or NoFollow " description="Enter 1 for Follow, blank for NoFollow"></param>
<param name="caption21" type="text" default="" label="Small caption " description="Enter a small caption"></param>
<param name="validity21" type="text" default="" label="Valid dates " description="Enter either a) an END date or b) an END and a START date separated by a semicolon (;). Date format is same as used by strtotime()."></param>
</params>
<params group="advanced">
<param name="cache" type="list" default="1" label="Caching" description="Select whether to cache the content of this module">
<option value="1">Use global</option>
<option value="0">No caching</option>

</param>
<param name="cache_time" type="text" default="900" label="Cache Time" description="The time before the module is recached" />
</params>
</install>
本人水品菜菜,在网上找了友情链接木块,可以带图片的,但是模块自带的只有20个位置,我想多谢位置,最后自己琢磨后改了一段代码
就是21号,黄色部分,成功为模块添加了一个位置,即有了21个位置。一段段修改太慢了,代码都一样,就是数字递增而已,哪位大侠能给出详解?

登录 或者   注册一个会员帐号 来参与讨论