Welcome to TalkGraphics.com
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 220

Hybrid View

  1. #1
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Thanks for the info, Steve. I was even able to change the curse shape to a crosshair ...

    I thought perhaps by placing the code into the placeholder of the Dragging PopUp Object that the cursor change would activate only when the PopUp layer appeared.

    My object was to have the cursor change when it was over the invisible Dragging PopUp Object, making it more apparent to the user that the PopUp could be moved.

    I came up with the following as workaround; however. If you move the cursor over the triangle, a tooltip appears. The cursor can change to a hand if you hit the sweetspot. It kind of works.
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2001
    Location
    Surrey, BC, Canada
    Posts
    2,379

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Thanks John,
    Many thanks for the 'Tweakset' much appreciated.
    JimM

  3. #3
    Join Date
    Mar 2009
    Location
    Surrey UK
    Posts
    104

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Thanks John, for all your efforts.
    Peter

  4. #4
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Thanks again John
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

  5. #5

    Info Re: [tweaks] The tweaks set for XWD 5.0.1

    The WD6 TweakSet now has it's own thread.

    WD6 Tweak Set

  6. #6
    Join Date
    Jan 2010
    Location
    Dublin, Ireland
    Posts
    10

    Default Re: [tweaks] The tweaks set for XWD 5.0.1 / XWD 6

    Hi John,

    Could you please advise me how to use the dynamic content tweak...?

    Is the syntax for my context <?php filename.htm ?>

    Thank You
    John

  7. #7
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    No. If you have some dynamic content, you must have some server side script that generates HTML based on it (usually a database of some sort). Provider of the script will usually give you instructions which PHP code to use with your page to have the content inserted.

    If you don't have any thing like that and simply want to insert some text file or partial HTML you can use the php include command which looks like this:
    Code:
    <? include 'filename.txt'; ?>
    Where 'filename.php' is actual name of the text file you want to place into your page.
    To make it work, the page that contains this script has to have a .php extension. You can set it in the web properties dialog with your page file name.
    Also your host has to support PHP. This may be not the case for some cheap or free hosting plans. For example, free Magix hosting provided with WD6 does not support it.
    And finally, if you decide to insert an HTML, this should be a fragment of the HTML which does not include head section and body tags.

    Basically that's it. Ask me if you have more questions.
    John.

  8. #8

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Quote Originally Posted by covoxer View Post
    To make it work, the page that contains this script has to have a .php extension. You can set it in the web properties dialog with your page file name.
    This only works for pages AFTER the first page
    WD6 still exports the first page as *.htm no matter what.

  9. #9
    Join Date
    Aug 2008
    Location
    Canton, GA
    Posts
    666

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Though you CAN rename the first page htm to php. You just have to be careful because each time you do this, the next time you export, you will have index.htm and index.php. You have to delete the php (old one), then rename the htm to php. You need to do this manually for the first page as Sledger said it can't be done from inside WD and you have to remember to do it each time you export and also to make sure that there isn't an index.htm in there, because it might get used as the default and you'll be frustrated when you don't see the php changes or you see code in the middle of the page.

    Hope that adds something.

  10. #10
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    To avoid hassle with files renaming, if you need your index page to be php, simply make a second page in your design an index.php. If you have no htm pages at all, just insert a dummy first page with any irrelevant name like 404.htm Though the meaningful name would be better as it will influence the files folder name used.
    John.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •