Re: Link Manager 3.0 release
Wow, I feel stupid! I dont know how I missed a few of those! Anyways it works now :clap: Do you know of a banner manager module or can I incorperate something like that into your links manager? If I can then how would it be done?
Thanks!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
oxicottin
Wow, I feel stupid! I dont know how I missed a few of those! Anyways it works now :clap: Do you know of a banner manager module or can I incorperate something like that into your links manager? If I can then how would it be done?
Thanks!
Open admin -> extras -> links
There is an option for including an image for the link:
"image URL"
You can use that to include a "banner" for the link.
Re: Link Manager 3.0 release
Re: Link Manager 3.0 release
Clyde, How would I go about adding a section in the area you fill out for submitting a link? I want an area that asks for the link to the persons banner just like and right under the Reciprocal Page Details section.
Thanks!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
oxicottin
Clyde, How would I go about adding a section in the area you fill out for submitting a link? I want an area that asks for the link to the persons banner just like and right under the Reciprocal Page Details section.
Thanks!
Add the necessary define statements for that field to:
includes/languages/english/extra_definitions/links_manager_defines.php
Add the code necessary to draw the field in:
includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php
Re: Link Manager 3.0 release
Clyde, I have no Idea where to even begin with the .php files you suggested altering. I have very minimal experience (Newbie) with .php,xtml,html ect... I tried finding the reciptical area in the php files and copy and pasted the code below it and renamed the recipical areas with name banner image. when I looked at it in the browser is just said there were an error in the file? What exactly do I have to alter to get this to work? Thanks!!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
oxicottin
Clyde, I have no Idea where to even begin with the .php files you suggested altering. I have very minimal experience (Newbie) with .php,xtml,html ect... I tried finding the reciptical area in the php files and copy and pasted the code below it and renamed the recipical areas with name banner image. when I looked at it in the browser is just said there were an error in the file? What exactly do I have to alter to get this to work? Thanks!!
Just sent you a PM
Re: Link Manager 3.0 release
Clyde, I keep getting an Parse error: syntax error, unexpected $end in tpl_links_submit_default.php on line 130. I added this code:
Code:
</fieldset>
<?php if (SUBMIT_LINK_REQUIRE_RECIPROCAL == 'true') { ?>
<fieldset>
<legend><?php echo CATEGORY_RECIPROCAL; ?></legend>
<label class="inputLabel" for="links_reciprocal_url"><?php echo ENTRY_LINKS_RECIPROCAL_URL; ?></label>
<?php echo zen_draw_input_field('links_reciprocal_url', 'http://') . ' ' . (zen_not_null(ENTRY_LINKS_RECIPROCAL_URL_TEXT) ? '<span class="alert">' . ENTRY_LINKS_RECIPROCAL_URL_TEXT . '</span>': ''); ?>
</fieldset>
<?php if (SUBMIT_LINK_REQUIRE_BANNER == 'true') { ?>
<fieldset>
<legend><?php echo CATEGORY_BANNER; ?></legend>
<label class="inputLabel" for="links_banner_url"><?php echo ENTRY_LINKS_BANNER_URL; ?></label>
<?php echo zen_draw_input_field('links_banner_url', 'http://') . ' ' . (zen_not_null(ENTRY_LINKS_RECIPROCAL_URL_TEXT) ? '<span class="alert">' . ENTRY_LINKS_BANNER_URL_TEXT . '</span>': ''); ?>
</fieldset>
<?php
}
?>
what am I doing wrong? Thanks!
Re: Link Manager 3.0 release
Quote:
Originally Posted by
oxicottin
Clyde, I keep getting an Parse error: syntax error, unexpected $end in tpl_links_submit_default.php on line 130. I added this code:
Code:
</fieldset>
<?php if (SUBMIT_LINK_REQUIRE_RECIPROCAL == 'true') { ?>
<fieldset>
<legend><?php echo CATEGORY_RECIPROCAL; ?></legend>
<label class="inputLabel" for="links_reciprocal_url"><?php echo ENTRY_LINKS_RECIPROCAL_URL; ?></label>
<?php echo zen_draw_input_field('links_reciprocal_url', 'http://') . ' ' . (zen_not_null(ENTRY_LINKS_RECIPROCAL_URL_TEXT) ? '<span class="alert">' . ENTRY_LINKS_RECIPROCAL_URL_TEXT . '</span>': ''); ?>
</fieldset>
<?php
}
?>
<?php if (SUBMIT_LINK_REQUIRE_BANNER == 'true') { ?>
<fieldset>
<legend><?php echo CATEGORY_BANNER; ?></legend>
<label class="inputLabel" for="links_banner_url"><?php echo ENTRY_LINKS_BANNER_URL; ?></label>
<?php echo zen_draw_input_field('links_banner_url', 'http://') . ' ' . (zen_not_null(ENTRY_LINKS_RECIPROCAL_URL_TEXT) ? '<span class="alert">' . ENTRY_LINKS_BANNER_URL_TEXT . '</span>': ''); ?>
</fieldset>
<?php
}
?>
what am I doing wrong? Thanks!
Add the highlighted portion as indicated above
Re: Link Manager 3.0 release
That worked great! Now I only have the new banner section in the submit portion of your module. What other files need modifyed to inclue the "Banner" addition? like when they submit it I dont see the banner entry in the admin section... What file do I have to alter to include the banner entry so I can get thier banner url?
Thanks!