Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Spacing in Page Numbering
Previous Previous
 
Next Next
New Post 6/27/2008 2:30 PM
User is offline Mike Riley
223 posts
9th Ranked


Spacing in Page Numbering 

This is specifically an XSL question....not a DNN question, per se.  But I'm hoping someone can offer some insight.

I'm using the XML/XSL Module to display data in "pages."  I tweaked the paging code that is part of the UDT XSL generator.

The section in question that I'm struggling with is:

  <xsl:template name="pagingSinglePages">
    <xsl:param name="pageNumber" select="1" />
    <xsl:param name="maxPages" select="ceiling(count($bookcount) div $itemsperpage)" />
    <xsl:choose>
      <xsl:when test="$param_page=$pageNumber">
        [<xsl:value-of select="$pageNumber" />]&#160;
      </xsl:when>
      <xsl:otherwise>
        <a href="?sp={$pageNumber}">
          <xsl:value-of select="$pageNumber" />
        </a>
      </xsl:otherwise>
    </xsl:choose>
<xsl:if test="$pageNumber &lt; $maxPages">
<xsl:call-template name="pagingSinglePages"><xsl:with-param name="pageNumber" select="$pageNumber +1" /><xsl:with-param name="maxPages" select="$maxPages" /></xsl:call-template>
</xsl:if>
</xsl:template>

If you visit http://www.devodog.us/Comics/ComicsA/tabid/159/Default.aspx, you'll see what I mean.  I can't seem to get spacing correct in the First, Previous, #, Next, Last section.  I'm tried adding &#160; code, but it's being ignored when the page is rendered.

 
New Post 6/28/2008 10:19 AM
User is offline Stefan Cullmann
1486 posts
6th Ranked








Re: Spacing in Page Numbering 

Mike, your site returns only random chars:

��`I�%&/m�{J�J��t��`$ؐ@������iG#)�*��eVe]f@�흼��{���{���;�N'���?\fdl��J�ɞ!���?~|?"��O�:�����vQ�i�-/>�(_n�Z>ͳYZ�>���� �no���t��j_��������t;�����ݻWWW�Y�.�vI_���"��〟T�뺸�����N�����M��a�q�'���Q��� $���cA�H��~�"o3��/��+����Y�Q���g�^���w�|���G�Z����죑����w�B���ɗ/�Wg����7 ��2}3ω��j��}؟�˜�Y���/N_���ۛ�>��u;w�������H�W��������6D���˓��8}������7�Ξ|����^�ϟ���y��O�|�������{�>����/��G�'�^���>~����n����y�k}�����> L8H�v�����g�<��t��~�_�Y�Jc��Z������"���apM{]�L����e�M�yU�r"{{�"l��]{w�4=�˭����-���?͛�m�����˼�����j��� B������>�w�y��=����?��n�n��?s��~�/��������g�y�.�����wͫw��^v~��o�e����Z�g���5�۹�0�Zw�{c�'4�YA�����\��������u�vB���� ��qr]x�Ż؈���{ſY�m���ɏuD;=J�]-rҀw��㻰rP��jv͘<�_`��/�fZ���_���^��=�_?JI��XU ��MY<>�,�5�wq�<_NeX ��Xeu{ �gY�}���?�h�C_>Jwwv~�C�n+��2o�������ďb�Z�J�y1��K��~����'I����������2�y��#�6��-U},�������w_�9~sj y(��W�/�^}��/~��_<��ޗO��{���}��}^>�8˟<{U����g/�j����ӟ|V�ī�O�~�t���gO~�'޾��O\�_\��^<}~��������^�xsr�����/~��ߙO�/V������YCm��)�>���'��)~��}N�}1�n�{�X�>�we��O�_|�ɓ�o�>{׳������ߝ�=����_|�������������}ռ:��%�=exWgϾ�Ջ����컳jvr\�>�o/����/O���'ߙO��>��������w�{?�p�s�|���'w�,����O��������?���<#~jo~9��_��� �t|!c�������SO~��?O~����D�d���d��W��}���N�>{���~N'{�jr�'�S����Y<�#��D���.���-�;�oJt�7�7]���?�7�#���N��?�ݟ�Ͼ�n�����ߞ�%���.��b�tz��������W��W{�j��a�-~�gO����O~A��&������ٛ��8;�)��'?�����,�^Ѽ��=��՛l�\����/��������g�)j���z�����x�h�`̟Ә�{�O^=��d��rB���{?Y�={Q�>��w~:{r����w��������)�u����7��>k&L�Wo�ӷ��xv� ���⫽��O/*3^����s��'�z����|������W�w��O�����+π~�Oοx���W�Y���o��O��Y��ʷ��/>�����w^O/h̫�������d����O^~~z�}���w�ٷ_�L�V�ω�f�������S�?E2�|��?�������~�x���������wb��p������`����?�"����'h��f����/��|��NN�/VW?u�S;��w�����;?xQ�T�}�'�x3ݧ��L>/����wK���;פGd�������~����>�̞�,c�Hp��=������9^>������O^�<|��޿���;?��* .......


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
New Post 6/28/2008 11:42 AM
User is offline Mike Riley
223 posts
9th Ranked


Re: Spacing in Page Numbering 

Darn.  I thought I had resolved that issue (it's a problem with PageBlaster).

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  Spacing in Page Numbering
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP