Creating a menu extension - sync with Site Manager??

This section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Forum rules
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Post Reply
User avatar
Adendum
 
 
Posts: 725
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Creating a menu extension - sync with Site Manager??

Post 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?
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Creating a menu extension - sync with Site Manager??

Post 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...
User avatar
Adendum
 
 
Posts: 725
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Creating a menu extension - sync with Site Manager??

Post 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 :)
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!
User avatar
Pablo
 
Posts: 21574
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Creating a menu extension - sync with Site Manager??

Post 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.
User avatar
Adendum
 
 
Posts: 725
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Creating a menu extension - sync with Site Manager??

Post 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?
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!
User avatar
Adendum
 
 
Posts: 725
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Creating a menu extension - sync with Site Manager??

Post by Adendum »

Forget this one!! 8)

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!!
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!
User avatar
BaconFries
 
 
Posts: 5325
Joined: Thu Aug 16, 2007 7:32 pm

Re: Creating a menu extension - sync with Site Manager??

Post 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......
User avatar
Adendum
 
 
Posts: 725
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Creating a menu extension - sync with Site Manager??

Post 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. ;)
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!
Post Reply