Page 1 of 1
Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 2:48 pm
by Adendum
I was about to start on a new jQuery menu extension and have realised that there does not appear to be an option in the Extension Builder to provide the end user the option to Sync with WB's Site Manager.
Unless I am missing something does this mean the only option is to have the end user manually specify each page/URL for every button?
Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 3:13 pm
by Pablo
No, this option is currently no available.
And to be honest, I do not know how to implement a feature like this so it can easily be used by an extension developer...
Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 3:53 pm
by Adendum
OK, that's understood.
This particular menu can take it's target URLs from a simple Unordered List much like this:-
Code: Select all
<ul>
<li><a href="#">Breaking News</a>
<ul>
<li><a href="#">Entertainment</a></li>
<li><a href="#">Politics</a></li>
<li><a href="#">A&E</a></li>
<li><a href="#">Sports</a>
<ul>
<li><a href="#">Baseball</a></li>
<li><a href="#">Basketball</a></li>
<li><a href="#">Rugby</a></li>
<li><a href="#">Swimming</a>
<ul>
<li><a href="#">High School</a></li>
<li><a href="#">College</a></li>
<li><a href="#">Professional</a>
<ul>
<li><a href="#">Mens Swimming</a>
<ul>
......and so on......
So....I doubt there is there anything in the Extension Builder that will easily facilitate the creating of an unordered list, therefore does anyone know of any simple tools (online of offline) that would allow the end user to create his menu button list easily (in something like Excel maybe?) and export a simple text file such as above?
I'm probably barking up the wrong tree here and potentially making life difficult but I'd be interested to hear any suggestions

Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 4:01 pm
by Pablo
So....I doubt there is there anything in the Extension Builder that will easily facilitate the creating of an unordered list,
You can create this structure with XML templates and a data set. Many extensions do already use this feature.
However there is no way to fill a data set automatically based on the Site manager structure, because most menu require a different structure.
Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 4:15 pm
by Adendum
Yes I am aware of this as I have used several XML templates in the extensions I have previously built.
I think what I am looking for is an easy way for the end user to create an unordered list for their button names, which the extension would use (read) as its input source and then have an XML file to append the href links......or am I getting too adventurous here?
Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 4:25 pm
by Adendum
Forget this one!!
I'm already in dread of finding something that will start me on the process. I'll look at another menu extension I have been considering - CSS based. Should be easier!!
Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 4:34 pm
by BaconFries
Ok this may help...but it will need you to use more than one datbase
make your first database add a xsl file to go along with it name something like input1.xsl then for each <ul></ul> make a xsl file for that too...
Place this in body of the builder no xsl required just allow use to set with a variable in the extension...
<ul>
<li><a href="#">Breaking News</a>
</ul>
Then use as it is below adding a <ul></ul> as needed with its own xsl inbetween....
<ul>
input1.xsl <<<<<< First dataset
</ul>
<ul>
input2.xsl <<<<<<< Second dataset
</ul>
<ul>
input3.xsl <<<<<< Third dataset
</ul>
......and so on......
Re: Creating a menu extension - sync with Site Manager??
Posted: Sat Sep 10, 2011 4:46 pm
by Adendum
Hey Bacon,
Thought you were recuperating!!
Thanks for thinking about this one but it already looks far to complicated for what was meant to be a nice and simple extension. I may have another look later on but I've started on a nice CSS based menu now...and already made progress!
Check your email BTW as I sent another plea for help on the Orbit Slider linking.
