Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • timwu1616 Friend
    #166484

    Hello,

    I need your help for displaying block info with ?tp=1 in JAT3.
    I am new to JAT3 and I am t3_framework_2_for_joomla_1.6_(2010_version) adn installed the quickstart from it. But http://localhost/jaquickstart/index.php?tp=1 does not show the block info. Did I miss anything here?

    Thank you in advance.

    Tim

    pritam Friend
    #402023

    Hello Timwu1616 ,

    To Displaying blocks (?tp=1) working

    You need to goto admin login ->extensions->template manager->your template ->Global -> System Settings -> Enable Template Information -> Yes . Now you can see Displaying blocks (?tp=1) .

    timwu1616 Friend
    #402047

    Hello pritam,

    Thank you for your comments. But it does not work for me. Are there any other settings I can try?

    pritam Friend
    #402052

    Hello timwu1616 ,

    Can you please send your site url and admin access at http://support.joomlart.com/staff/index.php?/Tickets/Ticket/View/76964 . So that we can help you better.

    timwu1616 Friend
    #402104

    It is running on my local PC.

    pritam Friend
    #402215

    Hello timwu1616 ,

    When your site go online send your site url , we will try to solve the issue .

    bsdvn Friend
    #403755

    hi

    It is same to me, it does not work at http://www.bsdvn.com/index.php?tp=1

    Please help me to fix it..

    Phill Moderator
    #403763

    I thinly we will need to await the joomla 1.7 release of your template. This should be quite soon. I have tested with 1.6 and it works but with 1.7 it does not appear to do so.

    bsdvn Friend
    #403767

    Thanks for your information

    basilmerulux Friend
    #408868

    I have the JAT3 template updated for Joomla 1.7, however it still doesn’t work. The option to show module information is enabled. Any thoughts?

    Manos Moderator
    #408893

    Hi,

    Are you sure you don’t have any line of code on your htaccess file that prevents this from working ?

    It might look like this :


    ##### Start ?tp=1 prevention ######
    RewriteCond %{QUERY_STRING} tp=(.*)
    RewriteRule ^(.*)$ index.php [F,L]
    ##### End ?tp=1 prevention ######

    Regards

    Manos

    basilmerulux Friend
    #409039

    Sadly, it doesn’t look like there is any code (to my limited knowledge) that would block tp=1 in the .htaccess file.

    Here’s what my .htaccess file…
    ##
    # @version $Id: htaccess.txt 21101 2011-04-07 15:47:33Z dextercowley $
    # @package Joomla
    # @copyright Copyright (C) 2005 – 2011 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##

    ##
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
    #
    # The line just below this section: ‘Options +FollowSymLinks’ may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url’s. If they work,
    # it has been set by your server administrator and you do not need it set here.
    ##

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    ## Mod_rewrite in use.

    RewriteEngine On

    ## Begin – Rewrite rules to block out some common exploits.
    # If you experience problems on your site block out the operations listed below
    # This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    # Block out any script trying to base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*)
    # Block out any script that includes a <script> tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL.
    RewriteCond %{QUERY_STRING} GLOBALS(=|{0,2})
    # Block out any script trying to modify a _REQUEST variable via URL.
    RewriteCond %{QUERY_STRING} _REQUEST(=|{0,2})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ## End – Rewrite rules to block out some common exploits.

    ## Begin – Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End – Custom redirects

    ##
    # Uncomment following line if your webserver’s URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root).
    ##

    # RewriteBase /

    ## Begin – Joomla! core SEF Section.
    #
    RewriteRule .* –
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index.php
    # and the request is for something within the component folder,
    # or for the site root, or for an extensionless URL, or the
    # requested URL ends with one of the listed extensions
    RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$ [NC]
    # and the requested path and file doesn’t directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn’t directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End – Joomla! core SEF Section.

    I even tried disabling SEF and URL rewriting in the J1.7 backend and it made no difference. Cleared cache, no changes.

    Anyone else having problems with this?

    I’m working on a live site, too, so if there’s someone out there who knows how to fix this, or at least ‘can’ learn how, perhaps access to my site might shed some light on the subject?

    Thanks =)
    -Basil

    basilmerulux Friend
    #409041

    It might be prudent to change the status of this thread from ‘answered’, to ‘problem’ or something else fitting. The original problem was never solved, so a status of ‘answered’ is quite misleading. Just a heads up. =)

    peteru6 Friend
    #454916

    I, too have this problem but only on one or two of my sites. No reference to tp in .htaccess. Template config is set to enable template information.

    This seems to be specific to a site rather than a template.

    The site affected is one where the content was migrated from J1.5 if that might be the cause.

    peteru6 Friend
    #454918

    UPDATE – SOLUTION FOUND

    This problem was fixed by the following procedure which was copied from http://www.jwdshare.com/how-to-preview-module-positions-in-joomla-1-7/:

    1. Login to the Joomla! backend.

    2. Select Template Manager from the Extensions menu:

    3. Click on the Options icon:

    4. Click on the Enabled button of the Preview Module Positions entry.Then click on Save or Save & Close to save the change.

    5. Observe that module positions are now visible on your Joomla! pages when you append ?tp=1 to the end of your URL, When you are done examining module positions, remember to set Preview Module Positions to Disabled.

Viewing 15 posts - 1 through 15 (of 15 total)

This topic contains 15 replies, has 7 voices, and was last updated by  peteru6 11 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum