Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-04-01 16:38:51

Pascal
Member
From: France
Registered: 2012-12-04
Posts: 44

phpplugin

Hi everyone,
I went back last night to a post from three years ago about the change of hyperlinks in CE3Pages. I made some changes to my site and  was hoping to get back to that post this morning to sort my cock-ups.
Horror ! CE3 forum has just been shut overnight.
Can you please help me : i changed the main menu to default menu using phpplugin and I don't know to change it for my own.
Here is a link : http://fotopath.net/fotopath/

Thanks

Pascal

Offline

#2 2016-04-01 16:52:03

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: phpplugin

Hi Pascal,

Today is forum update day, and yes, the CE3/2 forums are shuttered. The CE3 documentation is still online, though, including our tutorials on PHPlugins. You'll find those here:
http://ce3wiki.theturninggate.net/doku.php#phplugins

Cheers,
Matt


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2016-04-01 17:03:01

Pascal
Member
From: France
Registered: 2012-12-04
Posts: 44

Re: phpplugin

Thanks Matt,
I did find the tutorial and I am reading it right now. Is there anyway I can still get your assistance on this particular issue if I get stuck ?
Pascal

Offline

#4 2016-04-01 17:16:36

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: phpplugin

I'm in the midst of writing a blog post to answer exactly that. Officially no, we're finished supporting CE3. But yes, I'll help you if I can. It's just that I'm now so long removed from using CE3, it's not easy to remember/support it.

What exactly is the problem you're having?


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2016-04-01 17:34:53

Pascal
Member
From: France
Registered: 2012-12-04
Posts: 44

Re: phpplugin

"It's amazing how things change when I am sleeping.."

I have a new blog and I wanted to change the blog hyperlink in my ttg site's menu to direct it to my new blog. So I followed your instructions from 3 years ago, deleted the lines to be deleted in the phplugins.php via FTP and I have now the default menu in my own page. I am not sure how I can customize my navigation menu and get back to how it was with just one change : "Blog" linking to my new blog.

April fool ?

Offline

#6 2016-04-01 17:38:38

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: phpplugin

No April Fools joke. Just some spring cleaning.

Can you restore your original navigation menu? I'll need to see the source code.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2016-04-01 17:59:02

Pascal
Member
From: France
Registered: 2012-12-04
Posts: 44

Re: phpplugin

How do I restore my original menu ?

Offline

#8 2016-04-01 18:02:04

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: phpplugin

Disable the PHPlugins function you created.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2016-04-01 18:04:38

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: phpplugin

This should do it. Just change the "href" for the blog item to the new url.

function ttg_header_navigation( $style, $path ) { 
    echo '
    <div id="navigation" class="tab-content clearfix">
    <div class="mantle clearfix">
        <div class="core clearfix">

        <p class="p-nav menu clearfix">

        <a href="http://fotopath.net/fotopath/index.php">accueil</a>
        <a href="http://fotopath.net/fotopath/galleries.php">images</a>
        <a href="http://fotofil.simdif.com/index.html">blog</a>
        <a href="http://fotopath.net/fotopath/contact.php">contact</a>
        
        </p>

        </div>
    </div>
    </div> <!-- #navigation / single-level -->
    ';
    return false;        // Replaces normal menu
} // END

Matt

The Turning Gate, http://theturninggate.net

Offline

#10 2016-04-01 18:21:46

Pascal
Member
From: France
Registered: 2012-12-04
Posts: 44

Re: phpplugin

Brilliant ! You're an angel !!

Thanks a lot

Pascal

Offline

Board footer

Powered by FluxBB